public class WildcardMatchOnPath extends Object implements MFileFilter
| Modifier and Type | Field and Description |
|---|---|
protected Pattern |
pattern |
protected String |
wildcardString |
| Constructor and Description |
|---|
WildcardMatchOnPath(Pattern pattern) |
WildcardMatchOnPath(String wildcardString) |
public WildcardMatchOnPath(String wildcardString)
public WildcardMatchOnPath(Pattern pattern)
public boolean accept(MFile file)
MFileFilteraccept in interface MFileFilterfile - the MFiletrue if and only if the mfile should be
included in the file collection; false otherwise.Copyright © 1999–2014 UCAR/Unidata. All rights reserved.