Package loci.formats
Class NumberFilter
java.lang.Object
loci.formats.NumberFilter
- All Implemented Interfaces:
FileFilter
NumberFilter is a helper filter for FilePattern.findPattern().
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNumberFilter(String pre, String post) Creates a filter for files containing a numerical block, sandwiched between the given strings. -
Method Summary
-
Field Details
-
pre
String appearing before the numerical block. -
post
String appearing after the numerical block.
-
-
Constructor Details
-
NumberFilter
Creates a filter for files containing a numerical block, sandwiched between the given strings.
-
-
Method Details
-
getNumber
Gets numbers filling the asterisk positions. -
accept
Tests if a specified file should be included in a file list. -
accept
Tests if a specified file should be included in a file list.- Specified by:
acceptin interfaceFileFilter
-