public class JaxbProjectIO extends Object
Constructor and Description |
---|
JaxbProjectIO() |
Modifier and Type | Method and Description |
---|---|
static Project |
load(InputStream in)
Load a project from an input stream.
|
static void |
save(Project project,
OutputStream out)
Save a project to an output stream.
|
public static Project load(InputStream in) throws JAXBException
in
- the input streamJAXBException
- if reading the alignment failedpublic static void save(Project project, OutputStream out) throws Exception
project
- the project to saveout
- the output streamException
- if converting or writing the alignment failsBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a