Class TokenFileInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.DataInput, java.lang.AutoCloseable, TokenProvider

    public class TokenFileInputStream
    extends java.io.DataInputStream
    implements TokenProvider
    • Field Summary

      • Fields inherited from class java.io.FilterInputStream

        in
    • Constructor Summary

      Constructors 
      Constructor Description
      TokenFileInputStream​(java.io.File outputFile)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Token getNext()  
      Token readToken()  
      • Methods inherited from class java.io.DataInputStream

        read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
      • Methods inherited from class java.io.FilterInputStream

        available, close, mark, markSupported, read, reset, skip
      • Methods inherited from class java.io.InputStream

        nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TokenFileInputStream

        public TokenFileInputStream​(java.io.File outputFile)
                             throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • readToken

        public Token readToken()
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • getNext

        public Token getNext()
                      throws java.io.IOException
        Specified by:
        getNext in interface TokenProvider
        Throws:
        java.io.IOException