com.timeindexing.data
Class CharItem

java.lang.Object
  extended by com.timeindexing.data.AbstractDataItem
      extended by com.timeindexing.data.CharItem
All Implemented Interfaces:
DataItem

public class CharItem
extends AbstractDataItem
implements DataItem

A item of data presented by a data reader This is an implementation of CharItem.


Constructor Summary
CharItem(char f)
          Construct a CharItem from a char
CharItem(java.lang.Character f)
          Construct a CharItem from an Char
 
Method Summary
 java.nio.ByteBuffer getBytes()
          Get the data itself
 DataType getDataType()
          Get the DataType of the DataItem.
 java.lang.Object getObject()
          Get the Character object from this CharItem.
 long getSize()
          Get the size of the item
 
Methods inherited from class com.timeindexing.data.AbstractDataItem
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CharItem

public CharItem(char f)
Construct a CharItem from a char


CharItem

public CharItem(java.lang.Character f)
Construct a CharItem from an Char

Method Detail

getBytes

public java.nio.ByteBuffer getBytes()
Get the data itself

Specified by:
getBytes in interface DataItem

getSize

public long getSize()
Get the size of the item

Specified by:
getSize in interface DataItem

getDataType

public DataType getDataType()
Get the DataType of the DataItem.

Specified by:
getDataType in interface DataItem

getObject

public java.lang.Object getObject()
Get the Character object from this CharItem.

Specified by:
getObject in interface DataItem
Returns:
a Character


Timeindexing 2008