|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Converter
Converter is an interface describing a mechanism for converting image files or arbitrary encoding into compressed PPM files.
| Method Summary | |
|---|---|
void |
convert(File imageFile,
File compressedPpmFile)
Convert the given image file to a compressed portable pixmap (PPM) file. |
String |
getCompressedFileExtension()
Return the canonical extension for files compressed with this Converter. |
| Method Detail |
|---|
void convert(File imageFile,
File compressedPpmFile)
throws IOException
imageFile - downloaded image filecompressedPpmFile - location of gzipped, PPM file
IOException - if there is an error converting or compressing the
fileString getCompressedFileExtension()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||