| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbpp.Unglobber
Convenience class to unglob file names with the following conventions:
| form | function | 
| - | 1 parent directory (like ..) | 
| -- | 0 or more parent directories | 
| + | 1 child directory | 
| ++ | 0 or more child directories | 
| name | name, with * wildcard supported (matching any character except a directory separator | 
| ?regexp | Matches the given regular expression | 
Examples:
WARNING: Using ++ after -- will result in an infinite recursion.
| Constructor Summary | |
| Unglobber(java.lang.String pattern)Construct an unglobber based on a string pattern which is split on the file.separator system property value. | |
| Unglobber(java.lang.String[] spattern)Construct an unglobber already split into parts. | |
| Method Summary | |
| static void | main(java.lang.String[] args)Test the unglobber: unglob given args in the current working directory. | 
|  java.io.File[] | unglob()Unglob a file set based on the current working directory. | 
|  java.io.File[] | unglob(java.io.File root)Unglob a file set based on the given root file | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public Unglobber(java.lang.String pattern)
public Unglobber(java.lang.String[] spattern)
| Method Detail | 
public java.io.File[] unglob(java.io.File root)
public java.io.File[] unglob()
public static void main(java.lang.String[] args)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||