|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.siam.devices.nortek.vector.DataStructure
public class DataStructure
Data structure represents data generated by the Aquadopp, and includes method to read the data.
| Constructor Summary | |
|---|---|
DataStructure()
|
|
| Method Summary | |
|---|---|
byte |
id()
Return id of this structure. |
static byte |
id(byte[] dataBytes)
Return id of this structure. |
static boolean |
isHRProfilerData(byte[] dataBytes)
|
static boolean |
isInstrumentConfiguration(byte[] dataBytes)
|
static boolean |
isProfilerVelocityData(byte[] dataBytes)
|
static boolean |
isVectorVelocityData(byte[] dataBytes)
|
static int |
read(java.io.InputStream input,
byte[] dataBytes,
long startTimeout)
Read raw bytes of a single data structure from the input stream. |
void |
setBytes(byte[] dataBytes)
Set contents of raw data byte array. |
java.lang.String |
toString()
String representation |
short |
totalWords()
Return total words in this structure. |
static short |
totalWords(byte[] dataBytes)
Return total words in this structure. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DataStructure()
| Method Detail |
|---|
public static boolean isInstrumentConfiguration(byte[] dataBytes)
public static boolean isHRProfilerData(byte[] dataBytes)
public static boolean isProfilerVelocityData(byte[] dataBytes)
public static boolean isVectorVelocityData(byte[] dataBytes)
public byte id()
public static byte id(byte[] dataBytes)
public short totalWords()
public static short totalWords(byte[] dataBytes)
public void setBytes(byte[] dataBytes)
public java.lang.String toString()
toString in class java.lang.Object
public static int read(java.io.InputStream input,
byte[] dataBytes,
long startTimeout)
throws TimeoutException,
java.io.IOException,
java.lang.Exception
TimeoutException
java.io.IOException
java.lang.Exception
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||