|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Codec
Creates a contract that an object may be initialized simply by passing a DataPool with the relevant chunk. This is used for decoding a document without knowing the particulars about a chunk type at runtime.
Method Summary | |
---|---|
void |
decode(DataPool pool)
Initialize the object from the specified data. |
boolean |
isImageData()
Query if this is image data. |
Methods inherited from interface com.lizardtech.djvu.DjVuInterface |
---|
getDjVuOptions, setDjVuOptions |
Method Detail |
---|
void decode(DataPool pool) throws java.io.IOException
pool
- data to decode
java.io.IOException
- if an error occursboolean isImageData()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |