org.objectweb.jonas.server.JFileFilter Class Reference

List of all members.

Public Member Functions

 JFileFilter (String filter)
boolean accept (File pathname)

Detailed Description

This class implements a FileFilter, used to list files of a directory.
Author:
Ludovic Bert

Florent Benoit

Definition at line 39 of file JFileFilter.java.


Constructor & Destructor Documentation

org.objectweb.jonas.server.JFileFilter.JFileFilter String  filter  ) 
 

Contruct a new JFileFilter with the specified filter.

Parameters:
filter the filter to use. A comma-separated list of the allowed extensions. For instance ".jar,.dtd", note that ".*" is allowed.

Definition at line 51 of file JFileFilter.java.


Member Function Documentation

boolean org.objectweb.jonas.server.JFileFilter.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.
Returns:
true if and only if pathname should be included.

Definition at line 66 of file JFileFilter.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:08:04 2005 for JOnAS by  doxygen 1.3.9.1