public class DocData extends Object
Constructor and Description |
---|
DocData() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
String |
getBody() |
String |
getDate() |
int |
getID() |
String |
getName() |
Properties |
getProps() |
String |
getTitle() |
void |
setBody(String body) |
void |
setDate(Date date) |
void |
setDate(String date) |
void |
setID(int id) |
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 int getID()
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 setID(int id)
public void setProps(Properties props)
public void setTitle(String title)