public class OptionParser
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
byte[] |
data
The byte array of the data without the header.
|
java.lang.Integer |
methodNumber
The number of the method.
|
java.lang.Integer |
outputLength
The length of the output array.
|
java.lang.Integer |
param
The integer encoding the parameter.
|
| Constructor and Description |
|---|
OptionParser(byte[] inputData)
Constructor to take the options from the byte array and allow
access to the options and the raw data.
|
OptionParser(java.lang.Integer methodNumber,
java.lang.Integer outputLength,
java.lang.Integer param)
Construct the option header from the input variables.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getHeader()
Get the header for this option as a byte array.
|
public byte[] data
public java.lang.Integer methodNumber
public java.lang.Integer outputLength
public java.lang.Integer param
public OptionParser(byte[] inputData)
inputData - the input byte array (with 12 byte header)public OptionParser(java.lang.Integer methodNumber,
java.lang.Integer outputLength,
java.lang.Integer param)
methodNumber - the number of the methodoutputLength - the length of the outputparam - the parameterCopyright © 2015-2019 RCSB PDB. All Rights Reserved.