mk.fsgrep.find
Class ScanProfile
java.lang.Object
mk.fsgrep.find.ScanProfile
public class ScanProfile
- extends java.lang.Object
The representation of the set of files to search. It encapsulates the
starting directory, and the set of suffixes of files to include.
- Author:
- Murali Krishnan
Constructor Summary |
ScanProfile(java.io.File pFile,
java.lang.String pPattern)
|
ScanProfile(java.lang.String pFullPattern)
|
ScanProfile(java.lang.String pFile,
java.lang.String pPattern)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ScanProfile
public ScanProfile(java.lang.String pFullPattern)
ScanProfile
public ScanProfile(java.io.File pFile,
java.lang.String pPattern)
ScanProfile
public ScanProfile(java.lang.String pFile,
java.lang.String pPattern)
makeRegexpFromSuffix
protected static java.lang.String makeRegexpFromSuffix(java.lang.String pSuffix)
makeRegexpFromSuffixList
protected static java.lang.String makeRegexpFromSuffixList(java.lang.String pSuffixes)
getRoot
public java.io.File getRoot()
getFilenameSpec
public java.lang.String getFilenameSpec()
getFilter
public java.io.FilenameFilter getFilter()
setFilenameSpec
protected void setFilenameSpec(java.lang.String val)
setFilter
protected void setFilter(java.lang.String pPattern)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
createSpecification
public java.lang.String createSpecification()
Copyright © 2009. All Rights Reserved.