@FunctionalInterface protected static interface AbstractReader.ParserWorker
Modifier and Type | Method and Description |
---|---|
void |
accept(java.io.InputStreamReader ir)
Effectively parses the file, depending on the format (XML, JSON, etc.)
|
void accept(java.io.InputStreamReader ir) throws IllegalDataException, java.io.IOException
ir
- input stream readerIllegalDataException
- in case of invalid datajava.io.IOException
- in case of I/O error