Package ghidra.program.model.util
Interface StringPropertyMap
-
- All Superinterfaces:
PropertyMap
- All Known Implementing Classes:
DefaultStringPropertyMap
,StringPropertyMapDB
public interface StringPropertyMap extends PropertyMap
Property manager that deals with properties that are of String type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(Address addr, java.lang.String value)
Add a String value at the specified address.java.lang.String
getString(Address addr)
Get the String value at the given address.-
Methods inherited from interface ghidra.program.model.util.PropertyMap
applyValue, getFirstPropertyAddress, getLastPropertyAddress, getName, getNextPropertyAddress, getObject, getPreviousPropertyAddress, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getSize, hasProperty, intersects, intersects, moveRange, remove, removeRange
-
-
-
-
Method Detail
-
add
void add(Address addr, java.lang.String value)
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
java.lang.String getString(Address addr)
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.
-
-