public class DocData extends Object
Constructor and Description |
---|
DocData() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
String |
getBody() |
String |
getDate() |
String |
getName() |
Properties |
getProps() |
String |
getTitle() |
void |
setBody(String body) |
void |
setDate(Date date) |
void |
setDate(String date) |
void |
setName(String name) |
void |
setProps(Properties props) |
void |
setTitle(String title) |
public void clear()
public String getBody()
public String getDate()
DateTools.dateToString(Date, org.apache.lucene.document.DateTools.Resolution)
. Otherwise it's the String passed to the other ctor.public String getName()
public Properties getProps()
public String getTitle()
public void setBody(String body)
public void setDate(Date date)
public void setDate(String date)
public void setName(String name)
public void setProps(Properties props)
public void setTitle(String title)
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.