com.sas.prompts.definitions
Interface MutableFileSelectionInterface

All Superinterfaces:
FileSelectionInterface
All Known Implementing Classes:
BaseFileDefinition, InputFileDefinition, OutputFileDefinition

public interface MutableFileSelectionInterface
extends FileSelectionInterface

MutableFileSelectionInterface 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
 
Fields inherited from interface com.sas.prompts.definitions.FileSelectionInterface
DIRECTORIES_ONLY, FILES_AND_DIRECTORIES, FILES_ONLY
 
Method Summary
 void setFileSelectionMode(int fileSelectionMode)
          Sets whether files, directories, or file and directories are allowed to be selected.
 void setFileTypes(java.util.List<java.lang.String> fileTypes)
          Sets the list of file types to allow the user to select from.
 void setLogicalServerName(java.lang.String logicalServerName)
          Sets the name of the logical server
 
Methods inherited from interface com.sas.prompts.definitions.FileSelectionInterface
getFileSelectionMode, getFileTypes, getLogicalServerName
 

Method Detail

setFileTypes

void setFileTypes(java.util.List<java.lang.String> fileTypes)
Sets the list of file types to allow the user to select from.

Parameters:
fileTypes - the list of file types to allow the user to select from.

setLogicalServerName

void setLogicalServerName(java.lang.String logicalServerName)
Sets the name of the logical server

Parameters:
logicalServerName - the name of the logical server

setFileSelectionMode

void setFileSelectionMode(int fileSelectionMode)
Sets whether files, directories, or file and directories are allowed to be selected. The parameter must be one of FILES_AND_DIRECTORIES, FILES_ONLY, or DIRECTORIES_ONLY.

Parameters:
fileSelectionMode - One of FILES_AND_DIRECTORIES, FILES_ONLY, or DIRECTORIES_ONLY.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.