com.pixelmed.convert
Class ConvertAmicasJPEG2000FilesetToDicom.OnlySuffixFilenameFilter

java.lang.Object
  extended by com.pixelmed.convert.ConvertAmicasJPEG2000FilesetToDicom.OnlySuffixFilenameFilter
All Implemented Interfaces:
FilenameFilter
Enclosing class:
ConvertAmicasJPEG2000FilesetToDicom

public final class ConvertAmicasJPEG2000FilesetToDicom.OnlySuffixFilenameFilter
extends Object
implements FilenameFilter

Instances of this class select only File names that end with the specified suffix.

The comparison is case-insensitive.

If a period is expected to precede the suffix, it should be included in the suffix specified in the constructor, e.g., ".dcm".


Field Summary
protected  String suffix
           
 
Constructor Summary
ConvertAmicasJPEG2000FilesetToDicom.OnlySuffixFilenameFilter(String suffix)
           
 
Method Summary
 boolean accept(File file, String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

suffix

protected String suffix
Constructor Detail

ConvertAmicasJPEG2000FilesetToDicom.OnlySuffixFilenameFilter

public ConvertAmicasJPEG2000FilesetToDicom.OnlySuffixFilenameFilter(String suffix)
Method Detail

accept

public boolean accept(File file,
                      String name)
Specified by:
accept in interface FilenameFilter