Interface ExportContext

    • Method Detail

      • getExportRoot

        Item getExportRoot()
        Returns the item to be exported
      • getOutputStream

        OutputStream getOutputStream()
        Return the output stream to be used for the export or null
        Returns:
        output stream or null
      • setContentType

        void setContentType​(String mimeType,
                            String encoding)
        Set the content type for the resource content
      • setContentLanguage

        void setContentLanguage​(String contentLanguage)
        Sets the content language.
      • setContentLength

        void setContentLength​(long contentLength)
        Sets the length of the data.
        Parameters:
        contentLength - the content length
      • setCreationTime

        void setCreationTime​(long creationTime)
        Sets the creation time of the resource. A successful properties export may set this member.
        Parameters:
        creationTime - the creation time
      • setModificationTime

        void setModificationTime​(long modificationTime)
        Sets the modification time of the resource
        Parameters:
        modificationTime - the modification time
      • setETag

        void setETag​(String etag)
        Sets the ETag of the resource. A successful export command may set this member.
        Parameters:
        etag - the ETag
      • setProperty

        void setProperty​(Object propertyName,
                         Object propertyValue)
        Sets an arbitrary property to this export context.