Class ReferenceListEntry

    • Method Detail

      • getID

        public short getID()
        Returns the resource ID.
        Returns:
        the resource ID
      • getName

        public java.lang.String getName()
      • getNameOffset

        public short getNameOffset()
        Returns the offset from the beginning of the resource name list to resource name.
        Returns:
        the offset to the resource name
      • getAttributes

        public byte getAttributes()
        Returns the resource attributes.
        Returns:
        the resource attributes
      • getDataOffset

        public int getDataOffset()
        Returns the offset from the beginning of the resource data to the data for this resource.
        Returns:
        the offset to the resource data
      • getHandle

        public int getHandle()
        Returns the resource handle. This field is reserved.
        Returns:
        the resource handle
      • toDataType

        public DataType toDataType()
                            throws DuplicateNameException,
                                   java.io.IOException
        Description copied from interface: StructConverter
        Returns a structure datatype representing the contents of the implementor of this interface.

        For example, given:

         class A {
             int foo;
             double bar;
         }
         

        The return value should be a structure data type with two data type components; an INT and a DOUBLE. The structure should contain field names and, if possible, field comments.

        Specified by:
        toDataType in interface StructConverter
        Returns:
        returns a structure datatype representing the implementor of this interface
        Throws:
        DuplicateNameException - when a datatype of the same name already exists
        java.io.IOException
        See Also:
        StructureDataType