org.emboss.jemboss.gui.filetree
Class FileSaving

java.lang.Object
  extended byorg.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
 
Constructor Summary
FileSaving(javax.swing.JTextPane seqText, byte[] pngContent, JembossParams mysettings)
           
 
Method Summary
 java.lang.String getFileName()
           
 java.lang.String getPath()
           
 boolean writeOK()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

Constructor Detail

FileSaving

public FileSaving(javax.swing.JTextPane seqText,
                  byte[] pngContent,
                  JembossParams mysettings)
Parameters:
seqText - text pane to save content from
pngContent - png content
mysettings - jemboss properties
Method Detail

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