Class CommentManager
java.lang.Object
com.pnfsoftware.jeb.core.units.impl.AbstractCommentManager<String,IInteractiveUnit>
com.pnfsoftware.jeb.core.units.impl.CommentManager
Basic implementation using String addressing only.
-
Field Summary
Fields inherited from class com.pnfsoftware.jeb.core.units.impl.AbstractCommentManager
COMMENT_FLAG_FAVORITE, INLINE, PRE -
Constructor Summary
ConstructorsConstructorDescriptionCreate a string-address comment manager. -
Method Summary
Modifier and TypeMethodDescriptionaddressToCoord(String address) Convert a string address to a custom coordinate.coordToAddress(String coord) Convert a custom coordinate to a string address.Methods inherited from class com.pnfsoftware.jeb.core.units.impl.AbstractCommentManager
addMetaComment, addMetaComment, addMetaComment2, addMetaComment2, formatComments, formatComments2, formatMetaComment, formatMetaFlags, getComment, getComment2, getComments, getComments2, getInlineComment, getInlineComment2, getMetaCommentObjects, getMetaCommentObjects2, getMetaComments, getMetaComments, getMetaComments2, getMetaComments2, getPreComment, getPreComment2, getPrimary, getPrimary2, getPrimaryMap, getPrimaryMap2, getUnit, putAll, removeMetaComment, removeMetaComment2, setComment, setComment2, setInlineComment, setInlineComment, setInlineComment2, setInlineComment2, setPreComment, setPreComment, setPreComment2, setPreComment2, setPrimary, setPrimary2
-
Constructor Details
-
CommentManager
Create a string-address comment manager.- Parameters:
unit- managed unit
-
-
Method Details
-
addressToCoord
Description copied from class:AbstractCommentManagerConvert a string address to a custom coordinate.- Specified by:
addressToCoordin classAbstractCommentManager<String,IInteractiveUnit> - Parameters:
address- address- Returns:
- coordinate, or null if the address cannot be converted
-
coordToAddress
Description copied from class:AbstractCommentManagerConvert a custom coordinate to a string address.- Specified by:
coordToAddressin classAbstractCommentManager<String,IInteractiveUnit> - Parameters:
coord- coordinate- Returns:
- address, or null if the coordinate cannot be converted
-