|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.swing.models.remotefileselector.ifileservice.IFileServiceModel
public class IFileServiceModel
IFileServiceModel defines the model that communicates with the IOM IFileService.
com.sas.swing.visuals.remotefileselector.RemoteFileServerModel,
| Field Summary | |
|---|---|
static int |
MVS_HFS_FILESYSTEM
specifies to use the HFS file system when connected to an MVS host |
static int |
MVS_OS_FILESYSTEM
specifies to use the MVS file system when connected to an MVS host |
static java.lang.String |
RB_KEY
identifies the resource key |
| Constructor Summary | |
|---|---|
IFileServiceModel()
Default constructor. |
|
IFileServiceModel(com.sas.iom.SAS.IWorkspace workspace)
Allows specification of a workspace object used to connect to the host system. |
|
IFileServiceModel(com.sas.iom.SAS.IWorkspace workspace,
int fileSystem)
Allows specification of a workspace object used to connect to the host system and, if the host is MVS, the file system to be used. |
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener. |
java.lang.String |
combineDirectoryPathAndFileName(java.lang.String path,
java.lang.String name)
Concatenates a path and a folder or file name. |
java.lang.String |
getDirectoryPath(java.lang.String path)
Returns a path for the file locations. |
java.util.List |
getFiles(java.lang.String path)
Returns the collection of files for file system path that is to be viewed. |
java.util.List |
getFilterValues()
Returns the currently set values to filter on. |
java.lang.String |
getFullyQualifiedPath(java.lang.String currentPath,
java.lang.String fileName)
Returns the file system path. |
java.lang.String |
getTopLevelName()
Returns a name used to identify the top level in the view. |
com.sas.iom.SAS.IWorkspace |
getWorkspace()
Returns the workspace used to communicate with the file system. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a PropertyChangeListener. |
void |
setFilterValues(java.util.List filterValues)
Sets a list of values to be used for filtering file types or extensions. |
void |
setWorkspace(com.sas.iom.SAS.IWorkspace workspace)
Sets the workspace to be used to communicate with the file system. |
java.lang.String[] |
splitDirectoryPathAndFileName(java.lang.String path)
Parses a given path into the parent directory and the folder name. |
| Field Detail |
|---|
public static final java.lang.String RB_KEY
public static int MVS_OS_FILESYSTEM
public static int MVS_HFS_FILESYSTEM
| Constructor Detail |
|---|
public IFileServiceModel()
public IFileServiceModel(com.sas.iom.SAS.IWorkspace workspace)
workspace - the workspace used to connect to the file system
public IFileServiceModel(com.sas.iom.SAS.IWorkspace workspace,
int fileSystem)
workspace - the workspace used to connect to the file systemfileSystem - the file system to be used when connected to an MVS host| Method Detail |
|---|
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener in interface RemoteFileServiceModelInterfacelistener - the PropertyChangeListenerpublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener in interface RemoteFileServiceModelInterfacelistener - the PropertyChangeListener
public java.util.List getFiles(java.lang.String path)
throws java.lang.IllegalArgumentException
getFiles in interface RemoteFileServiceModelInterfacepath - the file system path.
java.lang.IllegalArgumentExceptionRemoteFileMetadataInterface,
IFileServiceFileMetadatapublic java.lang.String[] splitDirectoryPathAndFileName(java.lang.String path)
splitDirectoryPathAndFileName in interface RemoteFileServiceModelInterfacepath - the path to be parsed
public java.lang.String combineDirectoryPathAndFileName(java.lang.String path,
java.lang.String name)
combineDirectoryPathAndFileName in interface RemoteFileServiceModelInterfacepath - the parent pathname - the name to be appended
public java.lang.String getTopLevelName()
getTopLevelName in interface RemoteFileServiceModelInterface
public java.lang.String getFullyQualifiedPath(java.lang.String currentPath,
java.lang.String fileName)
getFullyQualifiedPath in interface RemoteFileServiceModelInterfacecurrentPath - the original path that needs to be fully qualified
public java.lang.String getDirectoryPath(java.lang.String path)
getDirectoryPath in interface RemoteFileServiceModelInterfacepath - the fully qualified path
public void setFilterValues(java.util.List filterValues)
setFilterValues in interface RemoteFileServiceModelInterfacefilterValues - a List of String items with the valuesgetFilterValues()public java.util.List getFilterValues()
getFilterValues in interface RemoteFileServiceModelInterfacesetFilterValues(List)public com.sas.iom.SAS.IWorkspace getWorkspace()
getWorkspace in interface WorkspacePropertyInterfacesetWorkspace(IWorkspace)public void setWorkspace(com.sas.iom.SAS.IWorkspace workspace)
setWorkspace in interface WorkspacePropertyInterfaceworkspace - a workspacegetWorkspace()
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||