public final class ConvertAmicasJPEG2000FilesetToDicom.OnlySuffixFilenameFilter
extends java.lang.Object
implements java.io.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".
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
suffix |
Constructor and Description |
---|
OnlySuffixFilenameFilter(java.lang.String suffix) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File file,
java.lang.String name) |