|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.stevesoft.pat.RegRes
|
+--com.stevesoft.pat.Regex
|
+--com.stevesoft.pat.FileRegex
|
+--com.stevesoft.pat.DirFileRegex
This class is just like FileRegex, except that its accept method only returns true if the file matching the pattern is a directory.
| Fields inherited from class com.stevesoft.pat.Regex |
dotDoesntMatchCR,
esc |
| Fields inherited from class com.stevesoft.pat.RegRes |
charsMatched_,
didMatch_,
marks,
matchFrom_,
numSubs_,
src |
| Constructor Summary | |
DirFileRegex()
|
|
DirFileRegex(java.lang.String fp)
|
|
| Method Summary | |
static java.lang.String[] |
list(java.lang.String f)
Provides an alternative to File.list -- this separates its argument according to File.pathSeparator. |
| Methods inherited from class com.stevesoft.pat.FileRegex |
accept,
compile,
isLiteral,
toFileRegex |
| Methods inherited from class com.stevesoft.pat.Regex |
add,
clone,
compile1,
countMaxChars,
countMinChars,
define,
define,
equals,
getDefaultMFlag,
getDontMatchInQuotes,
getGFlag,
getIgnoreCase,
getMFlag,
getReplacer,
getReplaceRule,
getSFlag,
isDefined,
matchAt,
matchAt,
optimize,
optimized,
perlCode,
replaceAll,
replaceAll,
replaceAllFrom,
replaceAllRegion,
replaceFirst,
replaceFirstFrom,
replaceFirstRegion,
result,
reverseSearch,
reverseSearch,
search,
search,
searchFrom,
searchFrom,
searchRegion,
setDefaultMFlag,
setDontMatchInQuotes,
setGFlag,
setIgnoreCase,
setReplaceRule,
setReplaceRule,
toString,
undefine,
version |
| Methods inherited from class com.stevesoft.pat.RegRes |
charsMatched,
charsMatched,
copyOutOf,
didMatch,
equals,
getString,
getStringLike,
left,
left,
matchedFrom,
matchedFrom,
matchedTo,
matchedTo,
matchFrom,
matchFrom,
numSubs,
right,
right,
stringMatched,
stringMatched,
substring,
substring |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public DirFileRegex()
public DirFileRegex(java.lang.String fp)
| Method Detail |
public static java.lang.String[] list(java.lang.String f)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||