public class WildcardMatchOnName extends WildcardMatchOnPath
pattern, wildcardString
Constructor and Description |
---|
WildcardMatchOnName(Pattern pattern) |
WildcardMatchOnName(String wildcardString) |
public WildcardMatchOnName(String wildcardString)
public WildcardMatchOnName(Pattern pattern)
public boolean accept(MFile file)
MFileFilter
accept
in interface MFileFilter
accept
in class WildcardMatchOnPath
file
- the MFiletrue
if and only if the name should be
included in the file collection; false
otherwise.public static void main(String[] args)
Copyright © 1999–2013 UCAR/Unidata. All rights reserved.