|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.co.caprica.vlcj.filter.ExtensionFileFilter
public abstract class ExtensionFileFilter
Base implementation for file filters that are based on file name extensions.
Constructor Summary | |
---|---|
protected |
ExtensionFileFilter(java.lang.String[] extensions)
Create a new file filter. |
Method Summary | |
---|---|
boolean |
accept(java.io.File pathname)
|
java.lang.String[] |
getExtensions()
Get the recognised file extensions. |
java.util.Set<java.lang.String> |
getExtensionSet()
Get the set of recognised file extensions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ExtensionFileFilter(java.lang.String[] extensions)
extensions
- file extensions to acceptMethod Detail |
---|
public java.lang.String[] getExtensions()
A sorted copy of the array of file extensions is returned.
public java.util.Set<java.lang.String> getExtensionSet()
A new (copy) sorted set of file extensions is returned.
public boolean accept(java.io.File pathname)
accept
in interface java.io.FileFilter
|
(C)2010 Caprica Software Limited | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |