Class DefaultSvetovidReader

    • Field Detail

      • reader

        protected java.io.BufferedReader reader
    • Constructor Detail

      • DefaultSvetovidReader

        public DefaultSvetovidReader​(java.io.BufferedReader in)
        Creates a new SvetovidReader that uses the specified reader for input.
        Parameters:
        in - the reader to use for input
      • DefaultSvetovidReader

        public DefaultSvetovidReader​(java.io.Reader in)
        Creates a new SvetovidReader that uses the specified reader for input.
        Parameters:
        in - the reader to use for input
      • DefaultSvetovidReader

        public DefaultSvetovidReader​(java.io.InputStream in)
        Creates a new SvetovidReader that uses the specified input stream for input.
        Parameters:
        in - the input stream to use for input
      • DefaultSvetovidReader

        public DefaultSvetovidReader​(java.lang.String in)
        Creates a new SvetovidReader that uses the specified string for input.
        Parameters:
        in - the string to use for input
    • Method Detail

      • close

        public void close()
                   throws SvetovidIOException
        Description copied from interface: SvetovidReader
        Closes this reader and releases any resources associated with the underlying source. The general contract of close is that it closes the input source. A closed source cannot perform input operations and cannot be reopened.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface SvetovidReader
        Overrides:
        close in class AbstractSvetovidReader
        Throws:
        SvetovidIOException - if an error occurred during the operation.
      • doReadLine

        protected java.lang.String doReadLine()
                                       throws java.io.IOException
        Specified by:
        doReadLine in class AbstractSvetovidReader
        Throws:
        java.io.IOException