|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.filechooser.FileFilter
org.vizzini.ui.ExtensionFileFilter
public class ExtensionFileFilter
Provides a file filter for files.
| Constructor Summary | |
|---|---|
ExtensionFileFilter(String extension)
Construct this object with the given extension. |
|
| Method Summary | |
|---|---|
boolean |
accept(File file)
Return true if the given file passes the filter. |
String |
getDescription()
Return the description. |
String |
getExtension(File file)
Get the extension of a file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExtensionFileFilter(String extension)
| Method Detail |
|---|
public String getDescription()
getDescription in class FileFilterpublic String getExtension(File file)
public boolean accept(File file)
accept in class FileFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |