Package it.tidalwave.role.io.spi
Class FileTextReadable
- java.lang.Object
-
- it.tidalwave.role.io.spi.FileTextReadable
-
- All Implemented Interfaces:
TextReadable
public class FileTextReadable extends java.lang.Object implements TextReadable
An implementation ofTextReadable
which delegates to aFile
.- Author:
- Fabrizio Giudici
- Status: stable API
-
-
Field Summary
-
Fields inherited from interface it.tidalwave.role.io.TextReadable
_TextReadable_, DEFAULT
-
-
Constructor Summary
Constructors Constructor Description FileTextReadable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.Reader
openReader()
Returns aReader
to read from the object.
-
-
-
Method Detail
-
openReader
@Nonnull public java.io.Reader openReader() throws java.io.IOException
Returns aReader
to read from the object.- Specified by:
openReader
in interfaceTextReadable
- Returns:
- the
Reader
- Throws:
java.io.IOException
- if the operation can't be performed
-
-