Pattern-Matching Classes for Filenames


Package:
com.sun.tools.doclets.doccheck.util
Description:
Utilities to assist the documentation of Java apps.

Specifier
A pattern-matching class.
Recognizes s*, *s, *s*, s1*s2, *s1*s2*, etc.
 
PathSpecifier
A pattern matcher for directory paths.
Recognizes "/", "\", and "." separators.
Recognizes p1.p2.p3..., where each p(n) is a Specifier pattern.
If d matches p1, interprets p1.* as matching d, d.x, d.x.y, etc.
(Interprets p1.?* As matching d.x only.)
 
FileSpecifier
A pattern matcher for filenames, which may include a directory path.
(A PathSpecifier and a plain Specifier are used to construct a file specifier.)