Package org.openstreetmap.josm.io
Interface AbstractReader.ParserWorker
-
- Enclosing class:
- AbstractReader
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface protected static interface AbstractReader.ParserWorker
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(java.io.InputStreamReader ir)
Effectively parses the file, depending on the format (XML, JSON, etc.)
-
-
-
Method Detail
-
accept
void accept(java.io.InputStreamReader ir) throws IllegalDataException, java.io.IOException
Effectively parses the file, depending on the format (XML, JSON, etc.)- Parameters:
ir
- input stream reader- Throws:
IllegalDataException
- in case of invalid datajava.io.IOException
- in case of I/O error
-
-