|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.demo.store.MacroStore
public class MacroStore
Store providing ability to store/retrieve Macro listings.
| Constructor Summary | |
|---|---|
MacroStore()
|
|
| Method Summary | |
|---|---|
Macro[] |
retrieve(java.io.Reader reader)
Retrieves the Macro listing from the Reader. |
void |
store(Macro[] macros,
java.io.Writer writer)
Stores the Macro into the Writer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MacroStore()
| Method Detail |
|---|
public void store(Macro[] macros,
java.io.Writer writer)
throws java.io.IOException
Macro into the Writer.
macros - Listing of Macro instances to be stored.writer - Writer to receive the serialised content of the
Macro objects.
java.io.IOException - If fails to write Macro objects.
public Macro[] retrieve(java.io.Reader reader)
throws java.io.IOException,
MacroRetrieveException
Macro listing from the Reader.
reader - Reader containing the serialised content of the
Macro objects.
Macro instances.
java.io.IOException - If fails to read content.
MacroRetrieveException - If fails to retrieve the stored Macro.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||