|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lizardtech.djvu.DjVuObject
com.lizardtech.djvu.DjVuInfo
public class DjVuInfo
This codec represents global information about a page.
Field Summary | |
---|---|
int |
dpi
The scanned resolution. |
int |
flags
Flags with addition details. |
double |
gamma
The gamma correction factor. |
int |
height
The height of the page in pixels at scanned resolution. |
int |
version
The version of the format specification this page complies with. |
int |
width
The width of the page in pixels at scanned resolution. |
Fields inherited from class com.lizardtech.djvu.DjVuObject |
---|
hasReferences |
Constructor Summary | |
---|---|
DjVuInfo()
Creates a new DjVuInfo object. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Create a clone of this object. |
static DjVuInfo |
createDjVuInfo(DjVuInterface ref)
Creates an instance of DjVuInfo with the options interherited from the specified reference. |
void |
decode(DataPool pool)
Decode this codec from the gived data source. |
boolean |
isImageData()
Query if this is image data. |
Methods inherited from class com.lizardtech.djvu.DjVuObject |
---|
checkLockTime, create, create, createSoftReference, createWeakReference, getDjVuOptions, getFromReference, invoke, setDjVuOptions |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.lizardtech.djvu.DjVuInterface |
---|
getDjVuOptions, setDjVuOptions |
Field Detail |
---|
public double gamma
public int dpi
public int flags
public int height
public int version
public int width
Constructor Detail |
---|
public DjVuInfo()
Method Detail |
---|
public boolean isImageData()
isImageData
in interface Codec
public static DjVuInfo createDjVuInfo(DjVuInterface ref)
ref
- Object to interherit DjVuOptions from.
public java.lang.Object clone()
clone
in class java.lang.Object
public void decode(DataPool pool) throws java.io.IOException
decode
in interface Codec
pool
- data source to decode
java.io.IOException
- if an error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |