public class WiaDevice extends Device
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes it children.
|
String |
getDescription()
Description (optional)
|
String |
getDriverPath()
Driver path if available
|
String |
getDriverVersion()
Driver version if available
|
String |
getId()
ID of device or functional unit
|
String |
getName()
Name (optional)
|
String |
getPort()
Device port (optional)
|
boolean |
isDuplexReady()
Return true if this is a document feeder AND the duplexer is enabled and ready to use.
|
boolean |
isFeedReady()
Return true if this is a document feeder AND it has a page loaded and is ready for use.
|
boolean |
isFlatReady()
Return true if this is a flatbed AND it is ready for use.
|
boolean |
isScanner()
Whether the device is a scanner.
|
List<Capability> |
refreshCapabilities()
Refresh capabilities from the device.
|
String |
toString(boolean verbose,
boolean withCapabilities)
String representation of this device.
|
getDocumentFeeder, getFlatbed, getFunctionalUnits, refreshDeviceTree, toString
getCapabilities, getCapability, getCapabilityCurrentValueAsLong, getCapabilityCurrentValueAsString, getCapabilityValue, getCapabilityValueAsLong, getCapabilityValueAsString, isCapabilityDirty, setCapabilityDirty, setCapabilityValue
public void close() throws IOException
DeviceItem
close
in interface Closeable
close
in interface AutoCloseable
close
in class DeviceItem
IOException
public List<Capability> refreshCapabilities() throws ScanException
DeviceItem
refreshCapabilities
in class DeviceItem
ScanException
public String getId()
DeviceItem
getId
in class DeviceItem
public String getName()
DeviceItem
getName
in class DeviceItem
public String getDescription()
DeviceItem
getDescription
in class DeviceItem
public String getDriverPath()
Device
getDriverPath
in class Device
public String getDriverVersion()
Device
getDriverVersion
in class Device
public boolean isScanner()
Device
public boolean isDuplexReady()
Device
isDuplexReady
in class Device
public boolean isFeedReady()
Device
isFeedReady
in class Device
public boolean isFlatReady()
Device
isFlatReady
in class Device
Copyright © 2014 LAB Asprise. All Rights Reserved.