nl.lxtreme.ols.util.swing
Class FilenameFilterAdapter
java.lang.Object
nl.lxtreme.ols.util.swing.FilenameFilterAdapter
- All Implemented Interfaces:
- FilenameFilter
public class FilenameFilterAdapter
- extends Object
- implements FilenameFilter
Provides a filename filter adapter that accepts a list of FileFilter
s
to make it easy to use one API for both Swing and AWT.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilenameFilterAdapter
public FilenameFilterAdapter(FileFilter... aFileFilters)
- Parameters:
aFileFilters
- the Swing file filters to wrap.
accept
public boolean accept(File aDir,
String aName)
- Specified by:
accept
in interface FilenameFilter
- See Also:
FilenameFilter.accept(java.io.File, java.lang.String)
Copyright © 2012 L'Xtreme IT consultancy. All Rights Reserved.