public class Importer<T> extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_START_ROW |
| Constructor and Description |
|---|
Importer(Class<T> clazz,
Charset charset,
File file) |
Importer(Class<T> clazz,
Charset charset,
InputStream inputStream,
String filename) |
Importer(Class<T> clazz,
File file) |
Importer(Class<T> clazz,
File file,
Class<?> group) |
Importer(Class<T> clazz,
InputStream inputStream,
String filename) |
Importer(Class<T> clazz,
InputStream inputStream,
String filename,
boolean isLastSheet) |
Importer(Class<T> clazz,
InputStream inputStream,
String filename,
boolean isLastSheet,
Class<?> group) |
Importer(Class<T> clazz,
InputStream inputStream,
String filename,
Class<?> group) |
Importer(Class<T> clazz,
InputStream inputStream,
String filename,
int afterLine,
boolean isLastSheet) |
Importer(Class<T> clazz,
InputStream inputStream,
String filename,
int afterLine,
boolean isLastSheet,
Class<?> group) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
FileType |
getFileType() |
int |
getNumberOfSheets() |
List<T> |
parse() |
void |
setAfterLine(int afterLine) |
void |
setCharset(Charset charset) |
public static final int DEFAULT_START_ROW
public Importer(Class<T> clazz, Charset charset, File file) throws IOException
IOExceptionpublic Importer(Class<T> clazz, Charset charset, InputStream inputStream, String filename) throws IOException
IOExceptionpublic Importer(Class<T> clazz, File file) throws IOException
IOExceptionpublic Importer(Class<T> clazz, File file, Class<?> group) throws IOException
IOExceptionpublic Importer(Class<T> clazz, InputStream inputStream, String filename) throws IOException
IOExceptionpublic Importer(Class<T> clazz, InputStream inputStream, String filename, Class<?> group) throws IOException
IOExceptionpublic Importer(Class<T> clazz, InputStream inputStream, String filename, boolean isLastSheet) throws IOException
IOExceptionpublic Importer(Class<T> clazz, InputStream inputStream, String filename, boolean isLastSheet, Class<?> group) throws IOException
IOExceptionpublic Importer(Class<T> clazz, InputStream inputStream, String filename, int afterLine, boolean isLastSheet) throws IOException
IOExceptionpublic Importer(Class<T> clazz, InputStream inputStream, String filename, int afterLine, boolean isLastSheet, Class<?> group) throws IOException
IOExceptionpublic FileType getFileType()
public void setAfterLine(int afterLine)
public void setCharset(Charset charset)
public int getNumberOfSheets()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2016 TecSinapse. All rights reserved.