org.apache.batik.swing.svg
Class SVGFileFilter

java.lang.Object
  extended byjavax.swing.filechooser.FileFilter
      extended byorg.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,v 1.3 2003/08/08 11:39:24 vhardy Exp $
Author:
Christophe Jolif

Constructor Summary
SVGFileFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
          Returns true if f is an SVG file
 java.lang.String getDescription()
          Returns the file description
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGFileFilter

public SVGFileFilter()
Method Detail

accept

public boolean accept(java.io.File f)
Returns true if f is an SVG file


getDescription

public java.lang.String getDescription()
Returns the file description



<oXygen/> XML Editor uses Batik from the Apache Foundation to provide support for previewing SVG documents. See the SVG Editor section for more info.