FreeHEP API
Version current

org.freehep.util.io
Class StandardFileFilter

java.lang.Object
  extended byorg.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,v 1.1 2003/02/06 17:33:16 duns Exp $
Author:
Mark Donszelmann
Source Code:
StandardFileFilter.java

Constructor Summary
StandardFileFilter(String template)
           
 
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)
Method Detail

accept

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

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.