JAligner

jaligner.ui.filechooser
Class FileChooserJNLP

java.lang.Object
  extended byjaligner.ui.filechooser.FileChooser
      extended byjaligner.ui.filechooser.FileChooserJNLP

public class FileChooserJNLP
extends FileChooser

Opens and saves files.

Author:
Ahmed Moustafa (ahmed@users.sf.net)

Field Summary
 
Fields inherited from class jaligner.ui.filechooser.FileChooser
BUFFER_SIZE
 
Constructor Summary
FileChooserJNLP()
           
 
Method Summary
 NamedInputStream open()
          Shows a dialog to select a file.
 boolean save(java.io.InputStream is, java.lang.String fileName)
          Saves an input stream to a file.
 
Methods inherited from class jaligner.ui.filechooser.FileChooser
getUserDirectory, setUserDirectory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileChooserJNLP

public FileChooserJNLP()
Method Detail

open

public NamedInputStream open()
                      throws FileChooserException
Shows a dialog to select a file.

Specified by:
open in class FileChooser
Returns:
InputStream
Throws:
FileChooserException

save

public boolean save(java.io.InputStream is,
                    java.lang.String fileName)
             throws FileChooserException
Saves an input stream to a file.

Specified by:
save in class FileChooser
Parameters:
is -
fileName -
Returns:
Boolean
Throws:
FileChooserException

JAligner

Ahmed Moustafa (ahmed@users.sf.net)SourceForge.net
The source code of JAligner is licensed under The GNU General Public License (GPL)