org.biojava.spice.gui
Class SaveLoadSession
java.lang.Object
org.biojava.spice.gui.SaveLoadSession
- public class SaveLoadSession
- extends Object
- Author:
- Andreas Prlic
|
Method Summary |
void |
feature2XML(Feature f,
XMLWriter xw)
|
void |
fromXML(File f)
parse the serialized session.spice file |
void |
load()
load a previously saved session into SPICE |
void |
save()
save current SPICE session |
void |
toXML(File f)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SaveLoadSession
public SaveLoadSession(SpiceApplication parent)
save
public void save()
- save current SPICE session
load
public void load()
- load a previously saved session into SPICE
fromXML
public void fromXML(File f)
throws FileNotFoundException,
SAXException,
IOException,
ParserConfigurationException
- parse the serialized session.spice file
- Parameters:
f - a file
- Throws:
FileNotFoundException
SAXException
IOException
ParserConfigurationException
toXML
public void toXML(File f)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
feature2XML
public void feature2XML(Feature f,
XMLWriter xw)
throws IOException
- Throws:
IOException