Package it.tidalwave.role.io.spi
Class FileTextReadable
- java.lang.Object
-
- it.tidalwave.role.io.spi.FileTextReadable
-
- All Implemented Interfaces:
TextReadable
@Deprecated public class FileTextReadable extends java.lang.Object implements TextReadable
Deprecated.Use PathTextReadable insteadAn implementation ofTextReadable
which delegates to aFile
.- Author:
- Fabrizio Giudici
-
-
Field Summary
-
Fields inherited from interface it.tidalwave.role.io.TextReadable
_TextReadable_, DEFAULT
-
-
Constructor Summary
Constructors Constructor Description FileTextReadable()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.io.Reader
openReader()
Deprecated.Returns aReader
to read from the object.
-
-
-
Method Detail
-
openReader
@Nonnull public java.io.Reader openReader() throws java.io.IOException
Deprecated.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
-
-