public final class Operator extends Object
Modifier and Type | Method and Description |
---|---|
byte[] |
getImageData()
This is the special case for the ID operator where there are just random
bytes inlined the stream.
|
COSDictionary |
getImageParameters()
This will get the image parameters, this is only valid for BI operators.
|
String |
getName()
This will get the name of the operator.
|
static Operator |
getOperator(String operator)
This is used to create/cache operators in the system.
|
void |
setImageData(byte[] imageDataArray)
This will set the image data, this is only used for the ID operator.
|
void |
setImageParameters(COSDictionary params)
This will set the image parameters, this is only valid for BI operators.
|
String |
toString()
This will print a string rep of this class.
|
public static Operator getOperator(String operator)
operator
- The operator for the system.public String getName()
public String toString()
public byte[] getImageData()
public void setImageData(byte[] imageDataArray)
imageDataArray
- New value of property imageData.public COSDictionary getImageParameters()
public void setImageParameters(COSDictionary params)
params
- The image parameters.Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.