|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.search.documents.A_CmsVfsDocument
org.opencms.search.documents.CmsDocumentRtf
public class CmsDocumentRtf
Lucene document factory class to extract index data from a cms resource containing RTF data.
Field Summary |
---|
Fields inherited from class org.opencms.search.documents.A_CmsVfsDocument |
---|
m_name, SEARCH_PRIORITY_HIGH_VALUE, SEARCH_PRIORITY_LOW_VALUE, SEARCH_PRIORITY_MAX_VALUE, SEARCH_PRIORITY_NORMAL_VALUE, VFS_DOCUMENT_KEY_PREFIX |
Constructor Summary | |
---|---|
CmsDocumentRtf(java.lang.String name)
Creates a new instance of this lucene document factory. |
Method Summary | |
---|---|
I_CmsExtractionResult |
extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Returns the raw text content of a given vfs resource containing RTF data. |
boolean |
isLocaleDependend()
Returns true if this document factory is locale depended. |
boolean |
isUsingCache()
Returns true if result caching is supported for this factory. |
Methods inherited from class org.opencms.search.documents.A_CmsVfsDocument |
---|
createDocument, getCache, getDocumentKey, getDocumentKeys, getName, readFile, setCache |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsDocumentRtf(java.lang.String name)
name
- name of the documenttypeMethod Detail |
---|
public I_CmsExtractionResult extractContent(CmsObject cms, CmsResource resource, CmsSearchIndex index) throws CmsException
cms
- the cms objectresource
- the resource to extract the content fromindex
- the index to extract the content for
CmsException
- if somethin goes wrongI_CmsSearchExtractor.extractContent(CmsObject, CmsResource, CmsSearchIndex)
public boolean isLocaleDependend()
I_CmsDocumentFactory
true
if this document factory is locale depended.
true
if this document factory is locale dependedI_CmsDocumentFactory.isLocaleDependend()
public boolean isUsingCache()
I_CmsDocumentFactory
true
if result caching is supported for this factory.
true
if result caching is supported for this factoryI_CmsDocumentFactory.isUsingCache()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |