public class ExtensionFilter extends BaseFilter
| Modifier and Type | Field and Description |
|---|---|
static ExtensionFilter |
RAW_IMAGES
A filter for raw-image types (the list is taken from Wikipedia, see
http://en.wikipedia.org/wiki/Raw_image_format).
|
static ExtensionFilter |
STANDARD_IMAGES
A filter for standard-image types (jpg, tif, png, gif and bmp).
|
| Constructor and Description |
|---|
ExtensionFilter(Collection<String> pExt)
Constructor (pass the extensions as a collection);
|
ExtensionFilter(String... pExt)
Constructor (pass the extensions as array or as String-arguments).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(File dir,
String name)
Implement the accect-method of FilenameFilter
|
acceptDir, ignoreDotDirs, setRecursionpublic static final ExtensionFilter STANDARD_IMAGES
public static final ExtensionFilter RAW_IMAGES
public ExtensionFilter(String... pExt)
public ExtensionFilter(Collection<String> pExt)
Copyright © 2019. All rights reserved.