org.apache.lucene.benchmark.byTask.feeds
Class DocData
java.lang.Object
org.apache.lucene.benchmark.byTask.feeds.DocData
public class DocData
- extends Object
Output of parsing (e.g. HTML parsing) of an input document.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocData
public DocData()
clear
public void clear()
getBody
public String getBody()
getDate
public String getDate()
- Returns:
- the date. If the ctor with Date was called, then the String
returned is the output of
DateTools.dateToString(Date, org.apache.lucene.document.DateTools.Resolution)
. Otherwise it's the String passed to the other ctor.
getName
public String getName()
getID
public int getID()
getProps
public Properties getProps()
getTitle
public String getTitle()
setBody
public void setBody(String body)
setDate
public void setDate(Date date)
setDate
public void setDate(String date)
setName
public void setName(String name)
setID
public void setID(int id)
setProps
public void setProps(Properties props)
setTitle
public void setTitle(String title)
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.