class ExcelWriter extends ExcelWriterBase
A class that helps writing data sheets to Excel workbooks.
- Alphabetic
- By Inheritance
- ExcelWriter
- ExcelWriterBase
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ExcelWriter(existingWorkbook: Option[XSSFWorkbook] = None)
- existingWorkbook
An optional existing workbook to use.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val existingWorkbook: Option[XSSFWorkbook]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def save(outputStream: OutputStream): Unit
Writes the workbook to an output location.
Writes the workbook to an output location.
- outputStream
The stream the workbook is written to.
- Definition Classes
- ExcelWriterBase
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val workbook: SXSSFWorkbook
- Definition Classes
- ExcelWriter → ExcelWriterBase
- def writeSheet(name: String, content: List[Array[String]]): Unit
Writes the given content to a new sheet with given name.
Writes the given content to a new sheet with given name.
- name
The name of the sheet to write.
- content
The rows of content to write.
- Definition Classes
- ExcelWriterBase
- def writeSheet(name: String, csv: CSVReader): Unit
Writes the content read from a csv source to a new sheet with given name.
Writes the content read from a csv source to a new sheet with given name.
- name
The name of the sheet to write.
- csv
The reader for the csv source.
- Definition Classes
- ExcelWriterBase
- def writeSheet(file: FileContent): Unit
Writes the content of a file to new sheet named with the file name.
Writes the content of a file to new sheet named with the file name.
- file
The file to write.
- Definition Classes
- ExcelWriterBase
- def writeSheetMatchProduct[T](name: String, content: Iterable[Product])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit
Writes the given content to a new sheet with given name.
Writes the given content to a new sheet with given name. Supports all case classes and automatically defines a header from the class fields.
- name
The name of the sheet to write.
- content
The rows of content to write.
- Definition Classes
- ExcelWriterBase
- def writeSheetMatchTypes(name: String, content: List[Array[Any]]): Unit
Writes the given content to a new sheet with given name.
Writes the given content to a new sheet with given name. Supports types
Double,
Int, Boolean and String.
- name
The name of the sheet to write.
- content
The rows of content to write.
- Definition Classes
- ExcelWriterBase
- def writeValue(row: Row, value: Any, col: Int): Any
- Attributes
- protected
- Definition Classes
- ExcelWriterBase
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)