|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--usb.devices.Kodak
Simple wrapper for Kodak DC 240, 280, 3400, DC-5000 cameras. These cameras support a common protocol family. A full camera driver would be substantial; it might become part of a project such as jPhoto.
Constructor Summary | |
Kodak(Device dev)
Wraps access to the specified camera. |
Method Summary | |
void |
close()
|
void |
finalize()
|
java.lang.String |
getBatteryStatus()
returns good, weak, or empty |
byte[] |
getCameraStatus()
Updates the local copy of the camera status table, and returns a copy of it. |
java.lang.String |
getCameraType()
returns string naming camera type, such as DC-240 or DC-280 |
java.lang.String |
getDriverMode()
Returns a string identifying the driver mode (kernel, user). |
int |
getNumPicturesInCard()
|
boolean |
isPowerConnected()
|
void |
printSomeStatus(int indent)
|
void |
setTime(long time)
Set's the camera's clock to match the local time. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Kodak(Device dev) throws java.io.IOException
Method Detail |
public void finalize()
finalize
in class java.lang.Object
public void close() throws java.io.IOException
java.io.IOException
public byte[] getCameraStatus() throws java.io.IOException
java.io.IOException
public java.lang.String getCameraType()
public java.lang.String getBatteryStatus()
public boolean isPowerConnected()
public int getNumPicturesInCard()
public void setTime(long time) throws java.io.IOException
java.io.IOException
public java.lang.String getDriverMode()
public void printSomeStatus(int indent) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |