public class ExtensionFileFilter extends FileFilter
| Constructor and Description |
|---|
ExtensionFileFilter(String description,
String extension)
Standard constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(File file)
Returns true if the file ends with the specified extension.
|
String |
getDescription()
Returns the description of the filter.
|
public boolean accept(File file)
accept in class FileFilterfile - the file to test.public String getDescription()
getDescription in class FileFilterCopyright © 2009-2012 jtstand.com. All Rights Reserved.