protected static class InstallPear.PEARFilter
extends javax.swing.filechooser.FileFilter
PEARFilter
class allows to filter directories, as well as '.tear' and
'.pear' files.Modifier | Constructor and Description |
---|---|
protected |
InstallPear.PEARFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File file)
Returns
true , if the given input file is directory or has 'tear' or 'pear'
extension, false otherwise. |
java.lang.String |
getDescription()
Returns the filter description.
|
public boolean accept(java.io.File file)
true
, if the given input file is directory or has 'tear' or 'pear'
extension, false
otherwise.accept
in class javax.swing.filechooser.FileFilter
true
, if the given input file is directory or has 'tear' or 'pear'
extension, false
otherwise.public java.lang.String getDescription()
getDescription
in class javax.swing.filechooser.FileFilter
Copyright © 2013. All Rights Reserved.