Class JxlsStreaming

java.lang.Object
org.jxls.builder.JxlsStreaming

public class JxlsStreaming extends Object
You have 4 options for streaming: STREAMING_OFF, STREAMING_ON, AUTO_DETECT or streamingWithGivenSheets(...)
  • Field Details

    • STREAMING_OFF

      public static final JxlsStreaming STREAMING_OFF
    • STREAMING_ON

      public static final JxlsStreaming STREAMING_ON
      Use standard streaming for all sheets
    • AUTO_DETECT

      public static final JxlsStreaming AUTO_DETECT
      All sheets where a note contain exactly sheetStreaming="true" will be used for streaming.
  • Method Details

    • streamingWithGivenSheets

      public static JxlsStreaming streamingWithGivenSheets(Set<String> sheetNames)
    • streamingWithGivenSheets

      public static JxlsStreaming streamingWithGivenSheets(String... sheetNames)
    • isStreaming

      public boolean isStreaming()
    • getSheetNames

      public Set<String> getSheetNames()
    • isAutoDetect

      public boolean isAutoDetect()
    • withOptions

      public JxlsStreaming withOptions(int rowAccessWindowSize, boolean compressTmpFiles, boolean useSharedStringsTable)
      Not often used streaming options
      Parameters:
      rowAccessWindowSize - default 100, see SXSSFWorkbook.DEFAULT_WINDOW_SIZE
      compressTmpFiles - default false
      useSharedStringsTable - default false
      Returns:
      new JxlsStreaming object
    • getRowAccessWindowSize

      public int getRowAccessWindowSize()
    • isCompressTmpFiles

      public boolean isCompressTmpFiles()
    • isUseSharedStringsTable

      public boolean isUseSharedStringsTable()