com.ibm.etools.iseries.services.ifs.search
Class IFSSearchHandler
java.lang.Object
com.ibm.etools.iseries.services.ifs.search.IFSSearchHandler
public class IFSSearchHandler
- extends Object
Constructor Summary |
IFSSearchHandler(IHostSearchResultConfiguration config,
IFileService theFile)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_alreadySearched
protected HashSet _alreadySearched
_isCancelled
protected boolean _isCancelled
_isDone
protected boolean _isDone
_depth
protected int _depth
_as400
protected AS400 _as400
_searchString
protected SystemSearchString _searchString
_stringMatcher
protected SystemSearchStringMatcher _stringMatcher
_fileNameMatcher
protected SystemSearchFileNameMatcher _fileNameMatcher
_isFileSearch
protected boolean _isFileSearch
_config
protected IHostSearchResultConfiguration _config
IFSSearchHandler
public IFSSearchHandler(IHostSearchResultConfiguration config,
IFileService theFile)
cancel
public void cancel()
hasSearchedDirectory
protected boolean hasSearchedDirectory(IFSHostFile file)
internalSearch
protected void internalSearch(IFSHostFile theFile,
int depth)
internalSearchWithinFile
protected boolean internalSearchWithinFile(String absPath,
IFSHostFile theFile)
doesFilePatternMatch
protected boolean doesFilePatternMatch(String compareStr)
convert
protected IHostSearchResult[] convert(String absPath,
SystemSearchLineMatch[] lineMatches)
- Converts from system line matches to data elements that will be sent back.
- Parameters:
deObj
- the element representing the file for which matches have been found.absPath
- the absolute path of the file.lineMatches
- an array of line matches, or empty if no matches.
cancel
public void cancel(IProgressMonitor monitor)
search
public void search(IProgressMonitor monitor)
Copyright © 2011 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.