|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--venice.Command | +--venice.SaveCommand
SaveCommand implements saving of .venice-files which contains both the GXL model and the visualization layout. SaveCommand is an abstract class which can save the file to any OutputStream. Subclasses of this command must implement getOutputStream() method which opens output stream for writing.
Fields inherited from class venice.Command |
stAppModule |
Constructor Summary | |
SaveCommand()
|
Method Summary | |
void |
execute()
This abstract method is overridden in subclasses. |
protected abstract java.io.OutputStream |
getOutputStream()
returns OutputStream where the data can be saved. getOutputStream() may cancel saving operation by returning a null. |
Methods inherited from class venice.Command |
getAppModule, setAppModule |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public SaveCommand()
Method Detail |
protected abstract java.io.OutputStream getOutputStream()
public void execute()
Command
Command
is supposed to do.
Users of these subclasses
can rely on the Command
interface, and just
call execute()
when they want the given
subclass to perform an operation.
execute
in class Command
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |