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 ofTextReadablewhich 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.ReaderopenReader()Deprecated.Returns aReaderto read from the object.
-
-
-
Method Detail
-
openReader
@Nonnull public java.io.Reader openReader() throws java.io.IOExceptionDeprecated.Returns aReaderto read from the object.- Specified by:
openReaderin interfaceTextReadable- Returns:
- the
Reader - Throws:
java.io.IOException- if the operation can't be performed
-
-