public class ExcelProcessor<T> extends Object
| Constructor and Description |
|---|
ExcelProcessor(Class<T> beanClass) |
| Modifier and Type | Method and Description |
|---|---|
ExcelProcessor<T> |
column(Column<?,?> c) |
List<MetaInfo> |
getBeanInfo() |
List<ImportError> |
getErrors() |
boolean |
hasErrors() |
List<T> |
read(File file) |
List<T> |
read(InputStream stream) |
ExcelProcessor<T> |
worksheet(String name) |
void |
write(List<T> beans,
File file) |
void |
write(List<T> beans,
OutputStream out) |
public List<T> read(File file) throws IOException
IOExceptionpublic List<T> read(InputStream stream) throws IOException
IOExceptionpublic void write(List<T> beans, File file) throws WriteException, IOException
WriteExceptionIOExceptionpublic void write(List<T> beans, OutputStream out) throws WriteException, IOException
WriteExceptionIOExceptionpublic ExcelProcessor<T> column(Column<?,?> c)
public ExcelProcessor<T> worksheet(String name)
public boolean hasErrors()
public List<ImportError> getErrors()
Copyright © 2018. All rights reserved.