org.emboss.jemboss.gui.filetree
Class FileSaving
java.lang.Object
org.emboss.jemboss.gui.filetree.FileSaving
- public class FileSaving
- extends java.lang.Object
Saves to local files from a text pane
Field Summary |
private java.lang.String |
cwd
path to saved file |
private java.lang.String |
fileSelected
file to save to |
private boolean |
lsaved
true if the file is saved ok |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lsaved
private boolean lsaved
- true if the file is saved ok
fileSelected
private java.lang.String fileSelected
- file to save to
cwd
private java.lang.String cwd
- path to saved file
FileSaving
public FileSaving(javax.swing.JTextPane seqText,
byte[] pngContent,
JembossParams mysettings)
- Parameters:
seqText
- text pane to save content frompngContent
- png contentmysettings
- jemboss properties
writeOK
public boolean writeOK()
- Returns:
- true if the file is saved ok
getFileName
public java.lang.String getFileName()
- Returns:
- saved file name
getPath
public java.lang.String getPath()
- Returns:
- path to saved file