org.apache.lucene.benchmark.byTask.feeds

Class DocData

public class DocData extends Object

Output of parsing (e.g. HTML parsing) of an input document.
Constructor Summary
DocData(String name, String body, String title, Properties props, Date date)
Method Summary
StringgetBody()
DategetDate()
StringgetName()
PropertiesgetProps()
StringgetTitle()
voidsetBody(String body)
voidsetDate(Date date)
voidsetName(String name)
voidsetProps(Properties props)
voidsetTitle(String title)

Constructor Detail

DocData

public DocData(String name, String body, String title, Properties props, Date date)

Method Detail

getBody

public String getBody()

Returns: Returns the body.

getDate

public Date getDate()

Returns: Returns the date.

getName

public String getName()

Returns: Returns the name.

getProps

public Properties getProps()

Returns: Returns the props.

getTitle

public String getTitle()

Returns: Returns the title.

setBody

public void setBody(String body)

Parameters: body The body to set.

setDate

public void setDate(Date date)

Parameters: date The date to set.

setName

public void setName(String name)

Parameters: name The name to set.

setProps

public void setProps(Properties props)

Parameters: props The props to set.

setTitle

public void setTitle(String title)

Parameters: title The title to set.

Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.