|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataReader
Interface that provides a function to retrieve a DataSource.
Method Summary | ||
---|---|---|
|
getSetting(String key)
Returns the setting for the specified key. |
|
DataSource |
read(InputStream input,
Class<? extends Number>... types)
Returns a DataSource that was imported. |
|
|
setSetting(String key,
T value)
Sets the setting for the specified key. |
Method Detail |
---|
DataSource read(InputStream input, Class<? extends Number>... types) throws IOException, ParseException
input
- Input to be read.types
- Number types for the columns of the DataSource.
IOException
- when experiencing an error during file operations.
ParseException
- when the file format is not valid.<T> T getSetting(String key)
T
- return typekey
- key of the setting
<T> void setSetting(String key, T value)
T
- value typekey
- key of the settingvalue
- value of the setting
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |