Package ghidra.util

Class XmlProgramUtilities


  • public class XmlProgramUtilities
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Address parseAddress​(AddressFactory factory, java.lang.String addrString)
      Parses the address string.
      static java.lang.String toString​(Address addr)
      Creates a string representation of the specifed address.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XmlProgramUtilities

        public XmlProgramUtilities()
    • Method Detail

      • toString

        public static java.lang.String toString​(Address addr)
        Creates a string representation of the specifed address.
        Parameters:
        addr - the address to convert to a string
        Returns:
        the string representation of the address
      • parseAddress

        public static Address parseAddress​(AddressFactory factory,
                                           java.lang.String addrString)
        Parses the address string.
        Parameters:
        factory - the address factory
        addrString - the address string to parse
        Returns:
        the parsed address, or null