net.sf.latexdraw.filters
Class SVGFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by net.sf.latexdraw.filters.SVGFilter

public class SVGFilter
extends javax.swing.filechooser.FileFilter

This class define a filter for SVG files (*.svg).

This file is part of LaTeXDraw
Copyright (c) 2005-2012 Arnaud BLOUIN

LaTeXDraw is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

LaTeXDraw is distributed without any warranty; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

09/06/07

Since:
2.0.0
Version:
3.0
Author:
Arnaud BLOUIN

Field Summary
static java.lang.String SVG_EXTENSION
           
 
Constructor Summary
SVGFilter()
           
 
Method Summary
 boolean accept(java.io.File file)
           
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SVG_EXTENSION

public static final java.lang.String SVG_EXTENSION
See Also:
Constant Field Values
Constructor Detail

SVGFilter

public SVGFilter()
Method Detail

accept

public boolean accept(java.io.File file)
Specified by:
accept in class javax.swing.filechooser.FileFilter

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class javax.swing.filechooser.FileFilter