|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.hssf.CsvPivotTableUtils
CsvPivotTableUtils
to remove the dependency on POI jars
@Deprecated public class CsvPivotTableUtils
CsvPivotTableUtils
is a class that has methods to export PivotTablePane's content to Character
Separated Values file format.
Constructor Summary | |
---|---|
CsvPivotTableUtils()
Deprecated. |
Method Summary | |
---|---|
static boolean |
export(PivotTablePane pivotTablePane,
OutputStream out)
Deprecated. Exports the pivotTablePane to as CSV file output steam. |
static boolean |
export(PivotTablePane pivotTablePane,
OutputStream out,
HssfTableUtils.CellValueConverter cellValueConverter)
Deprecated. Exports the pivotTablePane to as CSV file output steam. |
static boolean |
export(PivotTablePane pivotTablePane,
OutputStream out,
HssfTableUtils.CellValueConverter cellValueConverter,
char separator)
Deprecated. Exports the pivotTablePane to as CSV file output steam. |
static boolean |
export(PivotTablePane pivotTablePane,
String fileName)
Deprecated. Exports the pivotTablePane to an CSV file. |
static boolean |
export(PivotTablePane pivotTablePane,
String fileName,
HssfTableUtils.CellValueConverter cellValueConverter)
Deprecated. Exports the pivotTablePane to an CSV file. |
static boolean |
export(PivotTablePane pivotTablePane,
String fileName,
HssfTableUtils.CellValueConverter cellValueConverter,
char separator)
Deprecated. Exports the pivotTablePane to an CSV file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CsvPivotTableUtils()
Method Detail |
---|
public static boolean export(PivotTablePane pivotTablePane, String fileName) throws IOException
pivotTablePane
- the pivotTablePane to be exported.fileName
- the CSV file name. It should be the full path to the file.
IOException
- if the write to the file failed.
FileNotFoundException
- if the file exists but is a directory rather than a regular file, does not
exist but cannot be created, or cannot be opened for any other reasonpublic static boolean export(PivotTablePane pivotTablePane, String fileName, HssfTableUtils.CellValueConverter cellValueConverter) throws IOException
pivotTablePane
- the pivotTablePane to be exported.fileName
- the CSV file name. It should be the full path to the file.cellValueConverter
- the converter to convert cell value to the value that can be set to CSV cell.
IOException
- if the write to the file failed.
FileNotFoundException
- if the file exists but is a directory rather than a regular file, does not
exist but cannot be created, or cannot be opened for any other reasonpublic static boolean export(PivotTablePane pivotTablePane, String fileName, HssfTableUtils.CellValueConverter cellValueConverter, char separator) throws IOException
pivotTablePane
- the pivotTablePane to be exported.fileName
- the CSV file name. It should be the full path to the file.cellValueConverter
- the converter to convert cell value to the value that can be set to CSV cell.separator
- the character used to separate the cells. By default, it is a comma.
IOException
- if the write to the file failed.
FileNotFoundException
- if the file exists but is a directory rather than a regular file, does not
exist but cannot be created, or cannot be opened for any other reasonpublic static boolean export(PivotTablePane pivotTablePane, OutputStream out) throws IOException
pivotTablePane
- the pivotTablePane to be exported.out
- the output stream
IOException
- if the write to the file failed.
FileNotFoundException
- if the file exists but is a directory rather than a regular file, does not
exist but cannot be created, or cannot be opened for any other reasonpublic static boolean export(PivotTablePane pivotTablePane, OutputStream out, HssfTableUtils.CellValueConverter cellValueConverter) throws IOException
pivotTablePane
- the pivotTablePane to be exported.out
- the output streamcellValueConverter
- the converter to convert cell value to the value that can be set to CSV cell.
IOException
- if the write to the file failed.
FileNotFoundException
- if the file exists but is a directory rather than a regular file, does not
exist but cannot be created, or cannot be opened for any other reasonpublic static boolean export(PivotTablePane pivotTablePane, OutputStream out, HssfTableUtils.CellValueConverter cellValueConverter, char separator) throws IOException
pivotTablePane
- the pivotTablePane to be exported.out
- the output streamcellValueConverter
- the converter to convert cell value to the value that can be set to CSV cell.separator
- the character used to separate the cells. By default, it is a comma.
IOException
- if the write to the file failed.
FileNotFoundException
- if the file exists but is a directory rather than a regular file, does not
exist but cannot be created, or cannot be opened for any other reason
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |