org.ow2.clif.analyze.lib.graph.util
Class SaveFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by org.ow2.clif.analyze.lib.graph.util.SaveFileFilter

public class SaveFileFilter
extends javax.swing.filechooser.FileFilter

The Class SaveFileFilter.


Constructor Summary
SaveFileFilter()
          Instantiates a new save file filter.
 
Method Summary
 boolean accept(java.io.File pathname)
           
 java.lang.String getDescription()
           
 void setDescription(java.lang.String _description)
          Sets the description.
 void setExtensions(java.lang.String[] _extensions)
          Sets the extensions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveFileFilter

public SaveFileFilter()
Instantiates a new save file filter.

Method Detail

setExtensions

public void setExtensions(java.lang.String[] _extensions)
Sets the extensions. Format : {".txt", ".jpp", ...}, including "."

Parameters:
_extensions - the new extensions

setDescription

public void setDescription(java.lang.String _description)
Sets the description.

Parameters:
_description - the new description

accept

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

getDescription

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