Class NamedDataInputStream

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

    class NamedDataInputStream
    extends java.io.DataInputStream
    This class is used to associate a filename with a DataInputStream The host platform's file naming conventions are assumed for the filename.
    Version:
    1.16, 07/27/07
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String fullyQualifiedFileName
      The name of the file associated with the DataInputStream.
      boolean inZipFile
      Indicates whether or not the file is contained in a .zip file.
      • Fields inherited from class java.io.FilterInputStream

        in
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected NamedDataInputStream​(java.io.InputStream in, java.lang.String fullyQualifiedName, boolean inZipFile)  
    • Method Summary

      • 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.lang.Object

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

      • fullyQualifiedFileName

        public java.lang.String fullyQualifiedFileName
        The name of the file associated with the DataInputStream.
      • inZipFile

        public boolean inZipFile
        Indicates whether or not the file is contained in a .zip file.
    • Constructor Detail

      • NamedDataInputStream

        protected NamedDataInputStream​(java.io.InputStream in,
                                       java.lang.String fullyQualifiedName,
                                       boolean inZipFile)