|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbr.usp.ime.klava.segmentit.formats.ImageFileFormats
public class ImageFileFormats
Manages the supported formats for reading and writing file images.
| Constructor Summary | |
|---|---|
ImageFileFormats()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getExtension(java.io.File file)
Returns the extension of a given file. |
static java.util.List<java.lang.String> |
getReadFormats()
Returns the formats supported to read image files. |
static java.lang.String |
getSupportedFormats()
Returns a description of the supported formats for reading and writing image files. |
static java.util.List<java.lang.String> |
getWriteFormats()
Returns the formats supported to write image files. |
static boolean |
isWriteFormatSupported(java.lang.String format)
Returns if the given format is supported for image files writing. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageFileFormats()
| Method Detail |
|---|
public static java.lang.String getExtension(java.io.File file)
file - the file whose extension is desired
filepublic static java.lang.String getSupportedFormats()
public static java.util.List<java.lang.String> getReadFormats()
public static java.util.List<java.lang.String> getWriteFormats()
public static boolean isWriteFormatSupported(java.lang.String format)
format - the candidate format to write file images
true if format is a supported format
for image files writing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||