org.eclipse.rse.subsystems.files.core.util
Class SystemRemoteFileMatcher
java.lang.Object
org.eclipse.rse.core.SystemRemoteObjectMatcher
org.eclipse.rse.subsystems.files.core.util.SystemRemoteFileMatcher
-
public class SystemRemoteFileMatcher
- extends
SystemRemoteObjectMatcher
This class encapsulates all the criteria required to identify a match on a remote
system file object.
Use the static method
getFileOrFolderMatcher()
to get an default instance that
matches on any directory of any name.
You only need to instantiate this class if you want to match on a file of a
particular name.
-
See Also:
-
ISystemRemoteElementAdapter
Methods inherited from class org.eclipse.rse.core.
SystemRemoteObjectMatcher
|
appliesTo,
endsWithAsterisk,
getCategoryFilter,
getNameFilter,
getSubSubTypeFilter,
getSubSystemConfigurationCategoryFilter,
getSubSystemConfigurationId,
getSubTypeFilter,
getSystemTypesFilter,
getTypeFilter,
resolveSymbols,
startsWithAsterisk,
stripLeadingAsterisk,
stripTrailingAsterisk
|
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
inst
public static
SystemRemoteFileMatcher inst
instFiles
public static
SystemRemoteFileMatcher instFiles
instFolders
public static
SystemRemoteFileMatcher instFolders
category
public static final
String category
-
See Also:
-
Constant Field Values
fileType
public static final
String fileType
-
See Also:
-
Constant Field Values
folderType
public static final
String folderType
-
See Also:
-
Constant Field Values
SystemRemoteFileMatcher
public SystemRemoteFileMatcher(
String nameFilter)
- Constructor when you want to match on either folders or files
You only need to instantiate yourself if you want to match on files/folder of a
particular name
Otherwise, call
SystemRemoteFileMatcher(String, boolean)
.
SystemRemoteFileMatcher
public SystemRemoteFileMatcher(
String nameFilter,
boolean foldersOnly)
- Constructor when you want to only list files or only list folders
You only need to instantiate yourself if you want to match on files/folder of a
particular name
Otherwise, call
SystemRemoteFileMatcher(String)
.
getFileOrFolderMatcher
public static
SystemRemoteFileMatcher getFileOrFolderMatcher()
- Return an instance that will match on any file or folder of any name from any remote system
-
getFolderOnlyMatcher
public static
SystemRemoteFileMatcher getFolderOnlyMatcher()
- Return an instance that will match on any folder of any name from any remote system
-
getFileOnlyMatcher
public static
SystemRemoteFileMatcher getFileOnlyMatcher()
- Return an instance that will match on any file of any name from any remote system
-
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.