com.ibm.lotus.search.providers.content.seedlist.common
Interface DocumentContent


public interface DocumentContent

Represents indexable content of a single document. A document content is provided by InputStream object. It also may provide information about document's encoding, MIME type and locale preferences.

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

Method Summary
 java.io.InputStream getContent()
          Returns the published document content
 java.lang.String getEncoding()
          Returns the encoding of this document content
 java.util.Locale getLocale()
          Returns Locale object that represents language of the content
 java.lang.String getType()
          Returns the document content MIME media type
 

Method Detail

getContent

java.io.InputStream getContent()
Returns the published document content

Returns:
document content stream

getType

java.lang.String getType()
Returns the document content MIME media type

Returns:
document content MIME media type

getLocale

java.util.Locale getLocale()
Returns Locale object that represents language of the content

Returns:
document content Locale

getEncoding

java.lang.String getEncoding()
Returns the encoding of this document content

Returns:
the encoding of this document content, null if unknown