Class SimpleBarcodesUtility
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.extensions.modules.sbarcodes.SimpleBarcodesUtility
-
public class SimpleBarcodesUtility extends Object
This utility shares withSimpleBarcodesExpressionandSimpleBarcodesTypethe initial barcode creation mainly based on the type which is given as a string.- Author:
- Cedric Pronzato
-
-
Field Summary
Fields Modifier and Type Field Description static StringBARCODE_2OF5Symbology accepting 0-9.
This barcode supports checksum property.
Also known as 2of5std.static StringBARCODE_2OF5INTSymbology accepting 0-9 in a reduced space in comparison of standard 2of5.
This barcode supports checksum property.
Also known as 2of5std.static StringBARCODE_CODABARSymbology accepting O-9 plus 6 additional characters '-' '$' '.' ':' '/' '+'.
Also known as code27, 2of7, usd4, nw7, monarch.static StringBARCODE_CODE128Symbology accepting ASCII (128 characters) in a reduced space.
It automaticaly switch between the diffrent code sets.static StringBARCODE_CODE128ASymbology accepting 0-9 A-Z ' ' '!' '"' '#' '$' '%' '&' ''' '(' ')' '*' '+' '-' ',' '.' '/' ';' ':' '<' '>' '=' '?' '@' '[' ']' '^' '_' and a lot of control characters.static StringBARCODE_CODE128BSymbology accepting ASCII (128 characters)static StringBARCODE_CODE128CSymbology accepting numbers.static StringBARCODE_CODE39Symbology accepting A-Z 0-9 and 8 special characters '-' '.' ' ' '*' '$' '/' '+' '%'.
Also known as 3of9, usd3, usd-3.
This barcode supports checksum property.static StringBARCODE_CODE39EXTSymbology accepting ASCII (128 characters).
Also known as 3of9ext, usd3ext, usd-3ext.static StringBARCODE_DATAMATRIXstatic StringBARCODE_EAN128static StringBARCODE_EAN13Symbology accepting 0-9 with a size of 12 characters.static StringBARCODE_EAN8static StringBARCODE_ISBNSymbology accepting 0-9 with a size of 10 characters.static StringBARCODE_PDF4172 dimensional symbology accepting 2700 characters long.
This barcode does not support any of the conventional barcode properties (barWidth, barHeight, checksum, showText, ...).
Also known as pdf-417.static StringBARCODE_POSTNETSymbology accepting 0-9 with a size of 5 to 11 characters?static StringBARCODE_ROYALMAILstatic StringBARCODE_UCCEAN128Symbology accepting numbers.
This barcode supports checksum property.static StringBARCODE_UPCASymbology accepting 0-9 with a size of 12 characters.static StringBARCODE_UPCEstatic StringBARCODE_USPSINTELLIGENTMAIL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static net.sourceforge.barbecue.BarcodecreateBarcode(String data, String type, boolean checksum)static org.krysalis.barcode4j.BarcodeGeneratorcreateBarcode4J(String type, boolean showText, boolean checksum, Number barHeight)static StringgetBarcodeSampleData(String type)
-
-
-
Field Detail
-
BARCODE_CODE39
public static final String BARCODE_CODE39
Symbology accepting A-Z 0-9 and 8 special characters '-' '.' ' ' '*' '$' '/' '+' '%'.
Also known as 3of9, usd3, usd-3.
This barcode supports checksum property.- See Also:
- Constant Field Values
-
BARCODE_CODE39EXT
public static final String BARCODE_CODE39EXT
Symbology accepting ASCII (128 characters).
Also known as 3of9ext, usd3ext, usd-3ext.
This barcode supports checksum property.- See Also:
- Constant Field Values
-
BARCODE_CODABAR
public static final String BARCODE_CODABAR
Symbology accepting O-9 plus 6 additional characters '-' '$' '.' ':' '/' '+'.
Also known as code27, 2of7, usd4, nw7, monarch.- See Also:
- Constant Field Values
-
BARCODE_CODE128
public static final String BARCODE_CODE128
Symbology accepting ASCII (128 characters) in a reduced space.
It automaticaly switch between the diffrent code sets.- See Also:
- Constant Field Values
-
BARCODE_CODE128A
public static final String BARCODE_CODE128A
Symbology accepting 0-9 A-Z ' ' '!' '"' '#' '$' '%' '&' ''' '(' ')' '*' '+' '-' ',' '.' '/' ';' ':' '<' '>' '=' '?' '@' '[' ']' '^' '_' and a lot of control characters.- See Also:
- Constant Field Values
-
BARCODE_CODE128B
public static final String BARCODE_CODE128B
Symbology accepting ASCII (128 characters)- See Also:
- Constant Field Values
-
BARCODE_CODE128C
public static final String BARCODE_CODE128C
Symbology accepting numbers.- See Also:
- Constant Field Values
-
BARCODE_EAN13
public static final String BARCODE_EAN13
Symbology accepting 0-9 with a size of 12 characters. If the size is 11 a checksum will be automaticaly added.
Also known as ean-13.- See Also:
- Constant Field Values
-
BARCODE_UPCA
public static final String BARCODE_UPCA
Symbology accepting 0-9 with a size of 12 characters. If the size is 11 a checksum will be automaticaly added.
Also known as upc-a.- See Also:
- Constant Field Values
-
BARCODE_ISBN
public static final String BARCODE_ISBN
Symbology accepting 0-9 with a size of 10 characters. If the size is 9 a checksum will be automaticaly added?
Also known as bookland.- See Also:
- Constant Field Values
-
BARCODE_UCCEAN128
public static final String BARCODE_UCCEAN128
Symbology accepting numbers.
This barcode supports checksum property.- See Also:
- Constant Field Values
-
BARCODE_2OF5
public static final String BARCODE_2OF5
Symbology accepting 0-9.
This barcode supports checksum property.
Also known as 2of5std.- See Also:
- Constant Field Values
-
BARCODE_2OF5INT
public static final String BARCODE_2OF5INT
Symbology accepting 0-9 in a reduced space in comparison of standard 2of5.
This barcode supports checksum property.
Also known as 2of5std.- See Also:
- Constant Field Values
-
BARCODE_POSTNET
public static final String BARCODE_POSTNET
Symbology accepting 0-9 with a size of 5 to 11 characters?- See Also:
- Constant Field Values
-
BARCODE_PDF417
public static final String BARCODE_PDF417
2 dimensional symbology accepting 2700 characters long.
This barcode does not support any of the conventional barcode properties (barWidth, barHeight, checksum, showText, ...).
Also known as pdf-417.- See Also:
- Constant Field Values
-
BARCODE_EAN8
public static final String BARCODE_EAN8
- See Also:
- Constant Field Values
-
BARCODE_EAN128
public static final String BARCODE_EAN128
- See Also:
- Constant Field Values
-
BARCODE_UPCE
public static final String BARCODE_UPCE
- See Also:
- Constant Field Values
-
BARCODE_DATAMATRIX
public static final String BARCODE_DATAMATRIX
- See Also:
- Constant Field Values
-
BARCODE_ROYALMAIL
public static final String BARCODE_ROYALMAIL
- See Also:
- Constant Field Values
-
BARCODE_USPSINTELLIGENTMAIL
public static final String BARCODE_USPSINTELLIGENTMAIL
- See Also:
- Constant Field Values
-
-