Package it.tidalwave.role.io
Interface TextReadable
-
- All Known Implementing Classes:
PathTextReadable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface TextReadable
The role of an object that can be read as a stream of characters.- Author:
- Fabrizio Giudici
- Status: stable API
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Class<TextReadable>
_TextReadable_
static TextReadable
DEFAULT
A default implementation which throwsIOException
when opening the stream.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.Reader
openReader()
Returns aReader
to read from the object.
-
-
-
Field Detail
-
_TextReadable_
static final java.lang.Class<TextReadable> _TextReadable_
-
DEFAULT
static final TextReadable DEFAULT
A default implementation which throwsIOException
when opening the stream.
-
-