public class BarcodeApi extends Object
Constructor and Description |
---|
BarcodeApi(String apiKey,
String appSid) |
BarcodeApi(String apiKey,
String appSid,
boolean isDebug) |
BarcodeApi(String basePath,
String apiKey,
String appSid) |
BarcodeApi(String basePath,
String apiKey,
String appSid,
boolean isDebug) |
Modifier and Type | Method and Description |
---|---|
ResponseMessage |
GetBarcodeGenerate(String text,
String type,
String format,
Float resolutionX,
Float resolutionY,
Float dimensionX,
Float dimensionY,
String enableChecksum)
GetBarcodeGenerate
Generate barcode.
|
BarcodeResponseList |
GetBarcodeRecognize(String name,
String type,
String checksumValidation,
Boolean stripFnc,
Integer rotationAngle,
Integer barcodesCount,
Integer rectX,
Integer rectY,
Integer rectWidth,
Integer rectHeight,
String storage,
String folder)
GetBarcodeRecognize
Recognize barcode from a file on server.
|
String |
getBasePath() |
ApiInvoker |
getInvoker() |
BarcodeResponseList |
PostBarcodeRecognizeFromUrlorContent(String type,
String checksumValidation,
Boolean stripFnc,
Integer rotationAngle,
String url,
File file)
PostBarcodeRecognizeFromUrlorContent
Recognize barcode from an url.
|
ResponseMessage |
PostGenerateMultiple(String format,
File file)
PostGenerateMultiple
Generate multiple barcodes and return in response stream
|
SaaSposeResponse |
PutBarcodeGenerateFile(String name,
String text,
String type,
String format,
Float resolutionX,
Float resolutionY,
Float dimensionX,
Float dimensionY,
String codeLocation,
String grUnit,
String autoSize,
Float barHeight,
Float imageHeight,
Float imageWidth,
String imageQuality,
Float rotAngle,
Float topMargin,
Float bottomMargin,
Float leftMargin,
Float rightMargin,
String enableChecksum,
String storage,
String folder,
File file)
PutBarcodeGenerateFile
Generate barcode and save on server.
|
BarcodeResponseList |
PutBarcodeRecognizeFromBody(String name,
String type,
String folder,
BarcodeReader body)
PutBarcodeRecognizeFromBody
Recognition of a barcode from file on server with parameters in body.
|
SaaSposeResponse |
PutGenerateMultiple(String name,
String format,
String folder,
File file)
PutGenerateMultiple
Generate image with multiple barcodes and put new file on server
|
void |
setBasePath(String basePath) |
public ApiInvoker getInvoker()
public void setBasePath(String basePath)
public String getBasePath()
public ResponseMessage GetBarcodeGenerate(String text, String type, String format, Float resolutionX, Float resolutionY, Float dimensionX, Float dimensionY, String enableChecksum)
text
- String The code text.type
- String Barcode type.format
- String Result format.resolutionX
- Float Horizontal resolution.resolutionY
- Float Vertical resolution.dimensionX
- Float Smallest width of barcode unit (bar or space).dimensionY
- Float Smallest height of barcode unit (for 2D barcodes).enableChecksum
- String Sets if checksum will be generated.public BarcodeResponseList GetBarcodeRecognize(String name, String type, String checksumValidation, Boolean stripFnc, Integer rotationAngle, Integer barcodesCount, Integer rectX, Integer rectY, Integer rectWidth, Integer rectHeight, String storage, String folder)
name
- String The image name.type
- String The barcode type.checksumValidation
- String Checksum validation parameter.stripFnc
- Boolean Allows to strip FNC symbol in recognition results.rotationAngle
- Integer Allows to correct angle of barcode.barcodesCount
- Integer Count of barcodes to recognize.rectX
- Integer Top left point X coordinate of to recognize barcode inside.rectY
- Integer Top left point Y coordinate of to recognize barcode inside.rectWidth
- Integer Width of to recognize barcode inside.rectHeight
- Integer Height of to recognize barcode inside.storage
- String The image storage.folder
- String The image folder.public BarcodeResponseList PostBarcodeRecognizeFromUrlorContent(String type, String checksumValidation, Boolean stripFnc, Integer rotationAngle, String url, File file)
type
- String Barcode type.checksumValidation
- String Checksum validation parameter.stripFnc
- Boolean Allows to strip FNC symbol in recognition results.rotationAngle
- Integer Recognition of rotated barcode. Possible angles are 90, 180, 270, default is 0url
- String The image file url.file
- Filepublic ResponseMessage PostGenerateMultiple(String format, File file)
format
- String Format to return stream infile
- Filepublic SaaSposeResponse PutBarcodeGenerateFile(String name, String text, String type, String format, Float resolutionX, Float resolutionY, Float dimensionX, Float dimensionY, String codeLocation, String grUnit, String autoSize, Float barHeight, Float imageHeight, Float imageWidth, String imageQuality, Float rotAngle, Float topMargin, Float bottomMargin, Float leftMargin, Float rightMargin, String enableChecksum, String storage, String folder, File file)
name
- String The image name.text
- String Barcode's text.type
- String The barcode type.format
- String The image format.resolutionX
- Float Horizontal resolution.resolutionY
- Float Vertical resolution.dimensionX
- Float Smallest width of barcode unit (bar or space).dimensionY
- Float Smallest height of barcode unit (for 2D barcodes).codeLocation
- String property of the barcode.grUnit
- String Measurement of barcode properties.autoSize
- String Sets if barcode size will be updated automatically.barHeight
- Float Height of the bar.imageHeight
- Float Height of the image.imageWidth
- Float Width of the image.imageQuality
- String Detepmines of the barcode image.rotAngle
- Float Angle of barcode orientation.topMargin
- Float Top margin.bottomMargin
- Float Bottom margin.leftMargin
- Float Left margin.rightMargin
- Float Right margin.enableChecksum
- String Sets if checksum will be generated.storage
- String Image's storage.folder
- String Image's folder.file
- Filepublic BarcodeResponseList PutBarcodeRecognizeFromBody(String name, String type, String folder, BarcodeReader body)
name
- String The image name.type
- String The barcode type.folder
- String The image folder.body
- BarcodeReader BarcodeReader object with parameters.public SaaSposeResponse PutGenerateMultiple(String name, String format, String folder, File file)
name
- String New filenameformat
- String Format of filefolder
- String Folder to place file tofile
- FileCopyright © 2015. All rights reserved.