com.scooterframework.admin
Class FileFilterSamePrefix

java.lang.Object
  extended by com.scooterframework.admin.FileFilterSamePrefix
All Implemented Interfaces:
java.io.FileFilter, java.io.Serializable

public class FileFilterSamePrefix
extends java.lang.Object
implements java.io.FileFilter, java.io.Serializable

FileFilterSamePrefix filters files which have the same name prefix as the specified.

See Also:
Serialized Form

Constructor Summary
FileFilterSamePrefix()
           
FileFilterSamePrefix(java.lang.String filter)
           
 
Method Summary
 boolean accept(java.io.File file)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileFilterSamePrefix

public FileFilterSamePrefix()

FileFilterSamePrefix

public FileFilterSamePrefix(java.lang.String filter)
Method Detail

accept

public boolean accept(java.io.File file)
Specified by:
accept in interface java.io.FileFilter

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object