org.ow2.jonas.lib.util
Class DirFilter

java.lang.Object
  extended by org.ow2.jonas.lib.util.DirFilter
All Implemented Interfaces:
FilenameFilter

public class DirFilter
extends Object
implements FilenameFilter

Filter used to seek directories

Author:
durieuxp

Constructor Summary
DirFilter(String p1, String s1)
           
 
Method Summary
 boolean accept(File dir, String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirFilter

public DirFilter(String p1,
                 String s1)
Method Detail

accept

public boolean accept(File dir,
                      String name)
Specified by:
accept in interface FilenameFilter


Copyright © 2010 OW2 Consortium. All Rights Reserved.