public class RegExpMatchOnName extends Object implements MFileFilter
Constructor and Description |
---|
RegExpMatchOnName(String regExpString) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(MFile file)
Tests if a specified MFile should be included in a file collection.
|
String |
toString() |
public RegExpMatchOnName(String regExpString)
public boolean accept(MFile file)
MFileFilter
accept
in interface MFileFilter
file
- the MFiletrue
if and only if the name should be
included in the file collection; false
otherwise.Copyright © 1999–2015 UCAR/Unidata. All rights reserved.