|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.timeindexing.index.Description
This class represents a description which is part of an index header. The description can be any number of bytes, and need not be textual.
Constructor Summary | |
Description()
Construct a description. |
|
Description(byte[] theBytes,
DataType type)
Construct a description from a byte[] and a data type. |
|
Description(byte[] theBytes,
int type)
Construct a description from a byte[] and a data type. |
|
Description(java.nio.ByteBuffer buffer,
DataType type)
Construct a description from a ByteBuffer and a data type. |
|
Description(java.nio.ByteBuffer buffer,
int type)
Construct a description from a byte[] and a data type. |
|
Description(java.lang.String desc)
A text description. |
Method Summary | |
java.nio.ByteBuffer |
getByteBuffer()
Get the data s a ByteBuffer. |
byte[] |
getBytes()
Get the bytes. |
DataType |
getDataType()
Get the data type. |
int |
length()
Get the length of the description. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Description()
public Description(java.lang.String desc)
public Description(byte[] theBytes, int type)
public Description(byte[] theBytes, DataType type)
public Description(java.nio.ByteBuffer buffer, int type)
public Description(java.nio.ByteBuffer buffer, DataType type)
Method Detail |
public java.nio.ByteBuffer getByteBuffer()
public byte[] getBytes()
public DataType getDataType()
public int length()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |