|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MacroIOProvider is an interface that contains the callback methods to store and retrieve macros for MacroManager. MacroManager does not provide for the persistent storage of macros. MacroManager depends on the object that is using the MacroIOProvider interface to provide persistent storage of macros.
To ensure MacroManager's internal consistency, only one listener can attach to it at a time.
MacroManager
Method Summary | |
java.util.Properties |
getMacro(java.lang.String name)
Retrieves a macro from persistent storage. |
java.util.Vector |
listMacros()
Returns a list of all the macros in persistent storage. |
void |
putMacro(java.util.Properties p)
Saves a macro to persistent storage. |
void |
removeMacro(java.lang.String name)
Deletes a macro from persistent storage. |
Method Detail |
public void putMacro(java.util.Properties p)
p
- A properties object representing the macro to be saved.getMacro(java.lang.String)
public java.util.Properties getMacro(java.lang.String name)
name
- String containing the name of the macro to be retrieved.putMacro(java.util.Properties)
public void removeMacro(java.lang.String name)
name
- String containing the name of the macro to be deleted.public java.util.Vector listMacros()
getMacro(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |