Class X3fDirectory.X3fDirectoryEntry

  • Enclosing class:
    X3fDirectory

    public static class X3fDirectory.X3fDirectoryEntry
    extends Object
    Class for encapsulating data contained in X3F directory entries.
    • Constructor Detail

      • X3fDirectoryEntry

        protected X3fDirectoryEntry​(long dataOffset,
                                    int dataLength,
                                    String dataType)
        Constructor with given values.
        Parameters:
        dataOffset - the given offset
        dataLength - the given data length
        dataType - the given data type
    • Method Detail

      • getDataOffset

        public long getDataOffset()
        Returns the offset from start of file to start of entry's data, in bytes. Offset must be a multiple of 4, so that the data starts on a 32-bit boundary.
        Returns:
        the offset to start of entry's data
      • getDataLength

        public int getDataLength()
        Returns the length of entry's data, in bytes.
        Returns:
        the length of entry's data, in bytes
      • getDataType

        public String getDataType()
        Returns the type of entry.
        Returns:
        the type of entry