FileDocCategorySizeDatePackage
DocData.javaAPI DocApache Lucene 2.2.02374Sat Jun 16 22:20:58 BST 2007org.apache.lucene.benchmark.byTask.feeds

DocData

public class DocData extends Object
Output of parsing (e.g. HTML parsing) of an input document.

Fields Summary
private String
name
private String
body
private String
title
private Date
date
private Properties
props
Constructors Summary
public DocData(String name, String body, String title, Properties props, Date date)

    this.name = name;
    this.body = body;
    this.title = title;
    this.date = date;
    this.props = props;
  
Methods Summary
public java.lang.StringgetBody()

return
Returns the body.

    return body;
  
public java.util.DategetDate()

return
Returns the date.

    return date;
  
public java.lang.StringgetName()

return
Returns the name.

    return name;
  
public java.util.PropertiesgetProps()

return
Returns the props.

    return props;
  
public java.lang.StringgetTitle()

return
Returns the title.

    return title;
  
public voidsetBody(java.lang.String body)

param
body The body to set.

    this.body = body;
  
public voidsetDate(java.util.Date date)

param
date The date to set.

    this.date = date;
  
public voidsetName(java.lang.String name)

param
name The name to set.

    this.name = name;
  
public voidsetProps(java.util.Properties props)

param
props The props to set.

    this.props = props;
  
public voidsetTitle(java.lang.String title)

param
title The title to set.

    this.title = title;