|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.config.types.FileSetType
public class FileSetType
Abstract type building a path pattern. The pattern follows ant.
| Constructor Summary | |
|---|---|
FileSetType()
|
|
| Method Summary | |
|---|---|
void |
add(FileSetType fileSet)
|
void |
addExclude(PathPatternType pattern)
Adds an exclude pattern. |
void |
addInclude(PathPatternType pattern)
Adds an include pattern. |
void |
addInverse(FileSetType fileSet)
|
void |
addText(java.lang.String text)
|
Path |
getDir()
Gets the starting directory. |
java.util.ArrayList<Path> |
getPaths()
Returns the set of files. |
java.util.ArrayList<Path> |
getPaths(java.util.ArrayList<Path> paths)
Returns the set of files. |
void |
getPaths(java.util.ArrayList<Path> paths,
Path path,
java.lang.String prefix)
Returns the set of files. |
void |
init()
Initialize the type. |
boolean |
isMatch(Path path,
java.lang.String prefix)
Returns the set of files. |
void |
setDir(Path dir)
Sets the starting directory. |
void |
setUserPathPrefix(java.lang.String prefix)
Sets the user-path prefix for better error reporting. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FileSetType()
| Method Detail |
|---|
public void setDir(Path dir)
public Path getDir()
public void addInclude(PathPatternType pattern)
public void addText(java.lang.String text)
public void addExclude(PathPatternType pattern)
public void add(FileSetType fileSet)
public void addInverse(FileSetType fileSet)
public void setUserPathPrefix(java.lang.String prefix)
@PostConstruct
public void init()
throws ConfigException
ConfigExceptionpublic java.util.ArrayList<Path> getPaths()
public java.util.ArrayList<Path> getPaths(java.util.ArrayList<Path> paths)
public void getPaths(java.util.ArrayList<Path> paths,
Path path,
java.lang.String prefix)
public boolean isMatch(Path path,
java.lang.String prefix)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||