edu.umd.cloud9.collection.aquaint2
Class Aquaint2Document
java.lang.Object
edu.umd.cloud9.collection.Indexable
edu.umd.cloud9.collection.aquaint2.Aquaint2Document
- All Implemented Interfaces:
- Writable
public class Aquaint2Document
- extends Indexable
XML_START_TAG
public static final String XML_START_TAG
- See Also:
- Constant Field Values
XML_END_TAG
public static final String XML_END_TAG
- See Also:
- Constant Field Values
Aquaint2Document
public Aquaint2Document()
write
public void write(DataOutput out)
throws IOException
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Throws:
IOException
getDocid
public String getDocid()
- Description copied from class:
Indexable
- Returns the globally-unique String identifier of the document within the
collection.
- Specified by:
getDocid in class Indexable
getContent
public String getContent()
- Description copied from class:
Indexable
- Returns the content of the document.
- Specified by:
getContent in class Indexable
readDocument
public static void readDocument(Aquaint2Document doc,
String s)