org.freehep.util.io
Class StandardFileFilter

java.lang.Object
  extended by org.freehep.util.io.StandardFileFilter
All Implemented Interfaces:
FileFilter

public class StandardFileFilter
extends Object
implements FileFilter

Implements a standard file filter as is normally used in Unix and DOS. The template characters are treated literally and are case sensitive with the following exceptions:

The template should specify slashes as a separator character (e.g. Unix style).

Version:
$Id: StandardFileFilter.java 8584 2006-08-10 23:06:37Z duns $
Author:
Mark Donszelmann

Constructor Summary
StandardFileFilter(String template)
          Create a standard file filter
 
Method Summary
 boolean accept(File pathname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardFileFilter

public StandardFileFilter(String template)
Create a standard file filter

Parameters:
template - pattern to be used for file filtering
Method Detail

accept

public boolean accept(File pathname)
Specified by:
accept in interface FileFilter


Copyright © 2000-2007 FreeHEP. All Rights Reserved.