public interface ContentWriter
| Modifier and Type | Method and Description |
|---|---|
java.net.URI |
writeContent(java.io.InputStream content)
Abstract method to implement : the implementation is expected to save the content in common content repository of the platform and return the URI of the
save content.
|
java.net.URI |
writeExposedContent(java.io.InputStream content)
Abstract method to implement : the implementation is expected to save the content in a repository which enables end-user to access the content and return
the final URI of the save content (used for client).
|
java.net.URI writeContent(java.io.InputStream content)
throws org.ow2.weblab.core.extended.exception.WebLabCheckedException
content - an inputStream leading to the raw bytes of the contentres - a valid WebLab resource associated with the contentorg.ow2.weblab.core.extended.exception.WebLabCheckedExceptionjava.net.URI writeExposedContent(java.io.InputStream content)
throws org.ow2.weblab.core.extended.exception.WebLabCheckedException
content - an inputStream leading to the raw bytes of the contentres - a valid WebLab resource associated with the contentorg.ow2.weblab.core.extended.exception.WebLabCheckedExceptionCopyright © 2004-2012. All Rights Reserved.