|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.emboss.jemboss.gui.filetree.FileSave
Saving files locally
Field Summary | |
private boolean |
canDo
true if it is possible to write to this file |
private java.io.File |
f
file to save |
private boolean |
fExists
true if the file exists |
private boolean |
fileWritten
true if the file has been written |
Constructor Summary | |
FileSave(java.io.File f)
Check if we can/want to save file to disk. |
Method Summary | |
boolean |
doWrite()
|
boolean |
fileExists()
|
void |
fileSaving(java.lang.Object file)
|
boolean |
writeOK()
Whether the fileSaving() operation was successful |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.io.File f
private boolean fileWritten
private boolean fExists
private boolean canDo
Constructor Detail |
public FileSave(java.io.File f)
f
- file to save toMethod Detail |
public void fileSaving(java.lang.Object file)
file
- file contentspublic boolean doWrite()
public boolean writeOK()
public boolean fileExists()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |