local.tomas.obex.api
Class ObexByteArrayHeader
java.lang.Object
local.tomas.obex.api.ObexHeader
local.tomas.obex.api.ObexByteArrayHeader
public class ObexByteArrayHeader
- extends ObexHeader
| Fields inherited from class local.tomas.obex.api.ObexHeader |
APP_PARAMETERS, AUTH_CHALLENGE, AUTH_RESPONSE, BODY_CHUNK, BODY_END, CONNECTION_ID, COUNT, DESCRIPTION, HTTP, LENGTH, NAME, OBJECT_CLASS, TARGET, TIME, TYPE, WHO |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HEADER_SIZE
public static final int HEADER_SIZE
- See Also:
- Constant Field Values
HEADER_TYPE
public static final int HEADER_TYPE
- See Also:
- Constant Field Values
ObexByteArrayHeader
public ObexByteArrayHeader(int headerId,
byte[] value,
int start,
int length)
ObexByteArrayHeader
public ObexByteArrayHeader(int headerId,
byte[] value)
ObexByteArrayHeader
public ObexByteArrayHeader(int headerId,
java.lang.String value)
ObexByteArrayHeader
public ObexByteArrayHeader(int headerId,
java.util.Date value)
getValue
public byte[] getValue()
getValueAsString
public java.lang.String getValueAsString()
getValueAsTime
public java.util.Date getValueAsTime()
throws ObexException
- Throws:
ObexException
sendBodyTo
protected void sendBodyTo(ObexPacketBuilder builder)
throws ObexException
- Specified by:
sendBodyTo in class ObexHeader
- Throws:
ObexException
getHeaderType
public int getHeaderType()
- Specified by:
getHeaderType in class ObexHeader
Copyright © 2007 null. All Rights Reserved.