Package ghidra.program.model.util
Interface StringPropertyMap
- All Superinterfaces:
PropertyMap<String>
- All Known Implementing Classes:
StringPropertyMapDB
Property manager that deals with properties that are of
String type.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
Add a map-specific value type to the specified addressvoid
Add a String value at the specified address.Get the String value at the given address.Returns property value class.Methods inherited from interface ghidra.program.model.util.PropertyMap
get, getFirstPropertyAddress, getLastPropertyAddress, getName, getNextPropertyAddress, getPreviousPropertyAddress, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getSize, hasProperty, intersects, intersects, moveRange, remove, removeRange
-
Method Details
-
getValueClass
Description copied from interface:PropertyMap
Returns property value class.- Specified by:
getValueClass
in interfacePropertyMap<String>
- Returns:
- property value class or null for an unsupported map type
-
add
Add a String value at the specified address.- Parameters:
addr
- address for the propertyvalue
- value of the property- Throws:
TypeMismatchException
- thrown if the property does not have String values.
-
getString
Get the String value at the given address.- Parameters:
addr
- the address from where to get the String value- Returns:
- String or null if property not found at addr.
-
add
Description copied from interface:PropertyMap
Add a map-specific value type to the specified address- Specified by:
add
in interfacePropertyMap<String>
- Parameters:
addr
- property addressvalue
- property value or null (null remove value at address)
-