Remote Systems
v6.4.1

com.ibm.etools.systems.core
Class SystemRemoteFileMatcher

java.lang.Object
  extended bycom.ibm.etools.systems.core.SystemRemoteObjectMatcher
      extended bycom.ibm.etools.systems.core.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

Field Summary
static String category
           
static String copyright
           
static String fileType
           
static String folderType
           
static SystemRemoteFileMatcher inst
           
static SystemRemoteFileMatcher instFiles
           
static SystemRemoteFileMatcher instFolders
           
 
Fields inherited from class com.ibm.etools.systems.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 com.ibm.etools.systems.core.SystemRemoteObjectMatcher
appliesTo, endsWithAsterisk, getCategoryFilter, getNameFilter, getSubSubTypeFilter, getSubSystemFactoryCategoryFilter, getSubSystemFactoryId, 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

copyright

public static final String copyright
See Also:
Constant Field Values

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
Constructor Detail

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).

Method Detail

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


Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.