public class MembraneXmlWriter
extends java.lang.Object
Constructor and Description |
---|
MembraneXmlWriter(java.io.File workspaceLocation) |
Modifier and Type | Method and Description |
---|---|
void |
writeMembrane(java.io.File file,
MembraneModel model)
Stores the Data of the passed MembraneModel in a JDOM Document which gets
written into the passed file.
|
public MembraneXmlWriter(java.io.File workspaceLocation)
workspaceLocation
- - The Directory of your workspace in order to write out
relative paths if the file are inside of it. Can be null if
you don't have a workspace or if you want to use absolute
pathspublic void writeMembrane(java.io.File file, MembraneModel model) throws java.io.IOException
file
- writeFilePaths
- - true, if the filepaths should be written, false only for
writing a temporary model for the pdbwritermembraneModel
- java.io.IOException