|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--usb.jphoto.Buffer | +--usb.jphoto.Container | +--usb.jphoto.Data | +--usb.jphoto.DevicePropValue
DeviceProperty values wrap various types of integers and arrays of integers, and strings. It's sort of like a CORBA "Any", pairing a typecode and value, except that the typecode is known in advance so it's never marshaled.
DevicePropDesc
Field Summary | |
static int |
s128
|
static int |
s128array
|
static int |
s16
|
static int |
s16array
|
static int |
s32
|
static int |
s32array
|
static int |
s64
|
static int |
s64array
|
static int |
s8
|
static int |
s8array
|
static int |
string
Unicode string |
static int |
u128
Unsigned one hundred twenty eight bit integer |
static int |
u128array
Array of unsigned one hundred twenty eight bit integers |
static int |
u16
Unsigned sixteen bit integer |
static int |
u16array
Array of unsigned sixteen bit integers |
static int |
u32
Unsigned thirty two bit integer |
static int |
u32array
Array of unsigned thirty two bit integers |
static int |
u64
Unsigned sixty four bit integer |
static int |
u64array
Array of unsigned sixty four bit integers |
static int |
u8
Unsigned eight bit integer |
static int |
u8array
Array of unsigned eight bit integers |
Method Summary | |
java.lang.String |
getCodeName(int code)
Subclasses override this to map PTP codes to their names; the results are always interned strings, so that they can be efficiently compared ("=", "!=") against constants. |
int |
getTypeCode()
|
static java.lang.String |
getTypeName(int code)
Maps datatype codes to string names. |
java.lang.Object |
getValue()
|
Methods inherited from class usb.jphoto.Data |
toString |
Methods inherited from class usb.jphoto.Container |
getBlockType, getBlockTypeName, getCode, getCodeString, getCodeString, getCodeType, getLength, getXID |
Methods inherited from class usb.jphoto.Buffer |
getS16, getS32, getS64, getS8, getString, getU16, getU8, nextS16, nextS16Array, nextS32, nextS32Array, nextS64, nextS64Array, nextS8, nextS8Array, nextString, nextU16, nextU16Array, nextU8, nextU8Array, put16, put32, put64, put8, putString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int s8
public static final int u8
public static final int s16
public static final int u16
public static final int s32
public static final int u32
public static final int s64
public static final int u64
public static final int s128
public static final int u128
public static final int s8array
public static final int u8array
public static final int s16array
public static final int u16array
public static final int s32array
public static final int u32array
public static final int s64array
public static final int u64array
public static final int s128array
public static final int u128array
public static final int string
Method Detail |
public java.lang.Object getValue()
public int getTypeCode()
public java.lang.String getCodeName(int code)
Container
getCodeName
in class Data
public static java.lang.String getTypeName(int code)
code
- datatype code
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |