|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas.server.JFileFilter
public class JFileFilter
This class implements a FileFilter, used to list files of a directory.
Constructor Summary | |
---|---|
JFileFilter(java.lang.String filter)
Contruct a new JFileFilter with the specified filter. |
Method Summary | |
---|---|
boolean |
accept(java.io.File pathname)
Tests whether or not the specified abstract pathname should be included in a pathname list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JFileFilter(java.lang.String filter)
filter
- the filter to use. A comma-separated list of the allowed
extensions. For instance ".jar,.dtd", note that ".*" is allowed.Method Detail |
---|
public boolean accept(java.io.File pathname)
accept
in interface java.io.FileFilter
pathname
- the abstract pathname to be tested.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |