edu.psu.ist.youseer
Class SubmitterDocument

java.lang.Object
  extended by edu.psu.ist.youseer.SubmitterDocument

public class SubmitterDocument
extends java.lang.Object


Field Summary
private  byte[] ByteContent
          The binary content of any not text document
private  java.lang.String ContainingFile
          The absolute path of the ARC file that contains this document
private  java.lang.String DataType
          i.e.
private  int Offset
          offset within the ARC file
private  java.lang.String RawTextContent
          The text content of the file before stripping
private  java.lang.String StrippedTextContent
          The file content after stripping the HTML tags
private  java.lang.String Title
          The title of the document
private  java.lang.String Url
          The URL of the document
 
Constructor Summary
SubmitterDocument(java.lang.String Url, byte[] buffer, java.lang.String dataType, java.lang.String containingFile, int recordOffset)
           
SubmitterDocument(java.lang.String Url, java.lang.String dataType, java.lang.String containingFile, int recordOffset)
           
SubmitterDocument(java.lang.String Url, java.lang.String RawTextContent, java.lang.String dataType, java.lang.String containingFile, int recordOffset)
           
 
Method Summary
 byte[] getByteContent()
           
 java.lang.String getContainingFile()
           
 java.lang.String getDataType()
           
 int getOffset()
           
 java.lang.String getRawTextContent()
           
 java.lang.String getStrippedTextContent()
           
 java.lang.String getTitle()
           
 java.lang.String getUrl()
           
 void setByteContent(byte[] buffer)
           
 void setDataType(java.lang.String DataType)
           
 void setRawTextContent(java.lang.String content)
           
 void setStrippedTextContent(java.lang.String StrippedTextContent)
           
 void setTitle(java.lang.String Title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ByteContent

private byte[] ByteContent
The binary content of any not text document


Title

private java.lang.String Title
The title of the document


DataType

private java.lang.String DataType
i.e. text/html, text/xml ...etc


Url

private java.lang.String Url
The URL of the document


RawTextContent

private java.lang.String RawTextContent
The text content of the file before stripping


StrippedTextContent

private java.lang.String StrippedTextContent
The file content after stripping the HTML tags


Offset

private int Offset
offset within the ARC file


ContainingFile

private java.lang.String ContainingFile
The absolute path of the ARC file that contains this document

Constructor Detail

SubmitterDocument

public SubmitterDocument(java.lang.String Url,
                         java.lang.String dataType,
                         java.lang.String containingFile,
                         int recordOffset)

SubmitterDocument

public SubmitterDocument(java.lang.String Url,
                         java.lang.String RawTextContent,
                         java.lang.String dataType,
                         java.lang.String containingFile,
                         int recordOffset)

SubmitterDocument

public SubmitterDocument(java.lang.String Url,
                         byte[] buffer,
                         java.lang.String dataType,
                         java.lang.String containingFile,
                         int recordOffset)
Method Detail

getRawTextContent

public java.lang.String getRawTextContent()

setRawTextContent

public void setRawTextContent(java.lang.String content)

setTitle

public void setTitle(java.lang.String Title)

getTitle

public java.lang.String getTitle()

setDataType

public void setDataType(java.lang.String DataType)

getDataType

public java.lang.String getDataType()

getUrl

public java.lang.String getUrl()

setStrippedTextContent

public void setStrippedTextContent(java.lang.String StrippedTextContent)

getStrippedTextContent

public java.lang.String getStrippedTextContent()

getByteContent

public byte[] getByteContent()

setByteContent

public void setByteContent(byte[] buffer)

getOffset

public int getOffset()

getContainingFile

public java.lang.String getContainingFile()