public interface ContentConversionResult
Modifier and Type | Interface and Description |
---|---|
static class |
ContentConversionResult.ResultType
This enumeration is not supported.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getDeferralData()
Gets the referral data to use when asking for a conversion result at a later time for an asynchronous conversion.
|
int |
getDeferralDelay()
The wait in seconds to poll for the availability of the results for an asynchronous conversion.
|
ContentConversionResult.ResultType |
getResultType() |
java.io.InputStream |
getStreamResult()
Gets the result stream.
|
void |
setAbandonedResult()
Indicates that the conversion handler no longer has the results of the previously submitted asynchronous conversion.
|
void |
setDeferral(byte[] deferralData,
int deferralSeconds)
Indicates that the result is deferred for a later time.
|
void |
setStreamResult(java.io.InputStream s)
Sets an input stream that contains the results of the conversion.
|
void |
setUnableResult()
Indicates that the conversion handler is unable to convert the content.
|
ContentConversionResult.ResultType getResultType()
void setStreamResult(java.io.InputStream s)
s
- The input stream to set.java.io.InputStream getStreamResult()
void setDeferral(byte[] deferralData, int deferralSeconds)
deferralData
- byte An array value used by the content conversion handler to identify a conversion operation.deferralSeconds
- Indicates an estimate of the time at which the results will be available.byte[] getDeferralData()
int getDeferralDelay()
void setUnableResult()
void setAbandonedResult()
© Copyright IBM Corporation 2006, 2015. All rights reserved.