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.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 $
-
-
Constructor Summary
Constructors Constructor Description SVGFileFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(java.io.File f)
Returns true iff
is an SVG filejava.lang.String
getDescription()
Returns the file description
-
-
-
Method Detail
-
accept
public boolean accept(java.io.File f)
Returns true iff
is an SVG file- Specified by:
accept
in classjavax.swing.filechooser.FileFilter
-
getDescription
public java.lang.String getDescription()
Returns the file description- Specified by:
getDescription
in classjavax.swing.filechooser.FileFilter
-
-