com.horstmann.violet.framework
Interface FileService.Open

Enclosing class:
FileService

public static interface FileService.Open

An Open object encapsulates the stream and name of the file that the user selected for opening.


Method Summary
 java.io.InputStream getInputStream()
          Gets the input stream corresponding to the user selection.
 java.lang.String getName()
          Gets the name of the file that the user selected.
 

Method Detail

getInputStream

java.io.InputStream getInputStream()
                                   throws java.io.IOException
Gets the input stream corresponding to the user selection.

Returns:
the input stream
Throws:
java.io.IOException

getName

java.lang.String getName()
                         throws java.io.IOException
Gets the name of the file that the user selected.

Returns:
the file name
Throws:
java.io.IOException