|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface FileProxy
Implements secure application access to file properties and data. JSecureFileChooser returns file proxies upon successful user selection.
| Field Summary | |
|---|---|
static long |
MAX_FILE_LENGTH
The maximum file size that can be written to a local file. |
| Method Summary | |
|---|---|
java.io.InputStream |
getInputStream()
Provides secure access to the file input stream if the user selected the file for reading. |
long |
getLength()
Provides secure access to the file selected by the user. |
java.lang.String |
getName()
Provides secure access to the name of the file selected by the user. |
java.io.OutputStream |
getOutputStream()
Provides secure access to the file output stream if the user selected the file for writing. |
| Field Detail |
|---|
static final long MAX_FILE_LENGTH
| Method Detail |
|---|
java.lang.String getName()
java.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOException - If the file selected by the user can not be opened for reading.
java.io.OutputStream getOutputStream()
throws java.io.IOException
java.io.IOException - If the file selected by the user can not be opened for writing.long getLength()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||