|
JAI ImageIO plugins for ImageJ - API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.filechooser.FileFilter
net.sf.ij.jaiio.JAIFileFilter
File filter that detects image files supported by registered JAI codecs. File types are determined be magic number in the header rather then file extension.
Field Summary | |
static int |
MIN_IMAGE_FILE_SIZE
Files smaller then min size are ignored by the filter. |
Constructor Summary | |
JAIFileFilter()
Create file filter accepting all images supported by registered JAI codecs. |
|
JAIFileFilter(java.lang.String codecName)
Create file filter accepting images supported by given codec. |
Method Summary | |
boolean |
accept(java.io.File file)
Whether the given file is accepted by this filter. |
java.lang.String |
getCodecName()
Gets the CodecName attribute of the JAIFileFilter object. |
java.lang.String |
getDescription()
Gets the Description attribute of the ExtensionFileFilter object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int MIN_IMAGE_FILE_SIZE
Constructor Detail |
public JAIFileFilter()
public JAIFileFilter(java.lang.String codecName)
codecName
- Codec name.Method Detail |
public java.lang.String getDescription()
public java.lang.String getCodecName()
public boolean accept(java.io.File file)
file
- File.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |