Class FilenameExtensionChecker

java.lang.Object
javax.swing.AbstractAction
com.marginallyclever.ro3.apps.shared.FilenameExtensionChecker
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class FilenameExtensionChecker extends AbstractAction
This AbstractAction checks the filename extension and adds it if it's missing.
See Also:
  • Constructor Details

    • FilenameExtensionChecker

      public FilenameExtensionChecker(String[] extensions, JFileChooser chooser)
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)
    • addExtentionIfMissing

      public File addExtentionIfMissing(File f)