public class HideFileFilterProxy
extends net.sf.japi.util.filter.file.AbstractFileFilter
Constructor and Description |
---|
HideFileFilterProxy(@NotNull javax.swing.filechooser.FileFilter other)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(@NotNull java.io.File pathName)
First checks whether the file should be hidden, if not,
checks the other FileFilter.
|
@NotNull java.lang.String |
getDescription()
Returns the description from the
other
FileFilter. |
public HideFileFilterProxy(@NotNull @NotNull javax.swing.filechooser.FileFilter other)
other
- the file filter to wrap@NotNull public @NotNull java.lang.String getDescription()
other
FileFilter.getDescription
in class javax.swing.filechooser.FileFilter
public boolean accept(@NotNull @NotNull java.io.File pathName)
accept
in interface java.io.FileFilter
accept
in interface net.sf.japi.util.filter.Filter<java.io.File>
accept
in class javax.swing.filechooser.FileFilter