Class ResourceTable


  • public class ResourceTable
    extends java.lang.Object
    A class for storing the new-executable resource table. A resource table contains all of the supported types of resources.
    • Method Detail

      • getAlignmentShiftCount

        public short getAlignmentShiftCount()
        Returns the alignment shift count. Some resources offsets and lengths are stored bit shifted.
        Returns:
        the alignment shift count
      • getResourceTypes

        public ResourceType[] getResourceTypes()
        Returns the array of resource types.
        Returns:
        the array of resource types
      • getResourceNames

        public ResourceName[] getResourceNames()
        Returns the array of resources names.
        Returns:
        the array of resources names
      • getIndex

        public short getIndex()
        Returns the byte index where the resource table begins, relative to the beginning of the file.
        Returns:
        the byte index where the resource table begins