com.groupdocs.parser.data

Class TextReader

  • All Implemented Interfaces:
    Closeable, AutoCloseable, Readable


    public abstract class TextReader
    extends Reader
    Represents a reader that can read a sequential series of characters.
    • Constructor Detail

      • TextReader

        public TextReader()
    • Method Detail

      • readLine

        public abstract String readLine()
        Reads a line of characters from the text reader and returns the data as a string.
        Returns:
        The next line from the reader, or null if all characters have been read.
      • readToEnd

        public abstract String readToEnd()
        Reads all characters from the current position to the end of the text reader and returns them as one string.
        Returns:
        A string that contains all characters from the current position to the end of the text reader.
      • dispose

        public void dispose()
        Releases all resources used by TextReader object.