|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jeuclid.app.mathviewer.FileIO
public final class FileIO
File I/O support functionality for MathViewer.
Method Summary | |
---|---|
static FileIO |
getInstance()
Retrieve the FileIO object. |
Document |
loadFile(Frame parent,
File selectedFile)
Load the given file. |
void |
saveDocument(Frame parent,
Node document,
MutableLayoutContext params)
Save a document. |
File |
selectFileToOpen(Frame parent)
Select a file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static FileIO getInstance()
public File selectFileToOpen(Frame parent)
parent
- Frame of the parent
public Document loadFile(Frame parent, File selectedFile)
selectedFile
- File object to load.parent
- Frame of parent window
public void saveDocument(Frame parent, Node document, MutableLayoutContext params)
parent
- frame of parent.document
- the MML document to save.params
- rendering parameters.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |