java.lang.Object |
↳ |
com.datalogic.decode.utils.GS1Parser |
Class Overview
Class managing the parsing of GS1 formatted barcodes.
Summary
Nested Classes |
class |
GS1Parser.GS1Field |
Class representing a single GS1 field, comprised of application identifier and associated value. |
class |
GS1Parser.ParsingException |
Parsing exception thrown in case there is an error during parsing. |
Public Methods |
static
Map<String, GS1Parser.GS1Field>
|
parse(String barcodeText)
Executes the parsing of an input string that represents a barcode in GS1 format.
|
static
Map<String, GS1Parser.GS1Field>
|
parseDigitalLink(String barcodeUri)
Executes the parsing of an input string that represents an URI in GS1 Digital Link format.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Methods
public
static
Map<String, GS1Parser.GS1Field>
parse
(String barcodeText)
Executes the parsing of an input string that represents a barcode in GS1 format.
Parameters
barcodeText
| The GS1 formatted string. |
Returns
- A Map containing as keys the generic application identifiers and as entries
the GS1Field objects containing the parsed values.
public
static
Map<String, GS1Parser.GS1Field>
parseDigitalLink
(String barcodeUri)
Executes the parsing of an input string that represents an URI in GS1 Digital Link format.
Parameters
barcodeUri
| The GS1 Digital Link URI string. |
Returns
- A Map containing as keys the generic application identifiers and as entries
the GS1Field objects containing the parsed values.