| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
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 |
---|
java.io.InputStream getContent()
java.lang.String getType()
java.util.Locale getLocale()
java.lang.String getEncoding()
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |