|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.tmaj.util.FileManager
public final class FileManager
Utilities for reading and writing files. All exceptions are thrown and error messages are never displayed as these methods are used on the server side as well as the client.
Method Summary | |
---|---|
static java.io.File |
promptToOpenFile(javax.swing.JFileChooser fileChooser,
java.awt.Component component,
Preference preference)
Open a file or directory |
static java.io.File[] |
promptToOpenFiles(javax.swing.JFileChooser fileChooser,
java.awt.Component component,
Preference preference)
|
static java.io.File |
promptToSaveFile(javax.swing.JFileChooser fileChooser,
java.awt.Component component,
Preference preference,
java.lang.String extention)
Saves a file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.io.File[] promptToOpenFiles(javax.swing.JFileChooser fileChooser, java.awt.Component component, Preference preference)
public static java.io.File promptToOpenFile(javax.swing.JFileChooser fileChooser, java.awt.Component component, Preference preference)
public static java.io.File promptToSaveFile(javax.swing.JFileChooser fileChooser, java.awt.Component component, Preference preference, java.lang.String extention)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |