org.thdl.tib.bibl
Class XMLFilter

java.lang.Object
  |
  +--javax.swing.filechooser.FileFilter
        |
        +--org.thdl.tib.bibl.XMLFilter

public class XMLFilter
extends FileFilter

XMLFilter extends java.io.FileFilter to display only XML files in the open filechooser window.

Author:
Than Garson, Tibetan and Himalayan Digital Library

Field Summary
static String xml
           
 
Constructor Summary
XMLFilter()
           
 
Method Summary
 boolean accept(File f)
           
 String getDescription()
           
static String getExtension(File f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xml

public static final String xml
See Also:
Constant Field Values
Constructor Detail

XMLFilter

public XMLFilter()
Method Detail

accept

public boolean accept(File f)
Specified by:
accept in class FileFilter

getDescription

public String getDescription()
Specified by:
getDescription in class FileFilter

getExtension

public static String getExtension(File f)


These API docs were created 02/02/2003 08:19 PM.
Copyright © 2001-2002 Tibetan and Himalayan Digital Library. All Rights Reserved.
Hosted by SourceForge_Logo