public class FileRegularFilter extends Object implements FilenameFilter
| Constructor and Description |
|---|
FileRegularFilter(String pattern)
Constructor.
|
public FileRegularFilter(String pattern)
pattern - regular expressionpublic boolean accept(File dir, String name)
accept in interface FilenameFilterdir - - the directory in which the file was foundname - - the name of the file.Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.