Class RandomAccessFileInputStream

    • Constructor Detail

      • RandomAccessFileInputStream

        public RandomAccessFileInputStream​(RandomAccessFile file)
        Constructs a new instance configured to leave the underlying file open when this stream is closed.
        Parameters:
        file - The file to stream.
      • RandomAccessFileInputStream

        public RandomAccessFileInputStream​(RandomAccessFile file,
                                           boolean closeOnClose)
        Constructs a new instance.
        Parameters:
        file - The file to stream.
        closeOnClose - Whether to close the underlying file when this stream is closed.