usb.jphoto
Class DeviceInfo

java.lang.Object
  |
  +--usb.jphoto.Buffer
        |
        +--usb.jphoto.Container
              |
              +--usb.jphoto.Data
                    |
                    +--usb.jphoto.DeviceInfo

public class DeviceInfo
extends Data

DeviceInfo describes device functionality such supported image formats, operations, events, and device properties.


Method Summary
 boolean supportsCaptureFormat(int formatCode)
          Returns true iff the device supports this capture format
 boolean supportsEvent(int eventCode)
          Returns true iff the device supports this event
 boolean supportsImageFormat(int formatCode)
          Returns true iff the device supports this image format
 boolean supportsOperation(int opCode)
          Returns true iff the device supports this operation
 boolean supportsProperty(int propCode)
          Returns true iff the device supports this property
 
Methods inherited from class usb.jphoto.Data
getCodeName, 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
 

Method Detail

supportsOperation

public boolean supportsOperation(int opCode)
Returns true iff the device supports this operation

supportsEvent

public boolean supportsEvent(int eventCode)
Returns true iff the device supports this event

supportsProperty

public boolean supportsProperty(int propCode)
Returns true iff the device supports this property

supportsCaptureFormat

public boolean supportsCaptureFormat(int formatCode)
Returns true iff the device supports this capture format

supportsImageFormat

public boolean supportsImageFormat(int formatCode)
Returns true iff the device supports this image format


Associated source code is licenced under the GPL.
See http://jphoto.sourceforge.net
This documentation was derived from that source code on 2001-04-12.