Packages

class ExcelWriter extends ExcelWriterBase

A class that helps writing data sheets to Excel workbooks.

Linear Supertypes
ExcelWriterBase, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExcelWriter
  2. ExcelWriterBase
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ExcelWriter(existingWorkbook: Option[XSSFWorkbook] = None)

    existingWorkbook

    An optional existing workbook to use.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. val existingWorkbook: Option[XSSFWorkbook]
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. 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
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. val workbook: SXSSFWorkbook
    Definition Classes
    ExcelWriterExcelWriterBase
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. def writeValue(row: Row, value: Any, col: Int): Any
    Attributes
    protected
    Definition Classes
    ExcelWriterBase

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from ExcelWriterBase

Inherited from AnyRef

Inherited from Any

Ungrouped