|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.filechooser.FileFilter
br.usp.ime.klava.segmentit.formats.MarkerFormat
public final class MarkerFormat
Filters the supported format for reading and writing markers files. The only format supported is PNG, as it is the only format supported for both reading and writing (in the Sun's Java implementation) that also supports transparency.
Constructor Summary | |
---|---|
MarkerFormat()
|
Method Summary | |
---|---|
boolean |
accept(java.io.File file)
Returns if the given file has an extension of a supported format for reading or writing markers files. |
java.lang.String |
getDescription()
Returns a description of the supported format for reading or writing markers files. |
java.lang.String |
getExtension()
Returns the extension that this filter accepts. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MarkerFormat()
Method Detail |
---|
public boolean accept(java.io.File file)
accept
in class javax.swing.filechooser.FileFilter
public java.lang.String getExtension()
public java.lang.String getDescription()
getDescription
in class javax.swing.filechooser.FileFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |