|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.core.SystemRemoteObjectMatcher
org.eclipse.rse.subsystems.files.core.util.SystemRemoteFileMatcher
public class SystemRemoteFileMatcher
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.
ISystemRemoteElementAdapter
Field Summary | |
---|---|
static String |
category
|
static String |
fileType
|
static String |
folderType
|
static SystemRemoteFileMatcher |
inst
|
static SystemRemoteFileMatcher |
instFiles
|
static SystemRemoteFileMatcher |
instFolders
|
Fields inherited from class org.eclipse.rse.core.SystemRemoteObjectMatcher |
---|
STAR_SYMBOL, STAR_SYMBOL_LEN, STAR_SYMBOL2 |
Constructor Summary | |
---|---|
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(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) . |
Method Summary | |
---|---|
static SystemRemoteFileMatcher |
getFileOnlyMatcher()
Return an instance that will match on any file of any name from any remote system |
static SystemRemoteFileMatcher |
getFileOrFolderMatcher()
Return an instance that will match on any file or folder of any name from any remote system |
static SystemRemoteFileMatcher |
getFolderOnlyMatcher()
Return an instance that will match on any folder of any name from any remote system |
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 |
Field Detail |
---|
public static SystemRemoteFileMatcher inst
public static SystemRemoteFileMatcher instFiles
public static SystemRemoteFileMatcher instFolders
public static final String category
public static final String fileType
public static final String folderType
Constructor Detail |
---|
public SystemRemoteFileMatcher(String nameFilter)
SystemRemoteFileMatcher(String, boolean)
.
public SystemRemoteFileMatcher(String nameFilter, boolean foldersOnly)
SystemRemoteFileMatcher(String)
.
Method Detail |
---|
public static SystemRemoteFileMatcher getFileOrFolderMatcher()
public static SystemRemoteFileMatcher getFolderOnlyMatcher()
public static SystemRemoteFileMatcher getFileOnlyMatcher()
|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |