org.sf.cafebabe
Class SerFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by org.sf.cafebabe.SerFileFilter

public class SerFileFilter
extends javax.swing.filechooser.FileFilter

Class that represents the filter of serialized files for custom file chooser

Version:
1.0 09/05/2003
Author:
Alexander Shvets

Constructor Summary
SerFileFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
          Returns wehether the given file is accepted by this filter.
 java.lang.String getDescription()
          Gets the description of the filter in drop-down list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerFileFilter

public SerFileFilter()
Method Detail

getDescription

public java.lang.String getDescription()
Gets the description of the filter in drop-down list

Specified by:
getDescription in class javax.swing.filechooser.FileFilter
Returns:
the description of the filter

accept

public boolean accept(java.io.File f)
Returns wehether the given file is accepted by this filter.

Specified by:
accept in class javax.swing.filechooser.FileFilter
Returns:
true if the given file is accepted by this filter; false otherwise


Copyright 2006 Dream Programs Inc.. All Rights Reserved.