JAligner

jaligner.ui.filechooser
Class FileChooserTrusted

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

public class FileChooserTrusted
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
FileChooserTrusted()
           
 
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

FileChooserTrusted

public FileChooserTrusted()
Method Detail

open

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

Specified by:
open in class FileChooser
Returns:
input stream
Throws:
FileChooserException
See Also:
NamedInputStream

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)