Class BarcodeParameters
java.lang.Object
org.apache.camel.dataformat.barcode.BarcodeParameters
All configuration parameters for the code component.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.google.zxing.BarcodeFormatDefault barcode format: QR-CODEstatic final intDefault height: 100pxstatic final BarcodeImageTypeDefault image type: PNGstatic final intDefault width: 100px -
Constructor Summary
ConstructorsConstructorDescriptionDefault Constructor (creates a bean with default parameters).BarcodeParameters(BarcodeImageType type, int width, int height, com.google.zxing.BarcodeFormat format) Constructor with parameters. -
Method Summary
-
Field Details
-
IMAGE_TYPE
Default image type: PNG -
WIDTH
public static final int WIDTHDefault width: 100px- See Also:
-
HEIGHT
public static final int HEIGHTDefault height: 100px- See Also:
-
FORMAT
public static final com.google.zxing.BarcodeFormat FORMATDefault barcode format: QR-CODE
-
-
Constructor Details
-
BarcodeParameters
public BarcodeParameters()Default Constructor (creates a bean with default parameters).- image type: PNG
- image width: 100px
- image heigth: 100px
- format: QR-Code
-
BarcodeParameters
public BarcodeParameters(BarcodeImageType type, int width, int height, com.google.zxing.BarcodeFormat format) Constructor with parameters.- Parameters:
type-width-height-format-
-
-
Method Details
-
getType
-
setType
-
getWidth
-
setWidth
-
getHeight
-
setHeight
-
getFormat
public com.google.zxing.BarcodeFormat getFormat() -
setFormat
public void setFormat(com.google.zxing.BarcodeFormat format)
-