|
JAligner | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jaligner.ui.filechooser.FileChooser
Opens and saves files.
Field Summary | |
static int |
BUFFER_SIZE
Buffer size while reading from or write to a file (4 KB) |
Constructor Summary | |
FileChooser()
|
Method Summary | |
java.lang.String |
getUserDirectory()
Gets the current user working directory |
abstract NamedInputStream |
open()
Shows a dialog to select a file |
abstract boolean |
save(java.io.InputStream is,
java.lang.String fileName)
Saves an input stream to a file |
void |
setUserDirectory(java.lang.String userDir)
Sets the user working directory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int BUFFER_SIZE
Constructor Detail |
public FileChooser()
Method Detail |
public abstract NamedInputStream open() throws FileChooserException
FileChooserException
public abstract boolean save(java.io.InputStream is, java.lang.String fileName) throws FileChooserException
is
- fileName
-
FileChooserException
public java.lang.String getUserDirectory()
public void setUserDirectory(java.lang.String userDir)
userDir
- The user directory to set
|
JAligner | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Ahmed Moustafa (ahmed@users.sf.net) | |
The source code of JAligner is licensed under The GNU General Public License (GPL) |