com.ibm.portal.resolver.data
Interface CharDataSource

All Superinterfaces:
Addressable, DataSource, Disposable, TimeStamped

public interface CharDataSource
extends DataSource

Implemented by providers of character data streams. The stream provider must be able to copy the content of the character stream onto the output writer that is passed as a parameter.

Since:
6.1.0
Note:
This interface is designed to be implemented by clients.

Method Summary
 java.io.Writer java.io.Writer)">write(java.io.Writer out)
          Copies the complete character content to the output writer
 
Methods inherited from interface com.ibm.portal.resolver.data.DataSource
getContentType, getExpiration
 
Methods inherited from interface com.ibm.portal.resolver.data.Addressable
getParameters, getURI
 
Methods inherited from interface com.ibm.portal.TimeStamped
getCreated, getLastModified
 
Methods inherited from interface com.ibm.portal.Disposable
dispose
 

Method Detail
java.io.Writer)">

write

java.io.Writer write(java.io.Writer out)
                     throws java.io.IOException
Copies the complete character content to the output writer

Parameters:
out - target writer to copy the content to
Returns:
reference to the target writer to support method chaining
Throws:
java.io.IOException - - if the data could not be copied