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, toStringgetCapabilities, getCapability, getCapabilityCurrentValueAsLong, getCapabilityCurrentValueAsString, getCapabilityValue, getCapabilityValueAsLong, getCapabilityValueAsString, isCapabilityDirty, setCapabilityDirty, setCapabilityValuepublic void close()
throws IOException
DeviceItemclose in interface Closeableclose in interface AutoCloseableclose in class DeviceItemIOExceptionpublic List<Capability> refreshCapabilities() throws ScanException
DeviceItemrefreshCapabilities in class DeviceItemScanExceptionpublic String getId()
DeviceItemgetId in class DeviceItempublic String getName()
DeviceItemgetName in class DeviceItempublic String getDescription()
DeviceItemgetDescription in class DeviceItempublic String getDriverPath()
DevicegetDriverPath in class Devicepublic String getDriverVersion()
DevicegetDriverVersion in class Devicepublic boolean isScanner()
Devicepublic boolean isDuplexReady()
DeviceisDuplexReady in class Devicepublic boolean isFeedReady()
DeviceisFeedReady in class Devicepublic boolean isFlatReady()
DeviceisFlatReady in class DeviceCopyright © 2014 LAB Asprise. All Rights Reserved.