org.ow2.weblab.content.api
Interface ContentReader

All Known Implementing Classes:
FileContentManager

public interface ContentReader

An interface to be implemented for use with ContentManager. It enable to read content from a common content repository.


Method Summary
 java.io.File readContent(java.net.URI destUri)
          Abstract method to implement: the class is expected to save the content and return the URI of the save content.
 

Method Detail

readContent

java.io.File readContent(java.net.URI destUri)
                         throws org.ow2.weblab.core.extended.exception.WebLabCheckedException
Abstract method to implement: the class is expected to save the content and return the URI of the save content.

Parameters:
destUri - the URI of the content to read
Returns:
a java File which should be ready to be used with read rights.
Throws:
org.ow2.weblab.core.extended.exception.WebLabCheckedException


Copyright © 2004-2011. All Rights Reserved.