public class NumberFilter
extends java.lang.Object
implements java.io.FileFilter
Constructor and Description |
---|
NumberFilter(java.lang.String pre,
java.lang.String post)
Creates a filter for files containing a numerical block,
sandwiched between the given strings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File pathname)
Tests if a specified file should be included in a file list.
|
boolean |
accept(java.lang.String name)
Tests if a specified file should be included in a file list.
|
java.math.BigInteger |
getNumber(java.lang.String name)
Gets numbers filling the asterisk positions.
|
public NumberFilter(java.lang.String pre, java.lang.String post)
public java.math.BigInteger getNumber(java.lang.String name)
public boolean accept(java.lang.String name)
public boolean accept(java.io.File pathname)
accept
in interface java.io.FileFilter
Copyright © 2014 Open Microscopy Environment