public class WiaDevice extends Device
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes it children.
|
String |
getDescription()
Description (optional)
|
FunctionalUnit |
getDocumentFeeder()
Finds the first document feeder functional unit
|
String |
getDriverPath()
Driver path if available
|
String |
getDriverVersion()
Driver version if available
|
FunctionalUnit |
getFlatbed()
Finds the first flatbed functional unit.
|
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.
|
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 Devicepublic FunctionalUnit getFlatbed()
DevicegetFlatbed in class Devicenull if none is found.public FunctionalUnit getDocumentFeeder()
DevicegetDocumentFeeder in class Devicenull if none is found.Copyright © Asprise Software. All Rights Reserved. Please visit the product page at asprise.com