public class PrefixFilter extends Object implements FileFilter
| Constructor and Description |
|---|
PrefixFilter(String prefix) |
PrefixFilter(String prefix,
boolean includeDirectories) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(File path)
Tests whether or not the specified abstract pathname should be included in
a pathname list.
|
public PrefixFilter(String prefix)
public PrefixFilter(String prefix, boolean includeDirectories)
public boolean accept(File path)
accept in interface FileFilterpath - The abstract pathname to be testedtrue if and only if pathname should be
included. False otherwise.Copyright © 2016 The American National Corpus. All rights reserved.