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".
Constructor and Description |
---|
ConvertAmicasJPEG2000FilesetToDicom.OnlySuffixFilenameFilter(String suffix) |
protected String suffix
public ConvertAmicasJPEG2000FilesetToDicom.OnlySuffixFilenameFilter(String suffix)
public boolean accept(File file, String name)
accept
in interface FilenameFilter