public class TIFFFilter
extends java.lang.Object
TIFF
image.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BTF
Possible file extension.
|
static java.lang.String[] |
extensions
The possible extensions.
|
static java.lang.String |
MIMETYPE
The MIMEType associated to this type of file.
|
static java.lang.String |
TF_2
Possible file extension.
|
static java.lang.String |
TF_8
Possible file extension.
|
static java.lang.String |
TIF
Possible file extension.
|
static java.lang.String |
TIFF
Possible file extension.
|
Constructor and Description |
---|
TIFFFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File f)
Accepts or not the file with the declared file extensions.
|
boolean |
accept(java.lang.String fileName)
Accepts or not the file identified by its name.
|
java.lang.String |
getDescription()
Returns the description of the filter.
|
java.lang.String |
getExtension()
Returns the extension of the filter.
|
java.lang.String |
getMIMEType()
Returns the MIME type.
|
public static final java.lang.String MIMETYPE
public static final java.lang.String TIFF
public static final java.lang.String TIF
public static final java.lang.String TF_2
public static final java.lang.String TF_8
public static final java.lang.String BTF
public static final java.lang.String[] extensions
public java.lang.String getMIMEType()
public java.lang.String getExtension()
public java.lang.String getDescription()
public boolean accept(java.io.File f)
f
- The file to handle.public boolean accept(java.lang.String fileName)
fileName
- The name of the file.