|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface FileSelectionInterface
FileSelectionInterface is implemented by prompt types which allow a user to specify prompts from a logical server. It allows the specification of the logical server name, the file types supported, and the file selection mode to be used.
| Field Summary | |
|---|---|
static int |
DIRECTORIES_ONLY
Used to indicate the selection mode. |
static int |
FILES_AND_DIRECTORIES
Deprecated. use FILES_ONLY or DIRECTORIES_ONLY |
static int |
FILES_ONLY
Used to indicate the selection mode. |
| Method Summary | |
|---|---|
int |
getFileSelectionMode()
Returns whether files, directories, or file and directories are allowed to be selected. |
java.util.List<java.lang.String> |
getFileTypes()
Returns the list of file types to allow the user to select from. |
java.lang.String |
getLogicalServerName()
Returns the name of the logical server |
| Field Detail |
|---|
static final int FILES_AND_DIRECTORIES
FILES_AND_DIRECTORIES is the active selection mode.
static final int FILES_ONLY
FILES_ONLY is the active selection mode.
This is the default selection mode.
static final int DIRECTORIES_ONLY
DIRECTORIES_ONLY is the active selection mode.
| Method Detail |
|---|
java.lang.String getLogicalServerName()
java.util.List<java.lang.String> getFileTypes()
int getFileSelectionMode()
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||