public abstract class Device extends DeviceItem
Modifier and Type | Method and Description |
---|---|
FunctionalUnit |
getDocumentFeeder()
Finds the first document feeder functional unit
|
abstract String |
getDriverPath()
Driver path if available
|
abstract String |
getDriverVersion()
Driver version if available
|
FunctionalUnit |
getFlatbed()
Finds the first flatbed functional unit.
|
List<FunctionalUnit> |
getFunctionalUnits()
Return list of functional units available on the device - WARN: do not modify the returned list
|
abstract String |
getPort()
Device port (optional)
|
abstract boolean |
isDuplexReady()
Return true if this is a document feeder AND the duplexer is enabled and ready to use.
|
abstract boolean |
isFeedReady()
Return true if this is a document feeder AND it has a page loaded and is ready for use.
|
abstract boolean |
isFlatReady()
Return true if this is a flatbed AND it is ready for use.
|
abstract boolean |
isScanner()
Whether the device is a scanner.
|
List<Capability> |
refreshDeviceTree(Device refreshedDevice,
DeviceItem returnChangedFor) |
String |
toString() |
abstract String |
toString(boolean verbose,
boolean withCapabilities)
String representation of this device.
|
close, getCapabilities, getCapability, getCapabilityCurrentValueAsLong, getCapabilityCurrentValueAsString, getCapabilityValue, getCapabilityValueAsLong, getCapabilityValueAsString, getDescription, getId, getName, isCapabilityDirty, refreshCapabilities, setCapabilityDirty, setCapabilityValue
public List<Capability> refreshDeviceTree(Device refreshedDevice, DeviceItem returnChangedFor)
public abstract boolean isScanner()
public abstract String getPort()
public abstract String getDriverPath()
public abstract String getDriverVersion()
public List<FunctionalUnit> getFunctionalUnits()
public FunctionalUnit getFlatbed()
null
if none is found.public FunctionalUnit getDocumentFeeder()
null
if none is found.public abstract boolean isDuplexReady()
public abstract boolean isFeedReady()
public abstract boolean isFlatReady()
public abstract String toString(boolean verbose, boolean withCapabilities)
Copyright © 2014 LAB Asprise. All Rights Reserved.