|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.media.jai.codec.PNMEncodeParam
public class PNMEncodeParam
An instance of ImageEncodeParam
for encoding images in
the PNM format.
This class allows for the specification of whether to encode in the ASCII or raw variants of the PBM, PGM, and PPM formats. By default, raw encoding is used.
This class is not a committed part of the JAI API. It may be removed or changed in future releases of JAI.
Constructor Summary | |
---|---|
PNMEncodeParam()
Constructs a PNMEncodeParam object with default values for parameters. |
Method Summary | |
---|---|
boolean |
getRaw()
Returns the value of the raw parameter. |
void |
setRaw(boolean raw)
Sets the representation to be used. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PNMEncodeParam()
Method Detail |
---|
public void setRaw(boolean raw)
raw
parameter is true
, raw encoding will be used;
otherwise ASCII encoding will be used.
raw
- true
if raw format is to be used.public boolean getRaw()
raw
parameter.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |