public class XLSBeanPersistor<E> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
XLSBeanPersistor(Class<E> beanClass,
String... propertyNames) |
| Modifier and Type | Method and Description |
|---|---|
protected PropFormat |
addProperty(String name) |
protected void |
load(File file,
org.databene.commons.Consumer<E> consumer) |
protected void |
save(File file,
String sheetName,
Iterator<E> beanIterator) |
protected PropFormat addProperty(String name)
protected void load(File file, org.databene.commons.Consumer<E> consumer) throws FileNotFoundException, IOException, org.apache.poi.openxml4j.exceptions.InvalidFormatException
FileNotFoundExceptionIOExceptionorg.apache.poi.openxml4j.exceptions.InvalidFormatExceptionprotected void save(File file, String sheetName, Iterator<E> beanIterator) throws IOException
IOExceptionCopyright © 2006–2016 Volker Bergmann. All rights reserved.