com.filenet.api.engine

Interface ContentConversionResult



  • public interface ContentConversionResult
    This interface is not supported.
    • Method Summary

      Methods 
      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.
    • Method Detail

      • setStreamResult

        void setStreamResult(java.io.InputStream s)
        Sets an input stream that contains the results of the conversion.
        Parameters:
        s - The input stream to set.
      • getStreamResult

        java.io.InputStream getStreamResult()
        Gets the result stream.
        Returns:
        InputStream
      • setDeferral

        void setDeferral(byte[] deferralData,
                       int deferralSeconds)
        Indicates that the result is deferred for a later time.
        Parameters:
        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.
      • getDeferralData

        byte[] getDeferralData()
        Gets the referral data to use when asking for a conversion result at a later time for an asynchronous conversion.
      • getDeferralDelay

        int getDeferralDelay()
        The wait in seconds to poll for the availability of the results for an asynchronous conversion.
        Returns:
        The time in seconds.
      • setUnableResult

        void setUnableResult()
        Indicates that the conversion handler is unable to convert the content.
      • setAbandonedResult

        void setAbandonedResult()
        Indicates that the conversion handler no longer has the results of the previously submitted asynchronous conversion.

© Copyright IBM Corporation 2006, 2015. All rights reserved.