net.simplace.ui.formengine.file.FWFileExtensionFilter
Simple File Filter implementation that allows to restrict FileChoosers to certain file types
public class FWFileExtensionFilter extends javax.swing.filechooser.FileFilter {
// Public Constructors
public FWFileExtensionFilter(String aExtension);
public FWFileExtensionFilter(String aExtension, String aDescription);
public FWFileExtensionFilter();
// Public Instance Methods public void
addExtension(String aExtension);
Adds a file extension to the list of accepted extensions
- aExtension File extension to be accepted (i.e. "jpg")
public boolean accept(File aFile); // Defines
javax.swing.filechooser.FileFilter
public void
setDescription(String aDescription);
Sets the description of the file types that this filter accepts
public String getDescription(); // Defines
javax.swing.filechooser.FileFilter
}
Hierarchy: java.lang.Object - javax.swing.filechooser.FileFilter - FWFileExtensionFilter