|
JFormDesigner 5.0.4 Runtime API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jformdesigner.runtime.FormSaver
public class FormSaver
Saves a form model to a JFormDesigner .jfd file.
This can be used to convert a proprietary form specification to
a JFormDesigner .jfd file. First create a FormModel
from
your form specification, then save the model to a .jfd file.
Method Summary | |
---|---|
static void |
save(FormModel model,
java.io.OutputStream out)
Saves a form model to the given output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void save(FormModel model, java.io.OutputStream out) throws MultiException
A BufferedOutputStream
is used to improve performance.
model
- The form model.out
- The output stream. Closed when this method returns.
java.lang.IllegalArgumentException
- If the output stream is null
.
MultiException
- If a problem occurred when encoding the form model to XML.
|
JFormDesigner 5.0.4 Runtime API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |