protected static class InstallPear.PEARFilter extends FileFilter
PEARFilter class allows to filter directories, as well as '.tear' and
'.pear' files.| Modifier | Constructor and Description |
|---|---|
protected |
PEARFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(File file)
Returns
true, if the given input file is directory or has 'tear' or 'pear'
extension, false otherwise. |
String |
getDescription()
Returns the filter description.
|
public boolean accept(File file)
true, if the given input file is directory or has 'tear' or 'pear'
extension, false otherwise.accept in class FileFilterfile - the filetrue, if the given input file is directory or has 'tear' or 'pear'
extension, false otherwise.public String getDescription()
getDescription in class FileFilterCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.