Package | Description |
---|---|
com.asprise.imaging.core | |
com.asprise.imaging.core.scan.twain |
Modifier and Type | Method and Description |
---|---|
Source |
Imaging.getSource(java.lang.String sourceName,
boolean nameOnly,
java.lang.String capsToRetrieve,
boolean getCurrent,
boolean detectDeviceType,
java.lang.String capsToSet)
Retrieve the source info optionally with caps.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Source> |
Imaging.scanListSources()
Lists all sources with names only.
|
java.util.List<Source> |
Imaging.scanListSources(boolean nameOnly,
java.lang.String capsToRetrieve,
boolean detectDeviceType,
boolean excludeTwainDsOnWia)
Retrieve list of sources (i.e., devices) optionally with caps; the default source has "default": true in JSON format.
|
java.util.List<Source> |
Imaging.scanListSourcesWithFullDetails()
Retrieve list of sources (i.e., devices) with all caps; the default source has "default": true in JSON format.
|
Modifier and Type | Method and Description |
---|---|
static Source |
Source.getDefaultSource(java.util.List<Source> sources)
Returns the first source marked as default in the first or null if not found
|
static Source |
Source.getSourceByName(java.util.List<Source> sources,
java.lang.String name)
Returns the source object with given name or null if not found
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<Source> |
Source.createSourceList(java.util.List jsonArray) |
Modifier and Type | Method and Description |
---|---|
static Source |
Source.getDefaultSource(java.util.List<Source> sources)
Returns the first source marked as default in the first or null if not found
|
static Source |
Source.getSourceByName(java.util.List<Source> sources,
java.lang.String name)
Returns the source object with given name or null if not found
|
v12.0.5.0 | Copyright © Asprise Software. All Rights Reserved. Please visit the product page at asprise.com