public class

BarcodeDefaults

extends Object
implements PropertyGetter
java.lang.Object
   ↳ com.datalogic.decode.BarcodeDefaults

Class Overview

BarcodeDefaults provides methods to retrieve default decoder properties.

Summary

Public Constructors
BarcodeDefaults()
This is the constructor of BarcodeDefaults.
Public Methods
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, String[] value_buffer)
Retrieves the default Property String values associated to specific IDs.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.datalogic.device.configuration.PropertyGetter

Public Constructors

public BarcodeDefaults ()

Added in revision 1

This is the constructor of BarcodeDefaults.

Public Methods

public int getPropertyAvailability (int[] id_buffer, boolean[] availability_buffer)

Added in revision 4

Retrieves the availability, the support, for the passed programming parameters.

Parameters
id_buffer The int[] of identifiers for parameters to look for.
availability_buffer The boolean[] of the passed IDs' availability, that will be filled in.
Returns
  • int SUCCESS in case of success, otherwise a possible error code, matching one of the ConfigException error constants.
Throws
ConfigException in case of error, when exceptions are enabled through the ErrorManager singleton.

public int getPropertyInts (int[] id_buffer, int[] value_buffer)

Added in revision 1

Retrieves the default Property integer values associated to specific IDs.

Parameters
id_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.
Returns
  • int SUCCESS in case of success, otherwise a possible error code, matching one of the ConfigException error constants.
Throws
ConfigException in case of error, when exceptions are enabled through the ErrorManager singleton.

public int getPropertyRanges (int[] id_buffer, int[][] property_ranges)

Added in revision 4

Gets one or more property ranges for the passed programming parameters.

Parameters
id_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.
Returns
  • int SUCCESS in case of success, otherwise a possible error code, matching one of the ConfigException error constants.
Throws
ConfigException in case of error, when exceptions are enabled through the ErrorManager singleton.

public int getPropertyStrings (int[] id_buffer, String[] value_buffer)

Added in revision 1

Retrieves the default Property String values associated to specific IDs.

Parameters
id_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.
Returns
  • int SUCCESS in case of success, otherwise a possible error code, matching one of the ConfigException error constants.
Throws
ConfigException in case of error, when exceptions are enabled through the ErrorManager singleton.