public interface ReaderBuilder<H extends Header,R extends Row>
| Modifier and Type | Method and Description |
|---|---|
DataContainer<H,R> |
fromFile(File f)
Creates a data container from a file.
|
DataContainer<H,R> |
fromResource(String content,
ClassLoader classLoader)
Creates a data container from a resoruce
|
DataContainer<H,R> |
fromString(String content)
Creates a data container from a string
|
void |
loadAttributes(Map<String,String> attributes)
Loads a map of attributes.
|
void loadAttributes(Map<String,String> attributes) throws Exception
attributes - map of attributesException - throws an exception if any error occursDataContainer<H,R> fromFile(File f)
f - file to be readDataContainer<H,R> fromString(String content)
content - string content used to create the data containerDataContainer<H,R> fromResource(String content, ClassLoader classLoader)
content - resource pathclassLoader - class loaderCopyright © 2017. All rights reserved.