public class ImageFileFormat extends Object implements FileFormat
| Constructor and Description |
|---|
ImageFileFormat() |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getFileExtensions()
The file extensions supported by this file format.
|
boolean |
isWriteSupported()
Whether writes are supported.
|
Object |
readValue(InputStream in)
Reads the value from the given stream.
|
void |
writeValue(Object value,
OutputStream out)
Write the value to the given stream.
|
public Object readValue(InputStream in) throws Exception
FileFormatreadValue in interface FileFormatin - a stream; not nullException - any errorpublic void writeValue(Object value, OutputStream out)
FileFormatwriteValue in interface FileFormatvalue - the value to write; not nullout - the output stream; not nullpublic boolean isWriteSupported()
FileFormatisWriteSupported in interface FileFormatpublic Collection<String> getFileExtensions()
FileFormatgetFileExtensions in interface FileFormatCopyright © 2010–2015. All rights reserved.