Package org.apache.batik.swing.svg
Class SVGFileFilter
- java.lang.Object
-
- javax.swing.filechooser.FileFilter
-
- org.apache.batik.swing.svg.SVGFileFilter
-
public class SVGFileFilter extends javax.swing.filechooser.FileFilterThis implementation of FileFilter will allows SVG files with extention '.svg' or '.svgz'.- Version:
- $Id: SVGFileFilter.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Constructor Summary
Constructors Constructor Description SVGFileFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(java.io.File f)Returns true iffis an SVG filejava.lang.StringgetDescription()Returns the file description
-
-
-
Method Detail
-
accept
public boolean accept(java.io.File f)
Returns true iffis an SVG file- Specified by:
acceptin classjavax.swing.filechooser.FileFilter
-
getDescription
public java.lang.String getDescription()
Returns the file description- Specified by:
getDescriptionin classjavax.swing.filechooser.FileFilter
-
-