edu.stanford.rsl.konrad.utils
Class FileUtil

java.lang.Object
  extended by edu.stanford.rsl.konrad.utils.FileUtil

public abstract class FileUtil
extends java.lang.Object


Constructor Summary
FileUtil()
           
 
Method Summary
static java.lang.String myFileChoose(java.lang.String filter, boolean save)
          Wrapper for the Swing FileChooser
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtil

public FileUtil()
Method Detail

myFileChoose

public static java.lang.String myFileChoose(java.lang.String filter,
                                            boolean save)
                                     throws java.lang.Exception
Wrapper for the Swing FileChooser

Parameters:
filter - StringFileFilter for the file type
save - if true a save dialog is shown
Returns:
absolute path of the file
Throws:
java.lang.Exception - if the action is cancelled