com.fatwire.agent
Class ItemTokens

java.lang.Object
  extended by com.fatwire.agent.ItemTokens

public class ItemTokens
extends java.lang.Object

Item tokens. This class is used to store IItem tokens. Tokens mean the item contents in textual format. For example, for text, MS Word, PDF files it is their text contents. This textual data is relatively large comparing to the textual metadata (e.g. author or title) and actually means the item contents itself (in contrary to metadata which is an auxilary information). Tokens are usually zip-archieved.


Constructor Summary
ItemTokens(byte[] bytes)
          Constructor.
 
Method Summary
 byte[] getBytes()
          Retrieves item tokens in zipped bytes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemTokens

public ItemTokens(byte[] bytes)
Constructor.

Parameters:
bytes - zipped item tokens.
Method Detail

getBytes

public byte[] getBytes()
Retrieves item tokens in zipped bytes.

Returns:
item tokens.