ini.trakem2.io
Class ImageFileFilter

java.lang.Object
  extended by ini.trakem2.io.ImageFileFilter
All Implemented Interfaces:
java.io.FilenameFilter

public class ImageFileFilter
extends java.lang.Object
implements java.io.FilenameFilter

Filters out non-accepted image formats.


Constructor Summary
ImageFileFilter()
           
ImageFileFilter(java.lang.String regex, java.lang.String code)
           
 
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

ImageFileFilter

public ImageFileFilter()

ImageFileFilter

public ImageFileFilter(java.lang.String regex,
                       java.lang.String code)
Method Detail

accept

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