Package ghidra.app.util.bin.format.pe.resource

# Class ResourceStringInfo

java.lang.Object
ghidra.app.util.bin.format.pe.resource.ResourceStringInfo

public class ResourceStringInfo extends Object
A class to hold the information extracted from a resource data directory. NOTE: This class is simply a storage class created for parsing the PE header data structures. It does not map back to a PE data data structure.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ResourceStringInfo(int address, String string, int length)`
  Constructor.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getAddress()`
  Returns the adjusted address where the resource exists.
  `int`
  `getLength()`
  Returns the length of the resource.
  `String`
  `getString()`
  Returns the resource string.

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

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

- ## Constructor Details

  - ### ResourceStringInfo

    public ResourceStringInfo(int address, String string, int length)
    Constructor.
    Parameters:
      `address` - the adjusted address where the resource exists
      `string` - the resource string
      `length` - the length of the resource

- ## Method Details

  - ### getAddress

    public int getAddress()
    Returns the adjusted address where the resource exists.
    Returns:
      the adjusted address where the resource exists

  - ### getString

    public String getString()
    Returns the resource string.
    Returns:
      the resource string

  - ### getLength

    public int getLength()
    Returns the length of the resource.
    Returns:
      the length of the resource