public class ImageConversionRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
format |
protected List<String> |
params |
| Constructor and Description |
|---|
ImageConversionRequest(byte[] in,
String format,
ImageConversionReceiver receiver,
List<String> params) |
ImageConversionRequest(InputStream in,
String format,
ImageConversionReceiver receiver,
List<String> params) |
ImageConversionRequest(List<String> params,
byte[] in,
String format,
MMObjectNode icacheNode) |
| Modifier and Type | Method and Description |
|---|---|
(package private) int |
count()
Returns how many request are waiting for the result of this image transformation.
|
(package private) byte[] |
getByteArray() |
(package private) InputStream |
getInput()
The byte[] on which the conversion must happen.
|
(package private) String |
getInputFormat() |
(package private) List<String> |
getParams()
The parameters describing the conversion.
|
ImageConversionReceiver |
getReceiver() |
(package private) void |
ready() |
void |
waitForConversion()
Waits until the conversion result is ready.
|
public ImageConversionRequest(List<String> params, byte[] in, String format, MMObjectNode icacheNode)
public ImageConversionRequest(byte[] in,
String format,
ImageConversionReceiver receiver,
List<String> params)
public ImageConversionRequest(InputStream in, String format, ImageConversionReceiver receiver, List<String> params)
InputStream getInput()
byte[] getByteArray()
throws IOException
IOExceptionString getInputFormat()
public ImageConversionReceiver getReceiver()
public void waitForConversion()
void ready()
int count()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}