source.ucregents.playground.serialization
Class CustomXMLFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by source.ucregents.playground.serialization.CustomXMLFileFilter

public class CustomXMLFileFilter
extends javax.swing.filechooser.FileFilter

File filter for XML and PXML files. Based off of tutorial on JavaWorld


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

Constructor Detail

CustomXMLFileFilter

public CustomXMLFileFilter()
Method Detail

accept

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

getDescription

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