org.apache.batik.swing.svg
Class SVGFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
org.apache.batik.swing.svg.SVGFileFilter
public class SVGFileFilter
- extends FileFilter
This implementation of FileFilter will allows SVG files
with extention '.svg' or '.svgz'.
- Version:
- $Id: SVGFileFilter.java 1733416 2016-03-03 07:07:13Z gadams $
- Author:
- Vincent Hardy, Christophe Jolif
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SVGFileFilter
public SVGFileFilter()
accept
public boolean accept(File f)
- Returns true if
f is an SVG file
- Specified by:
accept in class FileFilter
getDescription
public String getDescription()
- Returns the file description
- Specified by:
getDescription in class FileFilter
Copyright © 2000–2017 Apache Software Foundation. All rights reserved.