Package ghidra.app.util.bin.format.ne

# Class ResourceTable

java.lang.Object
ghidra.app.util.bin.format.ne.ResourceTable

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `short`
  `getAlignmentShiftCount()`
  Returns the alignment shift count.
  `short`
  `getIndex()`
  Returns the byte index where the resource table begins, relative to the beginning of the file.
  `ResourceName[]`
  `getResourceNames()`
  Returns the array of resources names.
  `ResourceType[]`
  `getResourceTypes()`
  Returns the array of resource types.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### 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