Package eu.bandm.tools.util.files
Class ReaderInput
java.lang.Object
eu.bandm.tools.util.files.ReaderInput
- All Implemented Interfaces:
TextInput
,AutoCloseable
Subclass which uses a Reader for input.
-
Field Details
-
reader
The reader given on construction -
info
The human-read source info, as used in error messages, etc.
-
-
Constructor Details
-
ReaderInput
Only constructor.- Parameters:
reader
- to read frominfo
- the human-read source info, as used in error messages, etc.
-
-
Method Details
-
getReader
Deliver the stream of decoded characters. -
getInfo
Deliver a human readable text for the source identification.
-