|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FilePattern
Represents a group of files and directories that are used in a file operation, including a count that can be specified to denote the minimum number of files that must match the file pattern when wildcards are used. The file criteria is satisfied when the number of files matching the file pattern reaches the specified minimum.
Method Summary | |
---|---|
int |
getMinimumCount()
Returns the minimum number of files that must exist for this pattern to be satisfied. |
java.lang.String |
getPattern()
Returns the file pattern to which files are matched; the file pattern typically includes wildcard characters. |
void |
setMinimumCount(int minimumCount)
Sets the minimum number of files that must exist for this pattern to be satisfied. |
void |
setPattern(java.lang.String filePattern)
The file pattern to which files are matched; the file pattern typically includes wildcard characters. |
Method Detail |
---|
int getMinimumCount()
java.lang.String getPattern()
void setMinimumCount(int minimumCount)
minimumCount
- The minimum number of files that must exist for this pattern to be
satisfied.
java.lang.IllegalArgumentException
- If minimumCount is null or empty.void setPattern(java.lang.String filePattern)
filePattern
- The file pattern to which files are matched.
java.lang.IllegalArgumentException
- If filePattern is null or empty.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |