|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.filechooser.FileFilter net.sourceforge.pavlov.zipUtilities.ZipCapableFileFilter net.sourceforge.pavlov.zipUtilities.HTMLFileFilter
public class HTMLFileFilter
A FileFilter that accepts only HTML files.
Constructor Summary | |
---|---|
HTMLFileFilter()
|
Method Summary | |
---|---|
boolean |
accept(File f)
Returns true if f is a HTML file. |
boolean |
accept(ZipEntry f)
Returns true if f is a JPEG file. |
protected boolean |
checkName(String name)
Determines if name represents a JPEG file/entry name. |
String |
getDescription()
Returns description of this file filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTMLFileFilter()
Method Detail |
---|
public boolean accept(File f)
accept
in interface FileFilter
accept
in class FileFilter
f
- a File
value
boolean
valuepublic boolean accept(ZipEntry f)
accept
in class ZipCapableFileFilter
f
- a ZipEntry
value
boolean
valueprotected boolean checkName(String name)
name
- a String
value
boolean
valuepublic String getDescription()
getDescription
in class FileFilter
String
value
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |