protected static class JSVGViewerFrame.ImageFileFilter extends FileFilter
Modifier and Type | Field and Description |
---|---|
protected String |
extension
The extension of the image filename.
|
Constructor and Description |
---|
ImageFileFilter(String extension) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(File f)
Returns true if
f is a file with the correct extension,
false otherwise. |
String |
getDescription()
Returns the file description
|
protected String extension
public ImageFileFilter(String extension)
public boolean accept(File f)
f
is a file with the correct extension,
false otherwise.accept
in class FileFilter
public String getDescription()
getDescription
in class FileFilter
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.