Class FileTextReadable

  • All Implemented Interfaces:
    TextReadable

    @Deprecated
    public class FileTextReadable
    extends java.lang.Object
    implements TextReadable
    Deprecated.
    Use PathTextReadable instead
    An implementation of TextReadable which delegates to a File.
    Author:
    Fabrizio Giudici
    • Constructor Detail

      • FileTextReadable

        public FileTextReadable()
        Deprecated.
    • Method Detail

      • openReader

        @Nonnull
        public java.io.Reader openReader()
                                  throws java.io.IOException
        Deprecated.
        Returns a Reader to read from the object.
        Specified by:
        openReader in interface TextReadable
        Returns:
        the Reader
        Throws:
        java.io.IOException - if the operation can't be performed