net.sf.latexdraw.filters
Class TeXFilter

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

public class TeXFilter
extends javax.swing.filechooser.FileFilter

This class define a filter for TeX files (*.tex)

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.

01/20/06

Version:
3.0
Author:
Arnaud BLOUIN

Field Summary
static java.lang.String TEX_EXTENSION
          The name of the extension of TeX file
 
Constructor Summary
TeXFilter()
           
 
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

TEX_EXTENSION

public static final java.lang.String TEX_EXTENSION
The name of the extension of TeX file

See Also:
Constant Field Values
Constructor Detail

TeXFilter

public TeXFilter()
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