Class ResourceStringInfo


  • public class ResourceStringInfo
    extends java.lang.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, java.lang.String string, int length)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getAddress()
      Returns the adjusted address where the resource exists.
      int getLength()
      Returns the length of the resource.
      java.lang.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 Detail

      • ResourceStringInfo

        public ResourceStringInfo​(int address,
                                  java.lang.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 Detail

      • getAddress

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

        public java.lang.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