| java.lang.Object org.objectweb.jonas.server.JFileFilter
JFileFilter | public class JFileFilter implements FileFilter(Code) | | This class implements a FileFilter, used to list files of a directory.
author: Ludovic Bert author: Florent Benoit |
Constructor Summary | |
public | JFileFilter(String filter) Contruct a new JFileFilter with the specified filter.
Parameters: filter - the filter to use. |
Method Summary | |
public boolean | accept(File pathname) Tests whether or not the specified abstract pathname should be included
in a pathname list.
Parameters: pathname - the abstract pathname to be tested. |
JFileFilter | public JFileFilter(String filter)(Code) | | Contruct a new JFileFilter with the specified filter.
Parameters: filter - the filter to use. A comma-separated list of the allowedextensions. For instance ".jar,.dtd", note that ".*" is allowed. |
accept | public boolean accept(File pathname)(Code) | | Tests whether or not the specified abstract pathname should be included
in a pathname list.
Parameters: pathname - the abstract pathname to be tested. true if and only if pathname should be included. |
|
|