org.eclipse.rse.services.local.search
Class LocalSearchHandler
java.lang.Object
org.eclipse.rse.services.local.search.LocalSearchHandler
- All Implemented Interfaces:
- ISearchHandler
- public class LocalSearchHandler
- extends Object
- implements ISearchHandler
Class used to collect local search results.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_alreadySearched
protected HashSet _alreadySearched
_searchConfig
protected IHostSearchResultConfiguration _searchConfig
_theFile
protected File _theFile
_depth
protected int _depth
_fs
protected IFileService _fs
_isDone
protected boolean _isDone
_isCancelled
protected boolean _isCancelled
_theRmtFile
protected LocalHostFile _theRmtFile
_searchString
protected SystemSearchString _searchString
_stringMatcher
protected SystemSearchStringMatcher _stringMatcher
_isFileSearch
protected boolean _isFileSearch
_fileNameMatcher
protected SystemSearchFileNameMatcher _fileNameMatcher
_classificationString
protected String _classificationString
LocalSearchHandler
public LocalSearchHandler(IHostSearchResultConfiguration searchConfig,
IFileService fileService)
- Constructor for local search handler.
- Parameters:
searchConfig - a search configuration.
search
public void search(IProgressMonitor monitor)
- Specified by:
search in interface ISearchHandler
isDone
public boolean isDone()
cancel
public void cancel(IProgressMonitor monitor)
- Specified by:
cancel in interface ISearchHandler
doesFilePatternMatch
protected boolean doesFilePatternMatch(String compareStr)
doesClassificationMatch
protected boolean doesClassificationMatch(String absolutePath)
- Returns whether classification matches.
- Parameters:
absolutePath - the absolute path of the file for which we want to check
classification.
- Returns:
true if the classification matches,
false otherwise.
Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.