org.eclipse.rse.core.subsystems
Interface IRemoteContainer
-
All Superinterfaces:
-
ISystemContainer
-
All Known Subinterfaces:
-
IRemoteFile,
IVirtualRemoteFile
-
All Known Implementing Classes:
-
AbstractRemoteFile,
RemoteFile,
RemoteFileEmpty,
RemoteFileRoot
-
public interface IRemoteContainer
- extends
ISystemContainer
hasContents
boolean hasContents(
ISystemContentsType contentsType,
String filter)
- Returns whether the object has contents of a particular type associated with the specified filter string.
-
-
-
Parameters:
-
contentsType
- type of contents -
filter
- criteria for contained contents
-
Returns:
-
true
if the object has contents, false
otherwise.
getContents
Object[] getContents(
ISystemContentsType contentsType,
String filter)
- Returns the contents of the object.
-
-
-
Parameters:
-
contentsType
- type of contents -
filter
- criteria for contained contents.
-
Returns:
- an array of contents.
replaceContent
void replaceContent(
Object oldObject,
Object newObject)
-
-
setContents
void setContents(
ISystemContentsType contentsType,
String filter,
Object[] con)
- Sets the contents of this object that match a particular filter
-
-
-
Parameters:
-
contentsType
- type of contents -
filter
- matching criteria for the contained objects -
con
- the contained objects that match the filter
copyContentsTo
void copyContentsTo(
IRemoteContainer container)
- Copies the persistable contents from this one to another one
-
-
-
Parameters:
-
container
- the container to copy contents to
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.