|
||||||||||
| 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 |
addExclude(PathPatternType pattern)
Adds an exclude pattern. |
void |
addInclude(PathPatternType pattern)
Adds an include pattern. |
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 addExclude(PathPatternType pattern)
public void setUserPathPrefix(java.lang.String prefix)
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 | |||||||||