com.melloware.jukes.file.filter
Class XmlFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by com.melloware.jukes.file.filter.XmlFilter

public final class XmlFilter
extends FileFilter

Filters for text files in JFileChooser. Such as .txt files.

Copyright (c) 1999-2007 Melloware, Inc.

Version:
4.0
Author:
Emil A. Lefkof III

Field Summary
static String[] EXTENSIONS
           
static String XML
           
 
Constructor Summary
XmlFilter()
          Default Constuctor
 
Method Summary
 boolean accept(File aFile)
          Accept all music files such as .txt.
 String getDescription()
           
 
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

EXTENSIONS

public static final String[] EXTENSIONS
Constructor Detail

XmlFilter

public XmlFilter()
Default Constuctor

Method Detail

getDescription

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

accept

public boolean accept(File aFile)
Accept all music files such as .txt.

Specified by:
accept in class FileFilter
See Also:
FileFilter.accept(java.io.File)


Copyright © 1999-2010 Melloware Inc. All Rights Reserved.