iSeries Remote Systems
v6.0.1

com.ibm.etools.iseries.core
Class ISeriesRemoteFileMatcher

java.lang.Object
  extended bycom.ibm.etools.systems.core.SystemRemoteObjectMatcher
      extended bycom.ibm.etools.iseries.core.ISeriesRemoteFileMatcher

public class ISeriesRemoteFileMatcher
extends com.ibm.etools.systems.core.SystemRemoteObjectMatcher

This class encapsulates all the criteria required to identify a match on a remote iSeries system QSYS file object. You must decide whether it is source or data files or both. To get files that don't have members, use ISeriesRemoteObjectMatcher.

Use the static method getFileTypeMatcher(int fileType) to get an default instance that matches on any file of any name of the required type.

You only need to instantiate this class if you want to match on a file of a particular name or attribute.

See Also:
com.ibm.etools.systems.core.ui.view.ISystemRemoteElement

Field Summary
static String copyright
           
static int DTAFILES
           
static String factoryId
           
static ISeriesRemoteFileMatcher instAnyFiles
           
static ISeriesRemoteFileMatcher instDtaFiles
           
static ISeriesRemoteFileMatcher instSrcFiles
           
static int SRCFILES
           
 
Fields inherited from class com.ibm.etools.systems.core.SystemRemoteObjectMatcher
STAR_SYMBOL, STAR_SYMBOL_LEN, STAR_SYMBOL2
 
Constructor Summary
ISeriesRemoteFileMatcher(String nameFilter, String attribute)
          Constructor.
 
Method Summary
static ISeriesRemoteFileMatcher getFileTypeMatcher()
          Return an instance that will match on any data or src file of any name
static ISeriesRemoteFileMatcher getFileTypeMatcher(boolean srcFilesOnly)
          Return an instance that will match either on any file, or only on src files
static ISeriesRemoteFileMatcher getFileTypeMatcher(int fileType)
          Return an instance that will match on any file of any name, of the given type
 
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

instDtaFiles

public static ISeriesRemoteFileMatcher instDtaFiles

instSrcFiles

public static ISeriesRemoteFileMatcher instSrcFiles

instAnyFiles

public static ISeriesRemoteFileMatcher instAnyFiles

factoryId

public static final String factoryId
See Also:
Constant Field Values

SRCFILES

public static final int SRCFILES
See Also:
Constant Field Values

DTAFILES

public static final int DTAFILES
See Also:
Constant Field Values
Constructor Detail

ISeriesRemoteFileMatcher

public ISeriesRemoteFileMatcher(String nameFilter,
                                String attribute)
Constructor. You only need to instantiate yourself if you want to match on an object of a particular name or attribute (eg, "DSPF36").

Otherwise, call #getObjectTypeMatcher(boolean includeFiles).

Method Detail

getFileTypeMatcher

public static ISeriesRemoteFileMatcher getFileTypeMatcher(int fileType)
Return an instance that will match on any file of any name, of the given type

Parameters:
fileType - Specify one of SRCFILES, DTAFILES

getFileTypeMatcher

public static ISeriesRemoteFileMatcher getFileTypeMatcher()
Return an instance that will match on any data or src file of any name


getFileTypeMatcher

public static ISeriesRemoteFileMatcher getFileTypeMatcher(boolean srcFilesOnly)
Return an instance that will match either on any file, or only on src files


iSeries Remote Systems
v6.0.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.