public class FormSaver
extends java.lang.Object
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.
Modifier and Type | Method and Description |
---|---|
static void |
registerPersistenceDelegates(java.util.Map<java.lang.String,java.beans.PersistenceDelegate> map) |
static void |
save(FormModel model,
java.io.OutputStream out)
Saves a form model to the given output stream.
|
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.public static void registerPersistenceDelegates(java.util.Map<java.lang.String,java.beans.PersistenceDelegate> map)
Copyright (C) 2004-2017 FormDev Software GmbH. All rights reserved.