public class NumberFilter extends Object implements FileFilter
| Constructor and Description |
|---|
NumberFilter(String pre,
String post)
Creates a filter for files containing a numerical block, sandwiched between
the given strings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(File pathname)
Tests if a specified file should be included in a file list.
|
boolean |
accept(String name)
Tests if a specified file should be included in a file list.
|
Integer |
getNumber(String name)
Gets numbers filling the asterisk positions.
|
public boolean accept(String name)
public boolean accept(File pathname)
accept in interface FileFilterCopyright © 2011–2026 SCIFIO. All rights reserved.