public final class ExporterUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static File |
getCsvFile(Table t,
File f,
String charsetName,
String separator) |
static File |
getCsvFile(Table t,
String fileName,
String charsetName,
String separator) |
static File |
getMoreThanOneSheetXlsFile(List<Table> t,
String file) |
static File |
getMoreThanOneSheetXlsxFile(List<Table> t,
String file) |
static File |
getXlsFile(Table t,
String file) |
static File |
getXlsxFile(Table t,
String file) |
static void |
writeCsvToOutput(Table t,
String chartsetName,
OutputStream out) |
static void |
writeData(List<Table> table,
FileType fileType,
OutputStream outputStream,
String charset,
String separator) |
static File |
writeDataToFile(List<Table> table,
FileType fileType,
String filename) |
static File |
writeDataToFile(List<Table> table,
FileType fileType,
String filename,
String charset) |
static File |
writeDataToFile(List<Table> table,
FileType fileType,
String filename,
String charset,
String separator) |
static void |
writeFileTxtToOutput(FileTxt file,
String chartsetName,
OutputStream out) |
public static File writeDataToFile(List<Table> table, FileType fileType, String filename) throws IOException, ExporterNotImplementedException
public static File writeDataToFile(List<Table> table, FileType fileType, String filename, String charset) throws IOException, ExporterNotImplementedException
public static File writeDataToFile(List<Table> table, FileType fileType, String filename, String charset, String separator) throws IOException, ExporterNotImplementedException
public static void writeData(List<Table> table, FileType fileType, OutputStream outputStream, String charset, String separator) throws IOException, ExporterNotImplementedException
public static void writeFileTxtToOutput(FileTxt file, String chartsetName, OutputStream out) throws IOException
IOExceptionpublic static File getCsvFile(Table t, String fileName, String charsetName, String separator) throws IOException
IOExceptionpublic static File getCsvFile(Table t, File f, String charsetName, String separator) throws IOException
IOExceptionpublic static File getXlsFile(Table t, String file) throws IOException
IOExceptionpublic static File getMoreThanOneSheetXlsFile(List<Table> t, String file) throws IOException
IOExceptionpublic static File getXlsxFile(Table t, String file) throws IOException
IOExceptionpublic static File getMoreThanOneSheetXlsxFile(List<Table> t, String file) throws IOException
IOExceptionpublic static void writeCsvToOutput(Table t, String chartsetName, OutputStream out) throws IOException
IOExceptionCopyright © 2016 TecSinapse. All rights reserved.