public class MembraneXmlReader
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ROOTELEMENTNAME_MEMBRANE |
static java.lang.String[] |
TAGNAMES_MEMBRANE |
| Constructor and Description |
|---|
MembraneXmlReader()
Plain Constructor
|
MembraneXmlReader(StatusDialog dialog)
Contructor with the StatusDialog that will be updated each step
|
| Modifier and Type | Method and Description |
|---|---|
MembraneModel |
getResultingMembraneModel()
Returns the MembraneModel that should have been filled before
|
void |
readMembrane(java.io.File file)
Reads in the passed file and fills the MembraneModel with Data
|
static MembraneMetaInfo |
readPreview(java.io.File file)
Reads in the passed file and returns Info
|
public static final java.lang.String ROOTELEMENTNAME_MEMBRANE
public static final java.lang.String[] TAGNAMES_MEMBRANE
public MembraneXmlReader()
public MembraneXmlReader(StatusDialog dialog)
dialog - public void readMembrane(java.io.File file)
throws java.io.IOException,
org.jdom.JDOMException,
InvalidEntriesException
file - the file to readjava.io.IOExceptionorg.jdom.JDOMExceptionInvalidEntriesException - thrown if at least one Entry got ignoredpublic MembraneModel getResultingMembraneModel()
public static MembraneMetaInfo readPreview(java.io.File file) throws java.io.IOException, org.jdom.JDOMException
file - java.io.IOExceptionorg.jdom.JDOMException