|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface RemoteFileServiceModelInterface
RemoteFileServiceModelInterface defines the interface needed for service models to be able to communicate with the
RemoteFileServerModel. The RemoteFileServerModel communicates with the user interface portion of the RemoteFileSelector.
A service model is the connection between the RemoteFileServerModel and the actual file system.
RemoteFileServerModel,
| Method Summary | |
|---|---|
abstract void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds the model as a PropertyChangeListener. |
abstract java.lang.String |
combineDirectoryPathAndFileName(java.lang.String path,
java.lang.String name)
Concatenates a path and a folder name. |
abstract java.lang.String |
getDirectoryPath(java.lang.String path)
Returns a path for the file locations. |
abstract java.util.List |
getFiles(java.lang.String path)
Returns the collection of files for the file system path that is being displayed. |
abstract java.util.List |
getFilterValues()
Returns the currently set values to filter on. |
abstract java.lang.String |
getFullyQualifiedPath(java.lang.String path,
java.lang.String fileName)
Returns the file system path. |
abstract java.lang.String |
getTopLevelName()
Returns a name used to identify the top level in the view. |
abstract void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes the model as a PropertyChangeListener. |
abstract void |
setFilterValues(java.util.List filterValues)
Sets a list of values to be used for filtering file types or extensions. |
abstract java.lang.String[] |
splitDirectoryPathAndFileName(java.lang.String path)
Parses a given path into the parent folder and the file name. |
| Method Detail |
|---|
java.util.List getFiles(java.lang.String path)
path - the file system path.
RemoteFileMetadataInterface,
IFileServiceFileMetadatajava.lang.String[] splitDirectoryPathAndFileName(java.lang.String path)
path - the path to be parsed
java.lang.String combineDirectoryPathAndFileName(java.lang.String path,
java.lang.String name)
path - the parent pathname - the folder name to be appended
java.lang.String getTopLevelName()
java.lang.String getFullyQualifiedPath(java.lang.String path,
java.lang.String fileName)
path - the original path that needs to be fully qualified
java.lang.String getDirectoryPath(java.lang.String path)
path - the fully qualified path
void setFilterValues(java.util.List filterValues)
filterValues - a List of String items with the valuesgetFilterValues()java.util.List getFilterValues()
setFilterValues(List)void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener - void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener -
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||