com.ibm.etools.systems.localfilesubsys.impl
Class LocalSearchHandler
java.lang.Object
java.lang.Thread
com.ibm.etools.systems.localfilesubsys.impl.LocalSearchHandler
- All Implemented Interfaces:
- Runnable
- public class LocalSearchHandler
- extends Thread
Class used to collect local search results.
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Copyright
public static final String Copyright
- See Also:
- Constant Field Values
_alreadySearched
protected HashSet _alreadySearched
_searchConfig
protected LocalSearchResultConfigurationImpl _searchConfig
_shell
protected Shell _shell
_theRmtFile
protected RemoteFileImpl _theRmtFile
_theFile
protected File _theFile
_depth
protected int _depth
_fs
protected RemoteFileSubSystem _fs
_isDone
protected boolean _isDone
_isCancelled
protected boolean _isCancelled
_searchString
protected SystemSearchString _searchString
_stringMatcher
protected SystemSearchStringMatcher _stringMatcher
_isFileSearch
protected boolean _isFileSearch
_fileNameMatcher
protected SystemSearchFileNameMatcher _fileNameMatcher
_classificationString
protected String _classificationString
LocalSearchHandler
public LocalSearchHandler(Shell shell,
LocalSearchResultConfigurationImpl searchConfig)
- Constructor for local search handler.
- Parameters:
shell
- a shell.searchConfig
- a search configuration.
run
public void run()
isDone
public boolean isDone()
cancel
public void cancel()
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 © 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.