public final class ObexAppParameters extends Object
Constructor and Description |
---|
ObexAppParameters() |
ObexAppParameters(byte[] raw) |
Modifier and Type | Method and Description |
---|---|
void |
add(byte tag,
byte val) |
void |
add(byte tag,
byte[] bval) |
void |
add(byte tag,
int val) |
void |
add(byte tag,
long val) |
void |
add(byte tag,
short val) |
void |
add(byte tag,
String val) |
void |
addToHeaderSet(HeaderSet headerset) |
boolean |
exists(byte tag) |
static ObexAppParameters |
fromHeaderSet(HeaderSet headerset) |
byte |
getByte(byte tag) |
byte[] |
getByteArray(byte tag) |
byte[] |
getHeader() |
int |
getInt(byte tag) |
short |
getShort(byte tag) |
String |
getString(byte tag) |
String |
toString()
Returns a string representation of the object.
|
public ObexAppParameters()
public ObexAppParameters(byte[] raw)
public static ObexAppParameters fromHeaderSet(HeaderSet headerset)
public byte[] getHeader()
public void addToHeaderSet(HeaderSet headerset)
public boolean exists(byte tag)
public void add(byte tag, byte val)
public void add(byte tag, short val)
public void add(byte tag, int val)
public void add(byte tag, long val)
public void add(byte tag, String val)
public void add(byte tag, byte[] bval)
public byte getByte(byte tag)
public short getShort(byte tag)
public int getInt(byte tag)
public String getString(byte tag)
public byte[] getByteArray(byte tag)
public String toString()
Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())