Class DocData


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

      • DocData

        public DocData()
    • Method Detail

      • 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()
      • 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)