org.silverpeas.search.indexEngine.model
Class TextDescription
java.lang.Object
org.silverpeas.search.indexEngine.model.TextDescription
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- XMLFieldDescription
public class TextDescription
- extends Object
- implements Serializable
A ContentDescription pack all the needed information to parse and index a content. We need :
- the content itself
- the language of the file
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextDescription
public TextDescription(String content,
String lang)
getContent
public String getContent()
- Return the content itself
getLang
public String getLang()
- Return the content language
Copyright © 2016 Silverpeas. All Rights Reserved.