|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ptolemy.backtrack.util.PathFinder.PostfixFilter
public static class PathFinder.PostfixFilter
Filter out all the files in a directory, except for those ending with the given postfix.
Red (tfeng) |
Field Summary | |
---|---|
private java.lang.String |
_postfix
The postfix. |
Constructor Summary | |
---|---|
PathFinder.PostfixFilter(java.lang.String postfix)
Construct a filter with a postfix. |
Method Summary | |
---|---|
boolean |
accept(java.io.File file)
Accept only files with names ending with the given postfix. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String _postfix
Constructor Detail |
---|
PathFinder.PostfixFilter(java.lang.String postfix)
postfix
- The postfix.Method Detail |
---|
public boolean accept(java.io.File file)
accept
in interface java.io.FileFilter
file
- The file to be inspected.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |