|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContentWriter
An interface to be implemented for use with ContentManager. It enable to save content in a common content repository.
| Method Summary | |
|---|---|
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). |
| Method Detail |
|---|
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 content
org.ow2.weblab.core.extended.exception.WebLabCheckedException
java.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 content
org.ow2.weblab.core.extended.exception.WebLabCheckedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||