|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.filechooser.FileFilter
bb.io.filefilter.BaseFilter
bb.io.filefilter.ZippableFilter
public class ZippableFilter
Filter that accepts everything which passes ZipUtil.isZipable
.
This class is multithread safe: it is immutable.
In particular, it has no listener (see the ancestor class
javadocs for more discussion).
Nested Class Summary |
---|
Nested classes/interfaces inherited from class bb.io.filefilter.BaseFilter |
---|
BaseFilter.UnitTest |
Constructor Summary | |
---|---|
ZippableFilter(FileFilterListener listener)
Constructor. |
Method Summary | |
---|---|
String |
getDescription()
|
protected boolean |
passesTest(File file)
Applies this filter's test to file. |
Methods inherited from class bb.io.filefilter.BaseFilter |
---|
accept, acceptImpl, extractPart, getDirectoryMode, getFileMode, getListener, getOtherMode, getPartMode, passesTest |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZippableFilter(FileFilterListener listener)
listener
- an optional FileFilterListener
to receive File accept/reject events; may be nullMethod Detail |
---|
protected boolean passesTest(File file)
BaseFilter
Implementation here returns
.
passesTest
( extractPart
(file) )
passesTest
in class BaseFilter
public String getDescription()
BaseFilter
getDescription
in class BaseFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |