com.continuent.tungsten.common.file
Class FileIO.LocalFilenameFilter

java.lang.Object
  extended by com.continuent.tungsten.common.file.FileIO.LocalFilenameFilter
All Implemented Interfaces:
java.io.FilenameFilter
Enclosing class:
FileIO

public class FileIO.LocalFilenameFilter
extends java.lang.Object
implements java.io.FilenameFilter

Internal filter class to select file names based on a prefix. If the prefix value is null all names are selected.


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

Constructor Detail

FileIO.LocalFilenameFilter

public FileIO.LocalFilenameFilter(java.lang.String prefix)
Method Detail

accept

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