Class MetadataExtractor.RandomAccessFileReader

  • Enclosing class:
    MetadataExtractor

    public class MetadataExtractor.RandomAccessFileReader
    extends MetadataExtractor.RandomAccessReader
    Provides methods to read specific values from a RandomAccessFile, with a consistent, checked exception structure for issues.
    Author:
    Drew Noakes https://drewnoakes.com
    • Field Detail

      • _file

        private final java.io.RandomAccessFile _file
      • _length

        private final long _length
      • _currentIndex

        private int _currentIndex
      • _baseOffset

        private final int _baseOffset
    • Constructor Detail

      • RandomAccessFileReader

        public RandomAccessFileReader​(java.io.RandomAccessFile file)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • RandomAccessFileReader

        public RandomAccessFileReader​(java.io.RandomAccessFile file,
                                      int baseOffset)
                               throws java.io.IOException
        Throws:
        java.io.IOException