|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.util.file.match.Matcher
public class Matcher
Implements a powerful file/directory matcher on top of Ant's fileset classes.
Constructor Summary | |
---|---|
Matcher()
Construct an Matcher. |
Method Summary | |
---|---|
MatchResults |
getMatches(MatcherConfig config)
Get the matches for this search. |
boolean |
isCandidateFS(int fstype,
org.hyperic.sigar.FileSystem fs,
org.apache.commons.logging.Log log)
Determine if the given filesystem is OK to search, based on the value of fstype which tells us what filesystem types we are supposed to search. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Matcher()
Method Detail |
---|
public boolean isCandidateFS(int fstype, org.hyperic.sigar.FileSystem fs, org.apache.commons.logging.Log log)
public MatchResults getMatches(MatcherConfig config) throws MatcherInterruptedException, org.hyperic.sigar.SigarException
MatcherInterruptedException
- If the search was interrupted
before it could be completed. In this case, you can get the matches
so far by calling getMatchesSoFar on the MatcherInterruptedException
object.
org.hyperic.sigar.SigarException
- If an error occurs reading the available
filesystems - this can only happen if the config's getFSTypes returns
a value other than MatcherConfig.FS_ALL.
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |