public class BarcodeDefaults extends java.lang.Object implements PropertyGetter
BarcodeDefaults provides methods to retrieve default decoder
properties.| Constructor and Description |
|---|
BarcodeDefaults()
This is the constructor of BarcodeDefaults.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPropertyAvailability(int[] id_buffer,
boolean[] availability_buffer)
Retrieves the availability, the support, for the passed programming parameters.
|
int |
getPropertyInts(int[] id_buffer,
int[] value_buffer)
Retrieves the default Property integer values associated to specific IDs.
|
int |
getPropertyRanges(int[] id_buffer,
int[][] property_ranges)
Gets one or more property ranges for the passed programming parameters.
|
int |
getPropertyStrings(int[] id_buffer,
java.lang.String[] value_buffer)
Retrieves the default Property String values associated to specific IDs.
|
public BarcodeDefaults()
public int getPropertyInts(int[] id_buffer,
int[] value_buffer)
getPropertyInts in interface PropertyGetterid_buffer - A int[] buffer containing numeric IDs.value_buffer - A int[] buffer containing all the corresponding values associated to the passed IDs.
It will be filled in during the operation.int ConfigException.SUCCESS in case of success,
otherwise a possible error code, matching one of the ConfigException error constants.ConfigException - in case of error, when exceptions are enabled through the ErrorManager singleton.public int getPropertyStrings(int[] id_buffer,
java.lang.String[] value_buffer)
getPropertyStrings in interface PropertyGetterid_buffer - A int[] buffer containing numeric IDs.value_buffer - A String[] buffer containing all the corresponding values associated to the passed IDs.
It will be filled in during the operation.int ConfigException.SUCCESS in case of success,
otherwise a possible error code, matching one of the ConfigException error constants.ConfigException - in case of error, when exceptions are enabled through the ErrorManager singleton.public int getPropertyRanges(int[] id_buffer,
int[][] property_ranges)
getPropertyRanges in interface PropertyGetterid_buffer - The int[] of identifiers for parameters to look for.property_ranges - The int[][] array of ranges associated to the passed IDs, that will be filled in.int ConfigException.SUCCESS in case of success,
otherwise a possible error code, matching one of the ConfigException error constants.ConfigException - in case of error, when exceptions are enabled through the ErrorManager singleton.public int getPropertyAvailability(int[] id_buffer,
boolean[] availability_buffer)
getPropertyAvailability in interface PropertyGetterid_buffer - The int[] of identifiers for parameters to look for.availability_buffer - The boolean[] of the passed IDs' availability, that will be filled in.int ConfigException.SUCCESS in case of success,
otherwise a possible error code, matching one of the ConfigException error constants.ConfigException - in case of error, when exceptions are enabled through the ErrorManager singleton.