public abstract class ExtensionFileFilter extends Object implements FileFilter
Modifier and Type | Method and Description |
---|---|
boolean |
accept(File pathname) |
String[] |
getExtensions()
Get the recognised file extensions.
|
Set<String> |
getExtensionSet()
Get the set of recognised file extensions.
|
public String[] getExtensions()
A sorted copy of the array of file extensions is returned.
public Set<String> getExtensionSet()
A new (copy) sorted set of file extensions is returned.
public boolean accept(File pathname)
accept
in interface FileFilter
Copyright © 2009–2015 Caprica Software Limited. All rights reserved.