Class HMFileFilter
- java.lang.Object
-
- javax.swing.filechooser.FileFilter
-
- org.hortonmachine.gears.libs.modules.HMFileFilter
-
public class HMFileFilter extends FileFilter
A custom file filter base.- Author:
- Andrea Antonello (www.hydrologis.com)
-
-
Constructor Summary
Constructors Constructor Description HMFileFilter(String description, String[] allowedExt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(File f)String[]getAllowedExtensions()StringgetDescription()
-
-
-
Method Detail
-
getAllowedExtensions
public String[] getAllowedExtensions()
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin classFileFilter
-
accept
public boolean accept(File f)
- Specified by:
acceptin classFileFilter
-
-