diff --git a/english/androidjava/com.aspose.barcode.barcoderecognition/barcodereader/_index.md b/english/androidjava/com.aspose.barcode.barcoderecognition/barcodereader/_index.md index eaac22665..eaf3da879 100644 --- a/english/androidjava/com.aspose.barcode.barcoderecognition/barcodereader/_index.md +++ b/english/androidjava/com.aspose.barcode.barcoderecognition/barcodereader/_index.md @@ -19,7 +19,7 @@ BarCodeReader encapsulates an image which may contain one or several barcodes, i > ``` > This sample shows how to detect Code39 and Code128 barcodes. > -> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39, DecodeType.CODE_128); > for(BarCodeResult result : reader.readBarCodes()) > { > System.out.println("BarCode Type: " + result.getCodeTypeName()); @@ -97,7 +97,7 @@ Initializes a new instance of the BarCodeReader class with default values. Req > This sample shows how to detect Code39 and Code128 barcodes. > > BarCodeReader reader = new BarCodeReader(); -> reader.setBarCodeReadType(DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> reader.setBarCodeReadType(DecodeType.CODE_39, DecodeType.CODE_128); > reader.setBarCodeImage("test.png"); > for(BarCodeResult result : reader.readBarCodes()) > { @@ -121,7 +121,7 @@ Initializes a new instance of the BarCodeReader class from an image. > > Bitmap bmp = BitmapFactory.decodeFile("test.png"); > BarCodeReader reader = new BarCodeReader(bmp); -> reader.setBarCodeReadType(DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> reader.setBarCodeReadType(DecodeType.CODE_39, DecodeType.CODE_128); > for(BarCodeResult result : reader.readBarCodes()) > { > System.out.println("BarCode Type: " + result.getCodeTypeName()); @@ -148,7 +148,7 @@ Initializes a new instance of the BarCodeReader class. > This sample shows how to detect Code39 and Code128 barcodes. > > Bitmap bmp = BitmapFactory.decodeFile("test.png"); -> BarCodeReader reader = new BarCodeReader(bmp, DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader(bmp, DecodeType.CODE_39, DecodeType.CODE_128); > for(BarCodeResult result : reader.readBarCodes()) > { > System.out.println("BarCode Type: " + result.getCodeTypeName()); @@ -176,7 +176,7 @@ Initializes a new instance of the BarCodeReader class. > This sample shows how to detect Code39 and Code128 barcodes. > > Bitmap bmp = BitmapFactory.decodeFile("test.png"); -> BarCodeReader reader = new BarCodeReader(bmp, new MultyDecodeType(DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader(bmp, new MultyDecodeType(DecodeType.CODE_39, DecodeType.CODE_128); > for(BarCodeResult result : reader.readBarCodes()) > { > System.out.println("BarCode Type: " + result.getCodeTypeName()); @@ -204,7 +204,7 @@ Initializes a new instance of the BarCodeReader class. > This sample shows how to detect Code39 and Code128 barcodes. > > Bitmap bmp = BitmapFactory.decodeFile("test.png"); -> BarCodeReader reader = new BarCodeReader(bmp, new Rectangle(0, 0, bmp.getWidth(), bmp.getHeight()), DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader(bmp, new Rectangle(0, 0, bmp.getWidth(), bmp.getHeight()), DecodeType.CODE_39, DecodeType.CODE_128); > for(BarCodeResult result : reader.readBarCodes()) > { > System.out.println("BarCode Type: " + result.getCodeTypeName()); @@ -233,7 +233,7 @@ Initializes a new instance of the BarCodeReader class. > This sample shows how to detect Code39 and Code128 barcodes. > > BufferedImage bmp = ImageIO.read(new File("c:\\test.png")); -> BarCodeReader reader = new BarCodeReader(bmp, new Rectangle(0, 0, bmp.getWidth(), bmp.getHeight()), new MultyDecodeType(DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader(bmp, new Rectangle(0, 0, bmp.getWidth(), bmp.getHeight()), new MultyDecodeType(DecodeType.CODE_39, DecodeType.CODE_128); > for(BarCodeResult result : reader.readBarCodes()) > { > System.out.println("BarCode Type: " + result.getCodeTypeName()); @@ -262,7 +262,7 @@ Initializes a new instance of the BarCodeReader class. > This sample shows how to detect Code39 and Code128 barcodes. > > BufferedImage bmp = ImageIO.read(new File("c:\\test.png")); -> BarCodeReader reader = new BarCodeReader(bmp, new Rectangle(0, 0, bmp.getWidth(), bmp.getHeight()), new MultyDecodeType(DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader(bmp, new Rectangle(0, 0, bmp.getWidth(), bmp.getHeight()), new MultyDecodeType(DecodeType.CODE_39, DecodeType.CODE_128); > for(BarCodeResult result : reader.readBarCodes()) > { > System.out.println("BarCode Type: " + result.getCodeTypeName()); @@ -291,7 +291,7 @@ Initializes a new instance of the BarCodeReader class. > This sample shows how to detect Code39 and Code128 barcodes. > > BufferedImage bmp = ImageIO.read(new File("c:\\test.png")); -> BarCodeReader reader = new BarCodeReader(bmp, new Rectangle(0, 0, bmp.getWidth(), bmp.getHeight()), new MultyDecodeType(DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader(bmp, new Rectangle(0, 0, bmp.getWidth(), bmp.getHeight()), new MultyDecodeType(DecodeType.CODE_39, DecodeType.CODE_128); > for(BarCodeResult result : reader.readBarCodes()) > { > System.out.println("BarCode Type: " + result.getCodeTypeName()); @@ -320,7 +320,7 @@ Initializes a new instance of the BarCodeReader class. > This sample shows how to detect Code39 and Code128 barcodes. > > BufferedImage bmp = ImageIO.read(new File("c:\\test.png")); -> BarCodeReader reader = new BarCodeReader(bmp, new Rectangle(0, 0, bmp.getWidth(), bmp.getHeight()), new MultyDecodeType(DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader(bmp, new Rectangle(0, 0, bmp.getWidth(), bmp.getHeight()), new MultyDecodeType(DecodeType.CODE_39, DecodeType.CODE_128); > for(BarCodeResult result : reader.readBarCodes()) > { > System.out.println("BarCode Type: " + result.getCodeTypeName()); @@ -349,7 +349,7 @@ Initializes a new instance of the BarCodeReader class. > This sample shows how to detect Code39 and Code128 barcodes. > > Bitmap bmp = BitmapFactory.decodeFile("test.png"); -> BarCodeReader reader = new BarCodeReader(bmp, new Rectangle(0, 0, bmp.getWidth(), bmp.getHeight()), new MultyDecodeType(DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader(bmp, new Rectangle(0, 0, bmp.getWidth(), bmp.getHeight()), new MultyDecodeType(DecodeType.CODE_39, DecodeType.CODE_128); > for(BarCodeResult result : reader.readBarCodes()) > { > System.out.println("BarCode Type: " + result.getCodeTypeName()); @@ -391,7 +391,7 @@ Initializes a new instance of the BarCodeReader class from file. > This sample shows how to detect Code39 and Code128 barcodes. > > BarCodeReader reader = new BarCodeReader("test.png"); -> reader.setBarCodeReadType(DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> reader.setBarCodeReadType(DecodeType.CODE_39, DecodeType.CODE_128); > for(BarCodeResult result : reader.readBarCodes()) > { > System.out.println("BarCode Type: " + result.getCodeTypeName()); @@ -417,7 +417,7 @@ Initializes a new instance of the BarCodeReader class. > ``` > This sample shows how to detect Code39 and Code128 barcodes. > -> BarCodeReader reader = new BarCodeReader("test.png", new MultyDecodeType(DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader("test.png", new MultyDecodeType(DecodeType.CODE_39, DecodeType.CODE_128); > for(BarCodeResult result : reader.readBarCodes()) > { > System.out.println("BarCode Type: " + result.getCodeTypeName()); @@ -444,7 +444,7 @@ Initializes a new instance of the BarCodeReader class. > ``` > This sample shows how to detect Code39 and Code128 barcodes. > -> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39, DecodeType.CODE_128); > for(BarCodeResult result : reader.readBarCodes()) > { > System.out.println("BarCode Type: " + result.getCodeTypeName()); @@ -473,7 +473,7 @@ Initializes a new instance of the BarCodeReader class. > > InputStream fstr = new FileInputStream(new File("test.png")); > BarCodeReader reader = new BarCodeReader(fstr); -> reader.setBarCodeReadType(DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> reader.setBarCodeReadType(DecodeType.CODE_39, DecodeType.CODE_128); > for(BarCodeResult result : reader.readBarCodes()) > { > System.out.println("BarCode Type: " + result.getCodeTypeName()); @@ -500,7 +500,7 @@ Initializes a new instance of the BarCodeReader class. > This sample shows how to detect Code39 and Code128 barcodes. > > InputStream fstr = new FileInputStream("test.png"); -> BarCodeReader reader = new BarCodeReader(fstr, new MultyDecodeType(DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader(fstr, new MultyDecodeType(DecodeType.CODE_39, DecodeType.CODE_128); > for(BarCodeResult result : reader.readBarCodes()) > { > System.out.println("BarCode Type: " + result.getCodeTypeName()); @@ -528,7 +528,7 @@ Initializes a new instance of the BarCodeReader class. > This sample shows how to detect Code39 and Code128 barcodes. > > InputStream fstr = new FileInputStream("test.png")); -> BarCodeReader reader = new BarCodeReader(fstr, DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader(fstr, DecodeType.CODE_39, DecodeType.CODE_128); > for(BarCodeResult result : reader.readBarCodes()) > { > System.out.println("BarCode Type: " + result.getCodeTypeName()); @@ -555,7 +555,7 @@ Function requests termination of current recognition session from other thread. > ``` > This sample shows how to call Abort function from other thread > -> final BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> final BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39, DecodeType.CODE_128); > Thread thread1 = new Thread(new Runnable() > { > ``` @@ -660,7 +660,7 @@ Gets recognized BarCodeResult s array > ``` > This sample shows how to read barcodes with BarCodeReader > -> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39, DecodeType.CODE_128); > { > reader.readBarCodes(); > for(int i = 0; reader.getFoundCount() > i; ++i) @@ -685,7 +685,7 @@ Gets recognized barcodes count > ``` > This sample shows how to read barcodes with BarCodeReader > -> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39, DecodeType.CODE_128); > reader.readBarCodes(); > for(int i = 0; reader.getFoundCount() > i; ++i) > System.out.println("BarCode CodeText: " + reader.getFoundBarCodes()[i].getCodeText()); @@ -730,18 +730,18 @@ QualitySettings allows to configure recognition quality and speed manually. You > ``` > This sample shows how to use QualitySettings with BarCodeReader > -> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39, DecodeType.CODE_128); > //set high performance mode > reader.setQualitySettings(QualitySettings.getHighPerformance()); > for(BarCodeResult result : reader.readBarCodes()) > System.out.println("BarCode CodeText: " + result.getCodeText()); > -> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39, DecodeType.CODE_128); > //normal quality mode is set by default > for(BarCodeResult result : reader.readBarCodes()) > System.out.println("BarCode CodeText: " + result.getCodeText()); > -> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39, DecodeType.CODE_128); > //set high performance mode > reader.setQualitySettings(QualitySettings.getHighPerformance()); > //set separate options @@ -845,10 +845,10 @@ Reads BarCodeResult s from the image. > ``` > This sample shows how to read barcodes with BarCodeReader > -> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39, DecodeType.CODE_128); > for(BarCodeResult result : reader.readBarCodes()) > System.out.println("BarCode CodeText: " + result.getCodeText()); -> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39, DecodeType.CODE_128); > reader.readBarCodes(); > for(int i = 0; reader.getFoundCount() > i; ++i) > System.out.println("BarCode CodeText: " + reader.getFoundBarCodes()[i].getCodeText()); @@ -872,7 +872,7 @@ Sets bitmap image for recognition. Must be called before ReadBarCodes() method. > Bitmap bmp = BitmapFactory.decodeFile("test.png"); > BarCodeReader reader = new BarCodeReader()) > { -> reader.setBarCodeReadType(DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> reader.setBarCodeReadType(DecodeType.CODE_39, DecodeType.CODE_128); > reader.setBarCodeImage(bmp); > for(BarCodeResult result : reader.readBarCodes()) > { @@ -902,7 +902,7 @@ Sets bitmap image and area for recognition. Must be called before ReadBarCodes() > > Bitmap bmp = BitmapFactory.decodeFile("test.png"); > BarCodeReader reader = new BarCodeReader(); -> reader.setBarCodeReadType(DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> reader.setBarCodeReadType(DecodeType.CODE_39, DecodeType.CODE_128); > reader.setBarCodeImage(bmp, new Rectangle(0, 0, bmp.getWidth(), bmp.getHeight())); > for(BarCodeResult result : reader.readBarCodes()) > { @@ -932,7 +932,7 @@ Sets bitmap image and areas for recognition. Must be called before ReadBarCodes( > > Bitmap bmp = BitmapFactory.decodeFile("test.png"); > BarCodeReader reader = new BarCodeReader(); -> reader.setBarCodeReadType(DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> reader.setBarCodeReadType(DecodeType.CODE_39, DecodeType.CODE_128); > reader.setBarCodeImage(bmp, new Rectangle[] { new Rectangle(0, 0, bmp.getWidth(), bmp.getHeight()) }); > for(BarCodeResult result : reader.readBarCodes()) > { @@ -962,7 +962,7 @@ Sets image stream for recognition. Must be called before ReadBarCodes() method. > > InputStream fstr = new FileInputStream(new File("test.png")); > BarCodeReader reader = new BarCodeReader(); -> reader.setBarCodeReadType(DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> reader.setBarCodeReadType(DecodeType.CODE_39, DecodeType.CODE_128); > reader.setBarCodeImage(fstr); > for(BarCodeResult result : reader.readBarCodes()) > { @@ -991,7 +991,7 @@ Sets image file for recognition. Must be called before ReadBarCodes() method. > > BarCodeReader reader = new BarCodeReader()) > { -> reader.setBarCodeReadType(DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> reader.setBarCodeReadType(DecodeType.CODE_39, DecodeType.CODE_128); > reader.setBarCodeImage("test.png"); > for(BarCodeResult result : reader.readBarCodes()) > { @@ -1020,7 +1020,7 @@ Sets decode type for recognition. Must be called before ReadBarCodes() method. > This sample shows how to detect Code39 and Code128 barcodes. > > BarCodeReader reader = new BarCodeReader()) -> reader.setBarCodeReadType(new MultyDecodeType(DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> reader.setBarCodeReadType(new MultyDecodeType(DecodeType.CODE_39, DecodeType.CODE_128); > reader.setBarCodeImage("test.png"); > for(BarCodeResult result : reader.readBarCodes()) > { @@ -1048,7 +1048,7 @@ Sets SingleDecodeType type array for recognition. Must be called before ReadBa > This sample shows how to detect Code39 and Code128 barcodes. > > BarCodeReader reader = new BarCodeReader(); -> reader.setBarCodeReadType(DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> reader.setBarCodeReadType(DecodeType.CODE_39, DecodeType.CODE_128); > reader.setBarCodeImage("test.png"); > for(BarCodeResult result : reader.readBarCodes()) > { @@ -1075,18 +1075,18 @@ QualitySettings allows to configure recognition quality and speed manually. You > ``` > This sample shows how to use QualitySettings with BarCodeReader > -> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39, DecodeType.CODE_128); > //set high performance mode > reader.setQualitySettings(QualitySettings.getHighPerformance()); > for(BarCodeResult result : reader.readBarCodes()) > System.out.println("BarCode CodeText: " + result.getCodeText()); > -> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39, DecodeType.CODE_128); > //normal quality mode is set by default > for(BarCodeResult result : reader.readBarCodes()) > System.out.println("BarCode CodeText: " + result.getCodeText()); > -> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39, DecodeType.CODE_128); > //set high performance mode > reader.setQualitySettings(QualitySettings.getHighPerformance()); > //set separate options diff --git a/english/androidjava/com.aspose.barcode.barcoderecognition/barcoderesult/_index.md b/english/androidjava/com.aspose.barcode.barcoderecognition/barcoderesult/_index.md index badee8548..faabb8c00 100644 --- a/english/androidjava/com.aspose.barcode.barcoderecognition/barcoderesult/_index.md +++ b/english/androidjava/com.aspose.barcode.barcoderecognition/barcoderesult/_index.md @@ -19,9 +19,9 @@ Stores recognized barcode data like SingleDecodeType type, string codetext, > ``` > This sample shows how to obtain BarCodeResult. > -> BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.Code128, "12345"); +> BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.CODE_128, "12345"); > generator.save("test.png"); -> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39, DecodeType.CODE_128); > for(BarCodeResult result : reader.readBarCodes()) > { > System.out.println("BarCode Type: " + result.getCodeTypeName()); diff --git a/english/androidjava/com.aspose.barcode.barcoderecognition/basedecodetype/_index.md b/english/androidjava/com.aspose.barcode.barcoderecognition/basedecodetype/_index.md index 2bce0adaa..d22bf93fd 100644 --- a/english/androidjava/com.aspose.barcode.barcoderecognition/basedecodetype/_index.md +++ b/english/androidjava/com.aspose.barcode.barcoderecognition/basedecodetype/_index.md @@ -23,7 +23,7 @@ Base class for MultyDecodeType and SingleDecodeType. > This sample shows how to use BaseDecodeType with SingleDecodeType and MultyDecodeType > > BaseDecodeType decodeOne = DecodeType.CODE_128; -> BaseDecodeType decodeTwo = new MultyDecodeType(DecodeType.CODE_128, DecodeType.CODE_39_STANDARD, DecodeType.CODE_39_EXTENDED); +> BaseDecodeType decodeTwo = new MultyDecodeType(DecodeType.CODE_128, DecodeType.CODE_39, DecodeType.CODE_39_FULL_ASCII); > ``` ## Methods diff --git a/english/androidjava/com.aspose.barcode.barcoderecognition/code128dataportioninternal/_index.md b/english/androidjava/com.aspose.barcode.barcoderecognition/code128dataportioninternal/_index.md index 4159b162b..ee9ca5279 100644 --- a/english/androidjava/com.aspose.barcode.barcoderecognition/code128dataportioninternal/_index.md +++ b/english/androidjava/com.aspose.barcode.barcoderecognition/code128dataportioninternal/_index.md @@ -26,6 +26,7 @@ public class Code128DataPortionInternal | [hashCode()](#hashCode--) | | | [notify()](#notify--) | | | [notifyAll()](#notifyAll--) | | +| [setData(Code128DataPortion code128DataPortion, String value)](#setData-com.aspose.barcode.barcoderecognition.Code128DataPortion-java.lang.String-) | | | [toString()](#toString--) | | | [wait()](#wait--) | | | [wait(long arg0)](#wait-long-) | | @@ -103,6 +104,20 @@ public final native void notifyAll() +### setData(Code128DataPortion code128DataPortion, String value) {#setData-com.aspose.barcode.barcoderecognition.Code128DataPortion-java.lang.String-} +``` +public static void setData(Code128DataPortion code128DataPortion, String value) +``` + + + + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| code128DataPortion | [Code128DataPortion](../../com.aspose.barcode.barcoderecognition/code128dataportion) | | +| value | java.lang.String | | + ### toString() {#toString--} ``` public String toString() diff --git a/english/androidjava/com.aspose.barcode.barcoderecognition/decodetype/_index.md b/english/androidjava/com.aspose.barcode.barcoderecognition/decodetype/_index.md index 011875419..c2dd5dfd9 100644 --- a/english/androidjava/com.aspose.barcode.barcoderecognition/decodetype/_index.md +++ b/english/androidjava/com.aspose.barcode.barcoderecognition/decodetype/_index.md @@ -19,7 +19,7 @@ Specify the type of barcode to read. > ``` > This sample shows how to detect Code39 and Code128 barcodes. > -> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39_STANDARD, DecodeType.CODE_128); +> BarCodeReader reader = new BarCodeReader("test.png", DecodeType.CODE_39, DecodeType.CODE_128); > for(BarCodeResult result : reader.readBarCodes()) > { > System.out.println("BarCode Type: " + result.getCodeTypeName()); diff --git a/english/androidjava/com.aspose.barcode.barcoderecognition/maxicodeextendedparameters/_index.md b/english/androidjava/com.aspose.barcode.barcoderecognition/maxicodeextendedparameters/_index.md index 4bebc8ad3..7565f91f6 100644 --- a/english/androidjava/com.aspose.barcode.barcoderecognition/maxicodeextendedparameters/_index.md +++ b/english/androidjava/com.aspose.barcode.barcoderecognition/maxicodeextendedparameters/_index.md @@ -17,7 +17,7 @@ Stores a MaxiCode additional information of recognized barcode | Method | Description | | --- | --- | -| [equals(Object obj)](#equals-java.lang.Object-) | Returns a value indicating whether this instance is equal to a specified value. | +| [equals(Object obj)](#equals-java.lang.Object-) | Returns a value indicating whether this instance is equal to a specified MaxiCodeExtendedParameters value. | | [getClass()](#getClass--) | | | [getHashCode()](#getHashCode--) | Returns the hash code for this instance. | | [getMaxiCodeMode()](#getMaxiCodeMode--) | Gets a MaxiCode encode mode. | @@ -27,10 +27,7 @@ Stores a MaxiCode additional information of recognized barcode | [isEmpty()](#isEmpty--) | Tests whether all parameters has only default values | | [notify()](#notify--) | | | [notifyAll()](#notifyAll--) | | -| [setMaxiCodeMode(int maxiCodeMode)](#setMaxiCodeMode-int-) | Sets a MaxiCode encode mode. | -| [setMaxiCodeStructuredAppendModeBarcodeId(int value)](#setMaxiCodeStructuredAppendModeBarcodeId-int-) | Sets a MaxiCode barcode id in structured append mode. | -| [setMaxiCodeStructuredAppendModeBarcodesCount(int value)](#setMaxiCodeStructuredAppendModeBarcodesCount-int-) | Sets a MaxiCode barcodes count in structured append mode. | -| [toString()](#toString--) | Returns a human-readable string representation of this . | +| [toString()](#toString--) | Returns a human-readable string representation of this MaxiCodeExtendedParameters . | | [wait()](#wait--) | | | [wait(long arg0)](#wait-long-) | | | [wait(long arg0, int arg1)](#wait-long-int-) | | @@ -40,7 +37,7 @@ public boolean equals(Object obj) ``` -Returns a value indicating whether this instance is equal to a specified value. +Returns a value indicating whether this instance is equal to a specified MaxiCodeExtendedParameters value. **Parameters:** | Parameter | Type | Description | @@ -137,55 +134,16 @@ public final native void notifyAll() -### setMaxiCodeMode(int maxiCodeMode) {#setMaxiCodeMode-int-} -``` -public void setMaxiCodeMode(int maxiCodeMode) -``` - - -Sets a MaxiCode encode mode. Default value: Mode4 - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| maxiCodeMode | int | | - -### setMaxiCodeStructuredAppendModeBarcodeId(int value) {#setMaxiCodeStructuredAppendModeBarcodeId-int-} -``` -public void setMaxiCodeStructuredAppendModeBarcodeId(int value) -``` - - -Sets a MaxiCode barcode id in structured append mode. Default value: 0 - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| value | int | | - -### setMaxiCodeStructuredAppendModeBarcodesCount(int value) {#setMaxiCodeStructuredAppendModeBarcodesCount-int-} -``` -public void setMaxiCodeStructuredAppendModeBarcodesCount(int value) -``` - - -Sets a MaxiCode barcodes count in structured append mode. Default value: -1 - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| value | int | | - ### toString() {#toString--} ``` public String toString() ``` -Returns a human-readable string representation of this . +Returns a human-readable string representation of this MaxiCodeExtendedParameters . **Returns:** -java.lang.String - A string that represents this . +java.lang.String - A string that represents this MaxiCodeExtendedParameters . ### wait() {#wait--} ``` public final void wait() diff --git a/english/androidjava/com.aspose.barcode.barcoderecognition/multydecodetype/_index.md b/english/androidjava/com.aspose.barcode.barcoderecognition/multydecodetype/_index.md index 65e4d88ee..81e7d7f3e 100644 --- a/english/androidjava/com.aspose.barcode.barcoderecognition/multydecodetype/_index.md +++ b/english/androidjava/com.aspose.barcode.barcoderecognition/multydecodetype/_index.md @@ -20,7 +20,7 @@ Composite decode type. > CreateThis sample shows how to create compound MultyDecode types that combine SingleDecodeType and MultiDecode types. > > MultyDecodeType types1 = new MultyDecodeType(DecodeType.QR, DecodeType.DATA_MATRIX); -> MultyDecodeType types2 = new MultyDecodeType(types1, DecodeType.CODE_128, DecodeType.CODE_39_STANDARD); +> MultyDecodeType types2 = new MultyDecodeType(types1, DecodeType.CODE_128, DecodeType.CODE_39); > ``` ## Constructors diff --git a/english/androidjava/com.aspose.barcode.complexbarcode/hibcliccombinedcodetext/_index.md b/english/androidjava/com.aspose.barcode.complexbarcode/hibcliccombinedcodetext/_index.md index a2f25c3ab..fe778fc9c 100644 --- a/english/androidjava/com.aspose.barcode.complexbarcode/hibcliccombinedcodetext/_index.md +++ b/english/androidjava/com.aspose.barcode.complexbarcode/hibcliccombinedcodetext/_index.md @@ -34,23 +34,19 @@ Class for encoding and decoding the text embedded in the HIBC LIC code which sto > combinedCodetext.getSecondaryAndAdditionalData().setSerialNumber("SERIAL123"); > combinedCodetext.getSecondaryAndAdditionalData().setDateOfManufacture(new Date()); > ComplexBarcodeGenerator generator = new ComplexBarcodeGenerator(combinedCodetext); -> { -> Bitmap image = generator.generateBarCodeImage(); -> BarCodeReader reader = new BarCodeReader(image, DecodeType.HIBCQRLIC); -> { -> reader.readBarCodes(); -> String codetext = reader.getFoundBarCodes()[0].getCodeText(); -> HIBCLICCombinedCodetext result = (HIBCLICCombinedCodetext)ComplexCodetextReader.tryDecodeHIBCLIC(codetext); -> System.out.println("Product or catalog number: " + result.getPrimaryData().getProductOrCatalogNumber()); -> System.out.println("Labeler identification code: " + result.getPrimaryData().getLabelerIdentificationCode()); -> System.out.println("Unit of measure ID: " + result.getPrimaryData().getUnitOfMeasureID()); -> System.out.println("Expiry date: " + result.getSecondaryAndAdditionalData().getExpiryDate()); -> System.out.println("Quantity: " + result.getSecondaryAndAdditionalData().getQuantity()); -> System.out.println("Lot number: " + result.getSecondaryAndAdditionalData().getLotNumber()); -> System.out.println("Serial number: " + result.getSecondaryAndAdditionalData().getSerialNumber()); -> System.out.println("Date of manufacture: " + result.getSecondaryAndAdditionalData().getDateOfManufacture()); -> } -> } +> BufferedImage image = generator.generateBarCodeImage(); +> BarCodeReader reader = new BarCodeReader(image, DecodeType.HIBCQRLIC); +> reader.readBarCodes(); +> String codetext = reader.getFoundBarCodes()[0].getCodeText(); +> HIBCLICCombinedCodetext result = (HIBCLICCombinedCodetext)ComplexCodetextReader.tryDecodeHIBCLIC(codetext); +> System.out.println("Product or catalog number: " + result.getPrimaryData().getProductOrCatalogNumber()); +> System.out.println("Labeler identification code: " + result.getPrimaryData().getLabelerIdentificationCode()); +> System.out.println("Unit of measure ID: " + result.getPrimaryData().getUnitOfMeasureID()); +> System.out.println("Expiry date: " + result.getSecondaryAndAdditionalData().getExpiryDate()); +> System.out.println("Quantity: " + result.getSecondaryAndAdditionalData().getQuantity()); +> System.out.println("Lot number: " + result.getSecondaryAndAdditionalData().getLotNumber()); +> System.out.println("Serial number: " + result.getSecondaryAndAdditionalData().getSerialNumber()); +> System.out.println("Date of manufacture: " + result.getSecondaryAndAdditionalData().getDateOfManufacture()); > ``` ## Constructors diff --git a/english/androidjava/com.aspose.barcode.complexbarcode/hibclicprimarydatacodetext/_index.md b/english/androidjava/com.aspose.barcode.complexbarcode/hibclicprimarydatacodetext/_index.md index 6f1e6f36e..551cbca5e 100644 --- a/english/androidjava/com.aspose.barcode.complexbarcode/hibclicprimarydatacodetext/_index.md +++ b/english/androidjava/com.aspose.barcode.complexbarcode/hibclicprimarydatacodetext/_index.md @@ -17,9 +17,9 @@ Class for encoding and decoding the text embedded in the HIBC LIC code which sto -------------------- > ``` -> This sample shows how to encode and decode HIBC LIC using HIBCLICPrimaryCodetext. +> This sample shows how to encode and decode HIBC LIC using HIBCLICPrimaryDataCodetext. > -> HIBCLICPrimaryCodetext complexCodetext = new HIBCLICPrimaryCodetext(); +> HIBCLICPrimaryDataCodetext complexCodetext = new HIBCLICPrimaryDataCodetext(); > complexCodetext.setBarcodeType(EncodeTypes.HIBCQRLIC); > complexCodetext.setData(new PrimaryData()); > complexCodetext.getData().setProductOrCatalogNumber("12345"); @@ -27,11 +27,11 @@ Class for encoding and decoding the text embedded in the HIBC LIC code which sto > complexCodetext.getData().setUnitOfMeasureID(1); > ComplexBarcodeGenerator generator = new ComplexBarcodeGenerator(complexCodetext); > { -> Bitmap image = generator.generateBarCodeImage(); +> BufferedImage image = generator.generateBarCodeImage(); > BarCodeReader reader = new BarCodeReader(image, DecodeType.HIBCQRLIC); > { > reader.readBarCodes(); -> String codetext = reader.getFoundBarCodes()[0].getCodeText(); +> HIBCLICPrimaryCodetext result = (HIBCLICPrimaryCodetext)ComplexCodetextReader.TryDecodeHIBCLIC(codetext); > HIBCLICPrimaryCodetext result = (HIBCLICPrimaryCodetext)ComplexCodetextReader.tryDecodeHIBCLIC(codetext); > System.out.println("Product or catalog number: " + result.getData().getProductOrCatalogNumber()); > System.out.println("Labeler identification code: " + result.getData().getLabelerIdentificationCode()); diff --git a/english/androidjava/com.aspose.barcode.complexbarcode/maxicodecodetextmode2/_index.md b/english/androidjava/com.aspose.barcode.complexbarcode/maxicodecodetextmode2/_index.md index 1e36fe89d..904396e53 100644 --- a/english/androidjava/com.aspose.barcode.complexbarcode/maxicodecodetextmode2/_index.md +++ b/english/androidjava/com.aspose.barcode.complexbarcode/maxicodecodetextmode2/_index.md @@ -25,7 +25,7 @@ Class for encoding and decoding the text embedded in the MaxiCode code for modes maxiCodeCodetext.setSecondMessage(maxiCodeStandartSecondMessage); ComplexBarcodeGenerator complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext); complexGenerator.generateBarCodeImage(); - + //Mode 2 with structured second message MaxiCodeCodetextMode2 maxiCodeCodetext = new MaxiCodeCodetextMode2(); maxiCodeCodetext.setPostalCode("524032140"); @@ -39,9 +39,9 @@ Class for encoding and decoding the text embedded in the MaxiCode code for modes maxiCodeCodetext.setSecondMessage(maxiCodeStructuredSecondMessage); ComplexBarcodeGenerator complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext); complexGenerator.generateBarCodeImage(); - + //Decoding raw codetext with standart second message - BarCodeReader reader = new BarCodeReader("test.png", DecodeType.MAXI_CODE); + BarCodeReader reader = new BarCodeReader("c:\\test.png", DecodeType.MAXI_CODE); { for (BarCodeResult result : reader.readBarCodes()) { @@ -60,7 +60,7 @@ Class for encoding and decoding the text embedded in the MaxiCode code for modes } } //Decoding raw codetext with structured second message - BarCodeReader reader = new BarCodeReader("test.png", DecodeType.MAXI_CODE); + BarCodeReader reader = new BarCodeReader("c:\\test.png", DecodeType.MAXI_CODE); { for(BarCodeResult result : reader.readBarCodes()) { diff --git a/english/androidjava/com.aspose.barcode.complexbarcode/maxicodecodetextmode3/_index.md b/english/androidjava/com.aspose.barcode.complexbarcode/maxicodecodetextmode3/_index.md index 6bd0d6015..200643ad5 100644 --- a/english/androidjava/com.aspose.barcode.complexbarcode/maxicodecodetextmode3/_index.md +++ b/english/androidjava/com.aspose.barcode.complexbarcode/maxicodecodetextmode3/_index.md @@ -41,7 +41,7 @@ Class for encoding and decoding the text embedded in the MaxiCode code for modes complexGenerator.generateBarCodeImage(); //Decoding raw codetext with standart second message - BarCodeReader reader = new BarCodeReader("test.png", DecodeType.MAXI_CODE); + BarCodeReader reader = new BarCodeReader("c:\\test.png", DecodeType.MAXI_CODE); for(BarCodeResult result : reader.readBarCodes()) { MaxiCodeCodetext resultMaxiCodeCodetext = ComplexCodetextReader.tryDecodeMaxiCode(result.getExtended().getMaxiCode().getMaxiCodeMode(), result.getCodeText()); @@ -59,7 +59,7 @@ Class for encoding and decoding the text embedded in the MaxiCode code for modes } } //Decoding raw codetext with structured second message - BarCodeReader reader = new BarCodeReader("test.png", DecodeType.MAXI_CODE); + BarCodeReader reader = new BarCodeReader("c:\\test.png", DecodeType.MAXI_CODE); for(BarCodeResult result : reader.readBarCodes()) { MaxiCodeCodetext resultMaxiCodeCodetext = ComplexCodetextReader.tryDecodeMaxiCode(result.getExtended().getMaxiCode().getMaxiCodeMode(), result.getCodeText()); diff --git a/english/androidjava/com.aspose.barcode.complexbarcode/maxicodestandardcodetext/_index.md b/english/androidjava/com.aspose.barcode.complexbarcode/maxicodestandardcodetext/_index.md index 8cff5d2fb..92ab0880a 100644 --- a/english/androidjava/com.aspose.barcode.complexbarcode/maxicodestandardcodetext/_index.md +++ b/english/androidjava/com.aspose.barcode.complexbarcode/maxicodestandardcodetext/_index.md @@ -45,7 +45,7 @@ Class for encoding and decoding MaxiCode codetext for modes 4, 5 and 6. | Method | Description | | --- | --- | -| [equals(Object obj)](#equals-java.lang.Object-) | Returns a value indicating whether this instance is equal to a specified value. | +| [equals(Object obj)](#equals-java.lang.Object-) | Returns a value indicating whether this instance is equal to a specified MaxiCodeStandardCodetext value. | | [getBarcodeType()](#getBarcodeType--) | Gets barcode type. | | [getClass()](#getClass--) | | | [getConstructedCodetext()](#getConstructedCodetext--) | Constructs codetext | @@ -78,12 +78,12 @@ public boolean equals(Object obj) ``` -Returns a value indicating whether this instance is equal to a specified value. +Returns a value indicating whether this instance is equal to a specified MaxiCodeStandardCodetext value. **Parameters:** | Parameter | Type | Description | | --- | --- | --- | -| obj | java.lang.Object | An value to compare to this instance. | +| obj | java.lang.Object | An MaxiCodeStandardCodetext value to compare to this instance. | **Returns:** boolean - if obj has the same value as this instance; otherwise, **false**. diff --git a/english/androidjava/com.aspose.barcode.component/specificparametersui/_index.md b/english/androidjava/com.aspose.barcode.component/specificparametersui/_index.md index acc57f2a8..973f89fe5 100644 --- a/english/androidjava/com.aspose.barcode.component/specificparametersui/_index.md +++ b/english/androidjava/com.aspose.barcode.component/specificparametersui/_index.md @@ -28,13 +28,13 @@ Specific parameters. | [getCoupon()](#getCoupon--) | Gets Coupon parameters . | | [getDataBar()](#getDataBar--) | Gets DataBar parameters . | | [getDataMatrix()](#getDataMatrix--) | Gets DataMatrix parameters Used for DataMatrix. | -| [getDotCode()](#getDotCode--) | Gets DotCode parameters | +| [getDotCode()](#getDotCode--) | Gets DotCode parameters "com.aspose.barcode.generation.DotCodeParameters" | | [getHanXin()](#getHanXin--) | Gets HanXin parameters . | | [getITF()](#getITF--) | Gets ITF parameters . | | [getMaxiCode()](#getMaxiCode--) | Gets MaxiCode parameters . | | [getPdf417()](#getPdf417--) | Gets Pdf417 parameters . | | [getPostal()](#getPostal--) | Gets Postal parameters . | -| [getQR()](#getQR--) | Gets QR, MicroQR and RectMicroQR parameters com.aspose.barcode.generation.QrParameters . | +| [getQR()](#getQR--) | Gets QR, MicroQR and RectMicroQR parameters com.aspose.barcode.component.QrParametersUI . | | [getSupplement()](#getSupplement--) | Gets Supplement parameters . | | [hashCode()](#hashCode--) | | | [notify()](#notify--) | | @@ -164,7 +164,7 @@ public DotCodeParameters getDotCode() ``` -Gets DotCode parameters +Gets DotCode parameters "com.aspose.barcode.generation.DotCodeParameters" **Returns:** [DotCodeParameters](../../com.aspose.barcode.generation/dotcodeparameters) - Used for DotCode. @@ -224,7 +224,7 @@ public QrParametersUI getQR() ``` -Gets QR, MicroQR and RectMicroQR parameters com.aspose.barcode.generation.QrParameters . Used for QR. +Gets QR, MicroQR and RectMicroQR parameters com.aspose.barcode.component.QrParametersUI . Used for QR. **Returns:** [QrParametersUI](../../com.aspose.barcode.component/qrparametersui) diff --git a/english/androidjava/com.aspose.barcode.generation/autosizemode/_index.md b/english/androidjava/com.aspose.barcode.generation/autosizemode/_index.md index 803af562d..021256250 100644 --- a/english/androidjava/com.aspose.barcode.generation/autosizemode/_index.md +++ b/english/androidjava/com.aspose.barcode.generation/autosizemode/_index.md @@ -12,25 +12,13 @@ java.lang.Object, java.lang.Enum public enum AutoSizeMode extends Enum ``` -Specifies the different types of automatic sizing modes. Default value is AutoSizeMode.NONE. - --------------------- - -> ``` -> This sample shows how to create and save a BarCode image. -> -> BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.DATA_MATRIX); -> generator.setAutoSizeMode(AutoSizeMode.NEAREST); -> generator.getBarCodeWidth().setMillimeters(50); -> generator.getBarCodeHeight().setInches(1.3f); -> generator.save("test.png"); -> ``` +Specifies the different types of automatic sizing modes. ## Fields | Field | Description | | --- | --- | -| [INTERPOLATION](#INTERPOLATION) | Resizes barcode to specified size with little scaling but it can be little damaged in some cases because using interpolation for scaling. | -| [NEAREST](#NEAREST) | Barcode resizes to nearest lowest possible size which are specified by BarCodeWidth and BarCodeHeight properties. | +| [INTERPOLATION](#INTERPOLATION) | Resizes barcode to specified size. | +| [NEAREST](#NEAREST) | Resizes barcode to nearest lowest possible size specified by ImageWidth and ImageHeight properties. | | [NONE](#NONE) | Automatic resizing is disabled. | ## Methods @@ -59,19 +47,7 @@ public static final AutoSizeMode INTERPOLATION ``` -Resizes barcode to specified size with little scaling but it can be little damaged in some cases because using interpolation for scaling. Size can be specified by BarcodeGenerator.BarCodeWidth and BarcodeGenerator.BarCodeHeight properties. - --------------------- - -> ``` -> This sample shows how to create and save a BarCode image in Scale mode. -> -> BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.DATA_MATRIX); -> generator.setAutoSizeMode(AutoSizeMode.INTERPOLATION); -> generator.getBarCodeWidth().setMillimeters(50); -> generator.getBarCodeHeight().setInches(1.3f); -> generator.save("test.png"); -> ``` +Resizes barcode to specified size. Size can be specified by ImageWidth and ImageHeight properties. Generated barcode may be invalid (not readable) after scaling. ### NEAREST {#NEAREST} ``` @@ -79,7 +55,7 @@ public static final AutoSizeMode NEAREST ``` -Barcode resizes to nearest lowest possible size which are specified by BarCodeWidth and BarCodeHeight properties. +Resizes barcode to nearest lowest possible size specified by ImageWidth and ImageHeight properties. Preserves default aspect ratio. ### NONE {#NONE} ``` @@ -87,7 +63,7 @@ public static final AutoSizeMode NONE ``` -Automatic resizing is disabled. Default value. +Automatic resizing is disabled. ### valueOf(Class arg0, String arg1) {#-T-valueOf-java.lang.Class-T--java.lang.String-} ``` diff --git a/english/androidjava/com.aspose.barcode.generation/barcodegenerator/_index.md b/english/androidjava/com.aspose.barcode.generation/barcodegenerator/_index.md index 879df490c..9fcd9577b 100644 --- a/english/androidjava/com.aspose.barcode.generation/barcodegenerator/_index.md +++ b/english/androidjava/com.aspose.barcode.generation/barcodegenerator/_index.md @@ -14,7 +14,7 @@ public final class BarcodeGenerator BarcodeGenerator for backend barcode images generation. -supported symbologies: 1D: Codabar, Code11, Code128, Code39Standard, Code39Extended Code93Standard, Code93Extended, EAN13, EAN8, Interleaved2of5, MSI, Standard2of5, UPCA, UPCE, ISBN, GS1Code128, Postnet, Planet EAN14, SCC14, SSCC18, ITF14, SingaporePost ... 2D: Aztec, DataMatrix, PDf417, QR code ... +supported symbologies: 1D: Codabar, Code11, Code128, Code39, Code39FullASCII Code93Standard, Code93Extended, EAN13, EAN8, Interleaved2of5, MSI, Standard2of5, UPCA, UPCE, ISBN, GS1Code128, Postnet, Planet EAN14, SCC14, SSCC18, ITF14, SingaporePost ... 2D: Aztec, DataMatrix, PDf417, QR code ... -------------------- @@ -55,7 +55,8 @@ supported symbologies: 1D: Codabar, Code11, Code128, Code39Standard, Code39Exten | [setBarcodeType(BaseEncodeType value)](#setBarcodeType-com.aspose.barcode.generation.BaseEncodeType-) | Barcode symbology type. | | [setCodeText(byte[] codeBytes)](#setCodeText-byte---) | Set codetext as sequence of bytes. | | [setCodeText(String value)](#setCodeText-java.lang.String-) | Text to be encoded. | -| [setCodeText(String codeText, Charset encoding)](#setCodeText-java.lang.String-java.nio.charset.Charset-) | Encodes codetext with byte order mark (BOM) using specified encoding. | +| [setCodeText(String codeText, Charset encoding)](#setCodeText-java.lang.String-java.nio.charset.Charset-) | Encodes codetext with byte order mark (BOM), using specified encoding: like UTF8, UTF16, UTF32, e.t.c.. | +| [setCodeText(String codeText, Charset encoding, boolean insertBOM)](#setCodeText-java.lang.String-java.nio.charset.Charset-boolean-) | Encodes codetext with optional byte order mark (BOM) insertion, using specified encoding: like UTF8, UTF16, UTF32, etc. | | [toString()](#toString--) | | | [wait()](#wait--) | | | [wait(long arg0)](#wait-long-) | | @@ -348,13 +349,77 @@ public void setCodeText(String codeText, Charset encoding) ``` -Encodes codetext with byte order mark (BOM) using specified encoding. +Encodes codetext with byte order mark (BOM), using specified encoding: like UTF8, UTF16, UTF32, e.t.c.. 1D barcodes should use Encoding.ASCII or ISO/IEC 8859-1 - Encoding.GetEncoding(28591). 2D barcodes should use Encoding.UTF8. + +-------------------- + +> ``` +> This sample shows how to use SetCodeText with 1D and 2D barcodes +> +> //Encode codetext of 1D barcodes with 7-bit ASCII encoding, byte order mark (BOM) is absent +> BarcodeGenerator gen = new BarcodeGenerator(EncodeTypes.CODE_128); +> gen.setCodeText("123ABCD", StandardCharsets.US_ASCII); +> gen.save("barcode.png", BarCodeImageFormat.PNG); +> +> //Encode codetext of 1D barcodes with 8-bit ISO/IEC 8859-1 encoding, byte order mark (BOM) is absent +> BarcodeGenerator gen = new BarcodeGenerator(EncodeTypes.CODE_128); +> gen.setCodeText("123ABCD", StandardCharsets.ISO_8859_1); +> gen.save("barcode.png", BarCodeImageFormat.PNG); +> //Encode codetext of 2D barcodes with UTF8 encoding with byte order mark (BOM) +> BarcodeGenerator gen = new BarcodeGenerator(EncodeTypes.CODE_128); +> gen.setCodeText("123ABCD", Encoding.UTF_8); +> gen.save("barcode.png", BarCodeImageFormat.PNG); +> ``` + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| codeText | java.lang.String | CodeText string | +| encoding | java.nio.charset.Charset | Applied encoding | + +### setCodeText(String codeText, Charset encoding, boolean insertBOM) {#setCodeText-java.lang.String-java.nio.charset.Charset-boolean-} +``` +public void setCodeText(String codeText, Charset encoding, boolean insertBOM) +``` + + +Encodes codetext with optional byte order mark (BOM) insertion, using specified encoding: like UTF8, UTF16, UTF32, etc. 1D barcodes should use Encoding.ASCII or ISO/IEC 8859-1 - Encoding.GetEncoding(28591). 2D barcodes should use Encoding.UTF8. Detailed description you can find in the \{@link [documentation][]\}. + +-------------------- + +> ``` +> This sample shows how to use SetCodeText with 1D and 2D barcodes +> +> +> //Encode codetext of 1D barcodes with 7-bit ASCII encoding, byte order mark (BOM) is absent +> BarcodeGenerator gen = new BarcodeGenerator(EncodeTypes.CODE_128); +> gen.SetCodeText("123ABCD", StandardCharsets.US_ASCII, true); +> gen.Save("barcode.png", BarCodeImageFormat.PNG); +> +> //Encode codetext of 1D barcodes with 8-bit ISO/IEC 8859-1 encoding, byte order mark (BOM) is absent +> BarcodeGenerator gen = new BarcodeGenerator(EncodeTypes.CODE_128); +> gen.setCodeText("123ABCD", StandardCharsets.ISO_8859_1, true); +> gen.save("barcode.png", BarCodeImageFormat.PNG); +> //Encode codetext of 2D barcodes with UTF8 encoding with byte order mark (BOM) +> using (BarcodeGenerator gen = new BarcodeGenerator(EncodeTypes.Code128)) +> gen.setCodeText("123ABCD", StandardCharsets.UTF_8, true); +> gen.save("barcode.png", BarCodeImageFormat.PNG); +> +> //Encode codetext of 2D barcodes with UTF8 encoding without byte order mark (BOM) +> BarcodeGenerator gen = new BarcodeGenerator(EncodeTypes.CODE_128); +> gen.setCodeText("123ABCD", StandardCharsets.UTF_8, false); +> gen.save("barcode.png", BarCodeImageFormat.PNG); +> ``` + + +[documentation]: https://docs.aspose.com/barcode/java/how-to-use-insert-bom-parameter/ **Parameters:** | Parameter | Type | Description | | --- | --- | --- | | codeText | java.lang.String | CodeText string | | encoding | java.nio.charset.Charset | Applied encoding | +| insertBOM | boolean | flag indicates insertion of the Encoding byte order mark (BOM). In case, the Encoding requires byte order mark (BOM) insertion: like UTF8, UTF16, UTF32, e.t.c. and flag is set to true, the BOM is added, in case of setting flag to false, the BOM insertion is ignored. | ### toString() {#toString--} ``` diff --git a/english/androidjava/com.aspose.barcode.generation/barcodeimageformat/_index.md b/english/androidjava/com.aspose.barcode.generation/barcodeimageformat/_index.md index 710d12d16..15c29ac4b 100644 --- a/english/androidjava/com.aspose.barcode.generation/barcodeimageformat/_index.md +++ b/english/androidjava/com.aspose.barcode.generation/barcodeimageformat/_index.md @@ -21,6 +21,7 @@ Specifies the file format of the image. | [EMF](#EMF) | Specifies the Enhanced Metafile (EMF) image format. | | [GIF](#GIF) | Specifies the Graphics Interchange Format (GIF) image format. | | [JPEG](#JPEG) | Specifies the Joint Photographic Experts Group (JPEG) image format. | +| [PDF](#PDF) | Specifies the Portable Document Format (PDF) image format. | | [PNG](#PNG) | Specifies the W3C Portable Network Graphics (PNG) image format. | | [WEBP](#WEBP) | Specifies the Enhanced Metafile (EMF) image format. | ## Methods @@ -77,6 +78,14 @@ public static final BarCodeImageFormat JPEG Specifies the Joint Photographic Experts Group (JPEG) image format. +### PDF {#PDF} +``` +public static final BarCodeImageFormat PDF +``` + + +Specifies the Portable Document Format (PDF) image format. + ### PNG {#PNG} ``` public static final BarCodeImageFormat PNG diff --git a/english/androidjava/com.aspose.barcode.generation/barcodeparameters/_index.md b/english/androidjava/com.aspose.barcode.generation/barcodeparameters/_index.md index 5666e7923..9f3f9d559 100644 --- a/english/androidjava/com.aspose.barcode.generation/barcodeparameters/_index.md +++ b/english/androidjava/com.aspose.barcode.generation/barcodeparameters/_index.md @@ -519,7 +519,7 @@ public boolean getThrowExceptionWhenCodeTextIncorrect() ``` -Only for 1D barcodes. If codetext is incorrect and value set to true - exception will be thrown. Otherwise codetext will be corrected to match barcode's specification. Exception always will be thrown for: Databar symbology if codetext is incorrect. Exception always will not be thrown for: AustraliaPost, SingapurePost, Code39Extended, Code93Extended, Code16K, Code128 symbology if codetext is incorrect. +Only for 1D barcodes. If codetext is incorrect and value set to true - exception will be thrown. Otherwise codetext will be corrected to match barcode's specification. Exception always will be thrown for: Databar symbology if codetext is incorrect. Exception always will not be thrown for: AustraliaPost, SingapurePost, Code39FullASCII, Code93Extended, Code16K, Code128 symbology if codetext is incorrect. **Returns:** boolean @@ -529,7 +529,7 @@ public float getWideNarrowRatio() ``` -Wide bars to Narrow bars ratio. Default value: 3, that is, wide bars are 3 times as wide as narrow bars. Used for ITF, PZN, PharmaCode, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, IATA2of5, VIN, DeutschePost, OPC, Code32, DataLogic2of5, PatchCode, Code39Extended, Code39Standard +Wide bars to Narrow bars ratio. Default value: 3, that is, wide bars are 3 times as wide as narrow bars. Used for ITF, PZN, PharmaCode, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, IATA2of5, VIN, DeutschePost, OPC, Code32, DataLogic2of5, PatchCode, Code39FullASCII, Code39Standard **Returns:** float diff --git a/english/androidjava/com.aspose.barcode.generation/encodetypes/_index.md b/english/androidjava/com.aspose.barcode.generation/encodetypes/_index.md index 83a34c0b8..f93e5211c 100644 --- a/english/androidjava/com.aspose.barcode.generation/encodetypes/_index.md +++ b/english/androidjava/com.aspose.barcode.generation/encodetypes/_index.md @@ -66,8 +66,8 @@ Specifies the type of barcode to encode. | [HIBC_AZTEC_PAS](#HIBC-AZTEC-PAS) | Specifies that the data should be encoded with **HIBC PAS Aztec** barcode specification. | | [HIBC_CODE_128_LIC](#HIBC-CODE-128-LIC) | Specifies that the data should be encoded with **HIBC LIC Code128** barcode specification. | | [HIBC_CODE_128_PAS](#HIBC-CODE-128-PAS) | Specifies that the data should be encoded with **HIBC PAS Code128** barcode specification. | -| [HIBC_CODE_39_LIC](#HIBC-CODE-39-LIC) | Specifies that the data should be encoded with **HIBC LIC Code39Standart** barcode specification. | -| [HIBC_CODE_39_PAS](#HIBC-CODE-39-PAS) | Specifies that the data should be encoded with **HIBC PAS Code39Standart** barcode specification. | +| [HIBC_CODE_39_LIC](#HIBC-CODE-39-LIC) | Specifies that the data should be encoded with **HIBC LIC Code39** barcode specification. | +| [HIBC_CODE_39_PAS](#HIBC-CODE-39-PAS) | Specifies that the data should be encoded with **HIBC PAS Code39** barcode specification. | | [HIBC_DATA_MATRIX_LIC](#HIBC-DATA-MATRIX-LIC) | Specifies that the data should be encoded with **HIBC LIC DataMatrix** barcode specification. | | [HIBC_DATA_MATRIX_PAS](#HIBC-DATA-MATRIX-PAS) | Specifies that the data should be encoded with **HIBC PAS DataMatrix** barcode specification. | | [IATA_2_OF_5](#IATA-2-OF-5) | Represents IATA 2 of 5 barcode.IATA (International Air Transport Assosiation) uses this barcode for the management of air cargo. | @@ -489,7 +489,7 @@ public static final SymbologyEncodeType HIBC_CODE_39_LIC ``` -Specifies that the data should be encoded with **HIBC LIC Code39Standart** barcode specification. +Specifies that the data should be encoded with **HIBC LIC Code39** barcode specification. ### HIBC_CODE_39_PAS {#HIBC-CODE-39-PAS} ``` @@ -497,7 +497,7 @@ public static final SymbologyEncodeType HIBC_CODE_39_PAS ``` -Specifies that the data should be encoded with **HIBC PAS Code39Standart** barcode specification. +Specifies that the data should be encoded with **HIBC PAS Code39** barcode specification. ### HIBC_DATA_MATRIX_LIC {#HIBC-DATA-MATRIX-LIC} ``` @@ -793,7 +793,7 @@ public static final SymbologyEncodeType UPCA_GS_1_DATABAR_COUPON ``` -Specifies that the data should be encoded with **UPC coupon with GS1 DataBar addition** barcode specification. An example of the input string: BarcodeGenerator.setCodetext("514141100906(8110)106141416543213500110000310123196000"), where UPCA part is "514141100906", DATABAR part is "(8110)106141416543213500110000310123196000". To change the caption, use Parameters.CaptionAbove.TEXT = "company prefix + offer code"; +Specifies that the data should be encoded with **UPC coupon with GS1 DataBar addition** barcode specification. An example of the input string: BarcodeGenerator.setCodeText("514141100906(8110)106141416543213500110000310123196000"), where UPCA part is "514141100906", DATABAR part is "(8110)106141416543213500110000310123196000". To change the caption, use Parameters.CaptionAbove.TEXT = "company prefix + offer code"; ### UPCE {#UPCE} ``` diff --git a/english/androidjava/com.aspose.barcode.generation/hanxinencodemode/_index.md b/english/androidjava/com.aspose.barcode.generation/hanxinencodemode/_index.md index 4902ac2cd..aaac68f75 100644 --- a/english/androidjava/com.aspose.barcode.generation/hanxinencodemode/_index.md +++ b/english/androidjava/com.aspose.barcode.generation/hanxinencodemode/_index.md @@ -26,7 +26,7 @@ Han Xin Code encoding mode. It is recommended to use Auto with ASCII / Chinese c > // Binary mode > byte[] encodedArr = { 0xFF, 0xFE, 0xFD, 0xFC, 0xFB, 0xFA, 0xF9 }; > BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.HAN_XIN) -> generator.setCodetext(encodedArr); +> generator.setCodeText(encodedArr); > generator.getParameters().getBarcode().getHanXin().setHanXinEncodeMode(HanXinEncodeMode.BINARY); > generator.save("test.bmp"); > diff --git a/english/androidjava/com.aspose.barcode/_index.md b/english/androidjava/com.aspose.barcode/_index.md index ac0cfaafb..93e42ef49 100644 --- a/english/androidjava/com.aspose.barcode/_index.md +++ b/english/androidjava/com.aspose.barcode/_index.md @@ -19,8 +19,6 @@ This package contains classes with general purposes for barcodes generation and | [BuildVersionInfo](../com.aspose.barcode/buildversioninfo) | Provides information about the current product name and version. | | [Checker](../com.aspose.barcode/checker) | | | [DefaultValues](../com.aspose.barcode/defaultvalues) | | -| [ECIEncoder](../com.aspose.barcode/eciencoder) | | -| [ECIEncoder.EciPiece](../com.aspose.barcode/eciencoder.ecipiece) | | | [InvalidCodeException](../com.aspose.barcode/invalidcodeexception) | The Exception will be thrown when invalid characters contained in the code text. | | [License](../com.aspose.barcode/license) | Provides methods to license the component. | | [PleaseReportException](../com.aspose.barcode/pleasereportexception) | | diff --git a/english/androidjava/com.aspose.barcode/color/_index.md b/english/androidjava/com.aspose.barcode/color/_index.md deleted file mode 100644 index bf5adc547..000000000 --- a/english/androidjava/com.aspose.barcode/color/_index.md +++ /dev/null @@ -1,245 +0,0 @@ ---- -title: R.color -second_title: Aspose.BarCode for Android via Java API Reference -description: -type: docs -weight: 11 -url: /androidjava/com.aspose.barcode/r.color/ ---- -**Inheritance:** -java.lang.Object -``` -public static final class R.color -``` -## Fields - -| Field | Description | -| --- | --- | -| [black](#black) | | -| [progressBar_color](#progressBar-color) | | -| [purple_200](#purple-200) | | -| [purple_500](#purple-500) | | -| [purple_700](#purple-700) | | -| [recognition_area_one_d_line_color](#recognition-area-one-d-line-color) | | -| [recognition_area_two_d_line_color](#recognition-area-two-d-line-color) | | -| [recognition_cancel_button_text_color](#recognition-cancel-button-text-color) | | -| [recognition_process_label_text_color](#recognition-process-label-text-color) | | -| [recognize_area_marker_foreground](#recognize-area-marker-foreground) | | -| [recognize_button_background](#recognize-button-background) | | -| [recognize_button_foreground](#recognize-button-foreground) | | -| [settings_button_background](#settings-button-background) | | -| [settings_button_foreground](#settings-button-foreground) | | -| [teal_200](#teal-200) | | -| [teal_700](#teal-700) | | -| [white](#white) | | -## Methods - -| Method | Description | -| --- | --- | -| [equals(Object arg0)](#equals-java.lang.Object-) | | -| [getClass()](#getClass--) | | -| [hashCode()](#hashCode--) | | -| [notify()](#notify--) | | -| [notifyAll()](#notifyAll--) | | -| [toString()](#toString--) | | -| [wait()](#wait--) | | -| [wait(long arg0)](#wait-long-) | | -| [wait(long arg0, int arg1)](#wait-long-int-) | | -### black {#black} -``` -public static int black -``` - - -### progressBar_color {#progressBar-color} -``` -public static int progressBar_color -``` - - -### purple_200 {#purple-200} -``` -public static int purple_200 -``` - - -### purple_500 {#purple-500} -``` -public static int purple_500 -``` - - -### purple_700 {#purple-700} -``` -public static int purple_700 -``` - - -### recognition_area_one_d_line_color {#recognition-area-one-d-line-color} -``` -public static int recognition_area_one_d_line_color -``` - - -### recognition_area_two_d_line_color {#recognition-area-two-d-line-color} -``` -public static int recognition_area_two_d_line_color -``` - - -### recognition_cancel_button_text_color {#recognition-cancel-button-text-color} -``` -public static int recognition_cancel_button_text_color -``` - - -### recognition_process_label_text_color {#recognition-process-label-text-color} -``` -public static int recognition_process_label_text_color -``` - - -### recognize_area_marker_foreground {#recognize-area-marker-foreground} -``` -public static int recognize_area_marker_foreground -``` - - -### recognize_button_background {#recognize-button-background} -``` -public static int recognize_button_background -``` - - -### recognize_button_foreground {#recognize-button-foreground} -``` -public static int recognize_button_foreground -``` - - -### settings_button_background {#settings-button-background} -``` -public static int settings_button_background -``` - - -### settings_button_foreground {#settings-button-foreground} -``` -public static int settings_button_foreground -``` - - -### teal_200 {#teal-200} -``` -public static int teal_200 -``` - - -### teal_700 {#teal-700} -``` -public static int teal_700 -``` - - -### white {#white} -``` -public static int white -``` - - -### equals(Object arg0) {#equals-java.lang.Object-} -``` -public boolean equals(Object arg0) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | java.lang.Object | | - -**Returns:** -boolean -### getClass() {#getClass--} -``` -public final native Class getClass() -``` - - - - -**Returns:** -java.lang.Class -### hashCode() {#hashCode--} -``` -public native int hashCode() -``` - - - - -**Returns:** -int -### notify() {#notify--} -``` -public final native void notify() -``` - - - - -### notifyAll() {#notifyAll--} -``` -public final native void notifyAll() -``` - - - - -### toString() {#toString--} -``` -public String toString() -``` - - - - -**Returns:** -java.lang.String -### wait() {#wait--} -``` -public final void wait() -``` - - - - -### wait(long arg0) {#wait-long-} -``` -public final native void wait(long arg0) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | long | | - -### wait(long arg0, int arg1) {#wait-long-int-} -``` -public final void wait(long arg0, int arg1) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | long | | -| arg1 | int | | - diff --git a/english/androidjava/com.aspose.barcode/dimen/_index.md b/english/androidjava/com.aspose.barcode/dimen/_index.md deleted file mode 100644 index 73bded248..000000000 --- a/english/androidjava/com.aspose.barcode/dimen/_index.md +++ /dev/null @@ -1,182 +0,0 @@ ---- -title: R.dimen -second_title: Aspose.BarCode for Android via Java API Reference -description: -type: docs -weight: 12 -url: /androidjava/com.aspose.barcode/r.dimen/ ---- -**Inheritance:** -java.lang.Object -``` -public static final class R.dimen -``` -## Fields - -| Field | Description | -| --- | --- | -| [one_d_area_border_width](#one-d-area-border-width) | | -| [recognition_cancel_button_right_offset](#recognition-cancel-button-right-offset) | | -| [recognition_cancel_button_text_size](#recognition-cancel-button-text-size) | | -| [recognition_progressBar_size](#recognition-progressBar-size) | | -| [recognition_recognition_label_text_size](#recognition-recognition-label-text-size) | | -| [recognize_image_button_size](#recognize-image-button-size) | | -| [scanner_preferences_button_size](#scanner-preferences-button-size) | | -| [two_d_area_border_width](#two-d-area-border-width) | | -## Methods - -| Method | Description | -| --- | --- | -| [equals(Object arg0)](#equals-java.lang.Object-) | | -| [getClass()](#getClass--) | | -| [hashCode()](#hashCode--) | | -| [notify()](#notify--) | | -| [notifyAll()](#notifyAll--) | | -| [toString()](#toString--) | | -| [wait()](#wait--) | | -| [wait(long arg0)](#wait-long-) | | -| [wait(long arg0, int arg1)](#wait-long-int-) | | -### one_d_area_border_width {#one-d-area-border-width} -``` -public static int one_d_area_border_width -``` - - -### recognition_cancel_button_right_offset {#recognition-cancel-button-right-offset} -``` -public static int recognition_cancel_button_right_offset -``` - - -### recognition_cancel_button_text_size {#recognition-cancel-button-text-size} -``` -public static int recognition_cancel_button_text_size -``` - - -### recognition_progressBar_size {#recognition-progressBar-size} -``` -public static int recognition_progressBar_size -``` - - -### recognition_recognition_label_text_size {#recognition-recognition-label-text-size} -``` -public static int recognition_recognition_label_text_size -``` - - -### recognize_image_button_size {#recognize-image-button-size} -``` -public static int recognize_image_button_size -``` - - -### scanner_preferences_button_size {#scanner-preferences-button-size} -``` -public static int scanner_preferences_button_size -``` - - -### two_d_area_border_width {#two-d-area-border-width} -``` -public static int two_d_area_border_width -``` - - -### equals(Object arg0) {#equals-java.lang.Object-} -``` -public boolean equals(Object arg0) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | java.lang.Object | | - -**Returns:** -boolean -### getClass() {#getClass--} -``` -public final native Class getClass() -``` - - - - -**Returns:** -java.lang.Class -### hashCode() {#hashCode--} -``` -public native int hashCode() -``` - - - - -**Returns:** -int -### notify() {#notify--} -``` -public final native void notify() -``` - - - - -### notifyAll() {#notifyAll--} -``` -public final native void notifyAll() -``` - - - - -### toString() {#toString--} -``` -public String toString() -``` - - - - -**Returns:** -java.lang.String -### wait() {#wait--} -``` -public final void wait() -``` - - - - -### wait(long arg0) {#wait-long-} -``` -public final native void wait(long arg0) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | long | | - -### wait(long arg0, int arg1) {#wait-long-int-} -``` -public final void wait(long arg0, int arg1) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | long | | -| arg1 | int | | - diff --git a/english/androidjava/com.aspose.barcode/drawable/_index.md b/english/androidjava/com.aspose.barcode/drawable/_index.md deleted file mode 100644 index 2ca790bc9..000000000 --- a/english/androidjava/com.aspose.barcode/drawable/_index.md +++ /dev/null @@ -1,147 +0,0 @@ ---- -title: R.drawable -second_title: Aspose.BarCode for Android via Java API Reference -description: -type: docs -weight: 13 -url: /androidjava/com.aspose.barcode/r.drawable/ ---- -**Inheritance:** -java.lang.Object -``` -public static final class R.drawable -``` -## Fields - -| Field | Description | -| --- | --- | -| [barcode_scanner_preferences](#barcode-scanner-preferences) | | -| [ic_launcher_background](#ic-launcher-background) | | -| [run_recognition](#run-recognition) | | -## Methods - -| Method | Description | -| --- | --- | -| [equals(Object arg0)](#equals-java.lang.Object-) | | -| [getClass()](#getClass--) | | -| [hashCode()](#hashCode--) | | -| [notify()](#notify--) | | -| [notifyAll()](#notifyAll--) | | -| [toString()](#toString--) | | -| [wait()](#wait--) | | -| [wait(long arg0)](#wait-long-) | | -| [wait(long arg0, int arg1)](#wait-long-int-) | | -### barcode_scanner_preferences {#barcode-scanner-preferences} -``` -public static int barcode_scanner_preferences -``` - - -### ic_launcher_background {#ic-launcher-background} -``` -public static int ic_launcher_background -``` - - -### run_recognition {#run-recognition} -``` -public static int run_recognition -``` - - -### equals(Object arg0) {#equals-java.lang.Object-} -``` -public boolean equals(Object arg0) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | java.lang.Object | | - -**Returns:** -boolean -### getClass() {#getClass--} -``` -public final native Class getClass() -``` - - - - -**Returns:** -java.lang.Class -### hashCode() {#hashCode--} -``` -public native int hashCode() -``` - - - - -**Returns:** -int -### notify() {#notify--} -``` -public final native void notify() -``` - - - - -### notifyAll() {#notifyAll--} -``` -public final native void notifyAll() -``` - - - - -### toString() {#toString--} -``` -public String toString() -``` - - - - -**Returns:** -java.lang.String -### wait() {#wait--} -``` -public final void wait() -``` - - - - -### wait(long arg0) {#wait-long-} -``` -public final native void wait(long arg0) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | long | | - -### wait(long arg0, int arg1) {#wait-long-int-} -``` -public final void wait(long arg0, int arg1) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | long | | -| arg1 | int | | - diff --git a/english/androidjava/com.aspose.barcode/eciencoder/_index.md b/english/androidjava/com.aspose.barcode/eciencoder/_index.md deleted file mode 100644 index d309f29dd..000000000 --- a/english/androidjava/com.aspose.barcode/eciencoder/_index.md +++ /dev/null @@ -1,219 +0,0 @@ ---- -title: ECIEncoder -second_title: Aspose.BarCode for Android via Java API Reference -description: -type: docs -weight: 15 -url: /androidjava/com.aspose.barcode/eciencoder/ ---- -**Inheritance:** -java.lang.Object -``` -public class ECIEncoder -``` -## Constructors - -| Constructor | Description | -| --- | --- | -| [ECIEncoder()](#ECIEncoder--) | | -## Methods - -| Method | Description | -| --- | --- | -| [canBeEncoded(int eciEncoding, String str)](#canBeEncoded-int-java.lang.String-) | | -| [equals(Object arg0)](#equals-java.lang.Object-) | | -| [getClass()](#getClass--) | | -| [getEncodedBytes(int eciEncoding, String str)](#getEncodedBytes-int-java.lang.String-) | | -| [getEncodedString(int eciEncoding, String str)](#getEncodedString-int-java.lang.String-) | | -| [hashCode()](#hashCode--) | | -| [notify()](#notify--) | | -| [notifyAll()](#notifyAll--) | | -| [splitToEciPiecesAuto(String codetext, int defaultEciEncoding, int eciEncoding)](#splitToEciPiecesAuto-java.lang.String-int-int-) | | -| [splitToEciPiecesExtendedCodetext(String codetext, int defaultEciEncoding)](#splitToEciPiecesExtendedCodetext-java.lang.String-int-) | | -| [toString()](#toString--) | | -| [wait()](#wait--) | | -| [wait(long arg0)](#wait-long-) | | -| [wait(long arg0, int arg1)](#wait-long-int-) | | -### ECIEncoder() {#ECIEncoder--} -``` -public ECIEncoder() -``` - - -### canBeEncoded(int eciEncoding, String str) {#canBeEncoded-int-java.lang.String-} -``` -public static boolean canBeEncoded(int eciEncoding, String str) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| eciEncoding | int | | -| str | java.lang.String | | - -**Returns:** -boolean -### equals(Object arg0) {#equals-java.lang.Object-} -``` -public boolean equals(Object arg0) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | java.lang.Object | | - -**Returns:** -boolean -### getClass() {#getClass--} -``` -public final native Class getClass() -``` - - - - -**Returns:** -java.lang.Class -### getEncodedBytes(int eciEncoding, String str) {#getEncodedBytes-int-java.lang.String-} -``` -public static System.Collections.Generic.List getEncodedBytes(int eciEncoding, String str) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| eciEncoding | int | | -| str | java.lang.String | | - -**Returns:** -com.aspose.ms.System.Collections.Generic.List -### getEncodedString(int eciEncoding, String str) {#getEncodedString-int-java.lang.String-} -``` -public static String getEncodedString(int eciEncoding, String str) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| eciEncoding | int | | -| str | java.lang.String | | - -**Returns:** -java.lang.String -### hashCode() {#hashCode--} -``` -public native int hashCode() -``` - - - - -**Returns:** -int -### notify() {#notify--} -``` -public final native void notify() -``` - - - - -### notifyAll() {#notifyAll--} -``` -public final native void notifyAll() -``` - - - - -### splitToEciPiecesAuto(String codetext, int defaultEciEncoding, int eciEncoding) {#splitToEciPiecesAuto-java.lang.String-int-int-} -``` -public static System.Collections.Generic.List splitToEciPiecesAuto(String codetext, int defaultEciEncoding, int eciEncoding) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| codetext | java.lang.String | | -| defaultEciEncoding | int | | -| eciEncoding | int | | - -**Returns:** -com.aspose.ms.System.Collections.Generic.List -### splitToEciPiecesExtendedCodetext(String codetext, int defaultEciEncoding) {#splitToEciPiecesExtendedCodetext-java.lang.String-int-} -``` -public static System.Collections.Generic.List splitToEciPiecesExtendedCodetext(String codetext, int defaultEciEncoding) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| codetext | java.lang.String | | -| defaultEciEncoding | int | | - -**Returns:** -com.aspose.ms.System.Collections.Generic.List -### toString() {#toString--} -``` -public String toString() -``` - - - - -**Returns:** -java.lang.String -### wait() {#wait--} -``` -public final void wait() -``` - - - - -### wait(long arg0) {#wait-long-} -``` -public final native void wait(long arg0) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | long | | - -### wait(long arg0, int arg1) {#wait-long-int-} -``` -public final void wait(long arg0, int arg1) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | long | | -| arg1 | int | | - diff --git a/english/androidjava/com.aspose.barcode/ecipiece/_index.md b/english/androidjava/com.aspose.barcode/ecipiece/_index.md deleted file mode 100644 index e0a74fb0d..000000000 --- a/english/androidjava/com.aspose.barcode/ecipiece/_index.md +++ /dev/null @@ -1,157 +0,0 @@ ---- -title: ECIEncoder.EciPiece -second_title: Aspose.BarCode for Android via Java API Reference -description: -type: docs -weight: 10 -url: /androidjava/com.aspose.barcode/eciencoder.ecipiece/ ---- -**Inheritance:** -java.lang.Object -``` -public static class ECIEncoder.EciPiece -``` -## Constructors - -| Constructor | Description | -| --- | --- | -| [EciPiece(int eciEncoding, String data)](#EciPiece-int-java.lang.String-) | | -## Fields - -| Field | Description | -| --- | --- | -| [Data](#Data) | | -| [EciEncoding](#EciEncoding) | | -## Methods - -| Method | Description | -| --- | --- | -| [equals(Object arg0)](#equals-java.lang.Object-) | | -| [getClass()](#getClass--) | | -| [hashCode()](#hashCode--) | | -| [notify()](#notify--) | | -| [notifyAll()](#notifyAll--) | | -| [toString()](#toString--) | | -| [wait()](#wait--) | | -| [wait(long arg0)](#wait-long-) | | -| [wait(long arg0, int arg1)](#wait-long-int-) | | -### EciPiece(int eciEncoding, String data) {#EciPiece-int-java.lang.String-} -``` -public EciPiece(int eciEncoding, String data) -``` - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| eciEncoding | int | | -| data | java.lang.String | | - -### Data {#Data} -``` -public String Data -``` - - -### EciEncoding {#EciEncoding} -``` -public int EciEncoding -``` - - -### equals(Object arg0) {#equals-java.lang.Object-} -``` -public boolean equals(Object arg0) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | java.lang.Object | | - -**Returns:** -boolean -### getClass() {#getClass--} -``` -public final native Class getClass() -``` - - - - -**Returns:** -java.lang.Class -### hashCode() {#hashCode--} -``` -public native int hashCode() -``` - - - - -**Returns:** -int -### notify() {#notify--} -``` -public final native void notify() -``` - - - - -### notifyAll() {#notifyAll--} -``` -public final native void notifyAll() -``` - - - - -### toString() {#toString--} -``` -public String toString() -``` - - - - -**Returns:** -java.lang.String -### wait() {#wait--} -``` -public final void wait() -``` - - - - -### wait(long arg0) {#wait-long-} -``` -public final native void wait(long arg0) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | long | | - -### wait(long arg0, int arg1) {#wait-long-int-} -``` -public final void wait(long arg0, int arg1) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | long | | -| arg1 | int | | - diff --git a/english/androidjava/com.aspose.barcode/font/_index.md b/english/androidjava/com.aspose.barcode/font/_index.md deleted file mode 100644 index 70f893a06..000000000 --- a/english/androidjava/com.aspose.barcode/font/_index.md +++ /dev/null @@ -1,133 +0,0 @@ ---- -title: R.font -second_title: Aspose.BarCode for Android via Java API Reference -description: -type: docs -weight: 14 -url: /androidjava/com.aspose.barcode/r.font/ ---- -**Inheritance:** -java.lang.Object -``` -public static final class R.font -``` -## Fields - -| Field | Description | -| --- | --- | -| [arial_th](#arial-th) | | -## Methods - -| Method | Description | -| --- | --- | -| [equals(Object arg0)](#equals-java.lang.Object-) | | -| [getClass()](#getClass--) | | -| [hashCode()](#hashCode--) | | -| [notify()](#notify--) | | -| [notifyAll()](#notifyAll--) | | -| [toString()](#toString--) | | -| [wait()](#wait--) | | -| [wait(long arg0)](#wait-long-) | | -| [wait(long arg0, int arg1)](#wait-long-int-) | | -### arial_th {#arial-th} -``` -public static int arial_th -``` - - -### equals(Object arg0) {#equals-java.lang.Object-} -``` -public boolean equals(Object arg0) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | java.lang.Object | | - -**Returns:** -boolean -### getClass() {#getClass--} -``` -public final native Class getClass() -``` - - - - -**Returns:** -java.lang.Class -### hashCode() {#hashCode--} -``` -public native int hashCode() -``` - - - - -**Returns:** -int -### notify() {#notify--} -``` -public final native void notify() -``` - - - - -### notifyAll() {#notifyAll--} -``` -public final native void notifyAll() -``` - - - - -### toString() {#toString--} -``` -public String toString() -``` - - - - -**Returns:** -java.lang.String -### wait() {#wait--} -``` -public final void wait() -``` - - - - -### wait(long arg0) {#wait-long-} -``` -public final native void wait(long arg0) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | long | | - -### wait(long arg0, int arg1) {#wait-long-int-} -``` -public final void wait(long arg0, int arg1) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | long | | -| arg1 | int | | - diff --git a/english/androidjava/com.aspose.barcode/fraction/_index.md b/english/androidjava/com.aspose.barcode/fraction/_index.md deleted file mode 100644 index 56072fbb3..000000000 --- a/english/androidjava/com.aspose.barcode/fraction/_index.md +++ /dev/null @@ -1,154 +0,0 @@ ---- -title: R.fraction -second_title: Aspose.BarCode for Android via Java API Reference -description: -type: docs -weight: 15 -url: /androidjava/com.aspose.barcode/r.fraction/ ---- -**Inheritance:** -java.lang.Object -``` -public static final class R.fraction -``` -## Fields - -| Field | Description | -| --- | --- | -| [recognition_area_left_border](#recognition-area-left-border) | | -| [recognition_area_max_height](#recognition-area-max-height) | | -| [recognition_area_max_width](#recognition-area-max-width) | | -| [recognition_area_top_border](#recognition-area-top-border) | | -## Methods - -| Method | Description | -| --- | --- | -| [equals(Object arg0)](#equals-java.lang.Object-) | | -| [getClass()](#getClass--) | | -| [hashCode()](#hashCode--) | | -| [notify()](#notify--) | | -| [notifyAll()](#notifyAll--) | | -| [toString()](#toString--) | | -| [wait()](#wait--) | | -| [wait(long arg0)](#wait-long-) | | -| [wait(long arg0, int arg1)](#wait-long-int-) | | -### recognition_area_left_border {#recognition-area-left-border} -``` -public static int recognition_area_left_border -``` - - -### recognition_area_max_height {#recognition-area-max-height} -``` -public static int recognition_area_max_height -``` - - -### recognition_area_max_width {#recognition-area-max-width} -``` -public static int recognition_area_max_width -``` - - -### recognition_area_top_border {#recognition-area-top-border} -``` -public static int recognition_area_top_border -``` - - -### equals(Object arg0) {#equals-java.lang.Object-} -``` -public boolean equals(Object arg0) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | java.lang.Object | | - -**Returns:** -boolean -### getClass() {#getClass--} -``` -public final native Class getClass() -``` - - - - -**Returns:** -java.lang.Class -### hashCode() {#hashCode--} -``` -public native int hashCode() -``` - - - - -**Returns:** -int -### notify() {#notify--} -``` -public final native void notify() -``` - - - - -### notifyAll() {#notifyAll--} -``` -public final native void notifyAll() -``` - - - - -### toString() {#toString--} -``` -public String toString() -``` - - - - -**Returns:** -java.lang.String -### wait() {#wait--} -``` -public final void wait() -``` - - - - -### wait(long arg0) {#wait-long-} -``` -public final native void wait(long arg0) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | long | | - -### wait(long arg0, int arg1) {#wait-long-int-} -``` -public final void wait(long arg0, int arg1) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | long | | -| arg1 | int | | - diff --git a/english/androidjava/com.aspose.barcode/invalidcodeexception/_index.md b/english/androidjava/com.aspose.barcode/invalidcodeexception/_index.md index 40bbe63b8..59789fdc0 100644 --- a/english/androidjava/com.aspose.barcode/invalidcodeexception/_index.md +++ b/english/androidjava/com.aspose.barcode/invalidcodeexception/_index.md @@ -3,7 +3,7 @@ title: InvalidCodeException second_title: Aspose.BarCode for Android via Java API Reference description: The Exception will be thrown when invalid characters contained in the code text. type: docs -weight: 16 +weight: 15 url: /androidjava/com.aspose.barcode/invalidcodeexception/ --- **Inheritance:** diff --git a/english/androidjava/com.aspose.barcode/layout/_index.md b/english/androidjava/com.aspose.barcode/layout/_index.md deleted file mode 100644 index e9a7b2c25..000000000 --- a/english/androidjava/com.aspose.barcode/layout/_index.md +++ /dev/null @@ -1,161 +0,0 @@ ---- -title: R.layout -second_title: Aspose.BarCode for Android via Java API Reference -description: -type: docs -weight: 17 -url: /androidjava/com.aspose.barcode/r.layout/ ---- -**Inheritance:** -java.lang.Object -``` -public static final class R.layout -``` -## Fields - -| Field | Description | -| --- | --- | -| [activity_barcode_scanner](#activity-barcode-scanner) | | -| [fragment_barcode_camera](#fragment-barcode-camera) | | -| [fragment_barcode_scanner](#fragment-barcode-scanner) | | -| [fragment_recognition_process](#fragment-recognition-process) | | -| [progress](#progress) | | -## Methods - -| Method | Description | -| --- | --- | -| [equals(Object arg0)](#equals-java.lang.Object-) | | -| [getClass()](#getClass--) | | -| [hashCode()](#hashCode--) | | -| [notify()](#notify--) | | -| [notifyAll()](#notifyAll--) | | -| [toString()](#toString--) | | -| [wait()](#wait--) | | -| [wait(long arg0)](#wait-long-) | | -| [wait(long arg0, int arg1)](#wait-long-int-) | | -### activity_barcode_scanner {#activity-barcode-scanner} -``` -public static int activity_barcode_scanner -``` - - -### fragment_barcode_camera {#fragment-barcode-camera} -``` -public static int fragment_barcode_camera -``` - - -### fragment_barcode_scanner {#fragment-barcode-scanner} -``` -public static int fragment_barcode_scanner -``` - - -### fragment_recognition_process {#fragment-recognition-process} -``` -public static int fragment_recognition_process -``` - - -### progress {#progress} -``` -public static int progress -``` - - -### equals(Object arg0) {#equals-java.lang.Object-} -``` -public boolean equals(Object arg0) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | java.lang.Object | | - -**Returns:** -boolean -### getClass() {#getClass--} -``` -public final native Class getClass() -``` - - - - -**Returns:** -java.lang.Class -### hashCode() {#hashCode--} -``` -public native int hashCode() -``` - - - - -**Returns:** -int -### notify() {#notify--} -``` -public final native void notify() -``` - - - - -### notifyAll() {#notifyAll--} -``` -public final native void notifyAll() -``` - - - - -### toString() {#toString--} -``` -public String toString() -``` - - - - -**Returns:** -java.lang.String -### wait() {#wait--} -``` -public final void wait() -``` - - - - -### wait(long arg0) {#wait-long-} -``` -public final native void wait(long arg0) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | long | | - -### wait(long arg0, int arg1) {#wait-long-int-} -``` -public final void wait(long arg0, int arg1) -``` - - - - -**Parameters:** -| Parameter | Type | Description | -| --- | --- | --- | -| arg0 | long | | -| arg1 | int | | - diff --git a/english/androidjava/com.aspose.barcode/license/_index.md b/english/androidjava/com.aspose.barcode/license/_index.md index 257b67989..6f64c470f 100644 --- a/english/androidjava/com.aspose.barcode/license/_index.md +++ b/english/androidjava/com.aspose.barcode/license/_index.md @@ -3,7 +3,7 @@ title: License second_title: Aspose.BarCode for Android via Java API Reference description: Provides methods to license the component. type: docs -weight: 17 +weight: 16 url: /androidjava/com.aspose.barcode/license/ --- **Inheritance:** diff --git a/english/androidjava/com.aspose.barcode/pleasereportexception/_index.md b/english/androidjava/com.aspose.barcode/pleasereportexception/_index.md index e5e2f0fb6..e8efee6b8 100644 --- a/english/androidjava/com.aspose.barcode/pleasereportexception/_index.md +++ b/english/androidjava/com.aspose.barcode/pleasereportexception/_index.md @@ -3,7 +3,7 @@ title: PleaseReportException second_title: Aspose.BarCode for Android via Java API Reference description: type: docs -weight: 18 +weight: 17 url: /androidjava/com.aspose.barcode/pleasereportexception/ --- **Inheritance:** diff --git a/english/androidjava/com.aspose.barcode/r/_index.md b/english/androidjava/com.aspose.barcode/r/_index.md index 0b218bcac..21529268b 100644 --- a/english/androidjava/com.aspose.barcode/r/_index.md +++ b/english/androidjava/com.aspose.barcode/r/_index.md @@ -3,7 +3,7 @@ title: R second_title: Aspose.BarCode for Android via Java API Reference description: type: docs -weight: 19 +weight: 18 url: /androidjava/com.aspose.barcode/r/ --- **Inheritance:**