Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions chinese/androidjava/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: Aspose.BarCode 适用于 Android 通过 Java
type: docs
weight: 12
url: /zh/androidjava/
description: Aspose.BarCode 适用于 Android 通过 Java API 参考包含示例、代码片段和 API 文档。它提供包、类、接口以及其他 API 细节。
is_root: true
---
## Packages
| 包 | 描述 |
| --- | --- |
| [com.aspose.barcode](./com.aspose.barcode) | 此包包含用于条码生成和绘制的一般用途类 |
| [com.aspose.barcode.barcoderecognition](./com.aspose.barcode.barcoderecognition) | 此包包含用于 1D/2D 条码识别的工具。 |
| [com.aspose.barcode.complexbarcode](./com.aspose.barcode.complexbarcode) | 此包包含用于处理复杂条码的工具 |
| [com.aspose.barcode.component.barcodescanner](./com.aspose.barcode.component.barcodescanner) | |
| [com.aspose.barcode.component.barcodescanner.recognitionareaview](./com.aspose.barcode.component.barcodescanner.recognitionareaview) | |
| [com.aspose.barcode.generation](./com.aspose.barcode.generation) | 此包包含用于生成条码的工具。 |
| [com.aspose.barcode.metered](./com.aspose.barcode.metered) | 此包提供与计量计费服务相关的功能。 |
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
title: com.aspose.barcode.barcoderecognition
second_title: Aspose.BarCode 适用于 Android 通过 Java API 参考
description: 此包包含用于 1D/2D 条码识别的工具。
type: docs
weight: 11
url: /zh/androidjava/com.aspose.barcode.barcoderecognition/
---

此包包含用于 1D/2D 条码识别的工具。


## 类

| 类 | 描述 |
| --- | --- |
| [AustraliaPostSettings](../com.aspose.barcode.barcoderecognition/australiapostsettings) | AustraliaPost 解码参数。 |
| [AustraliaPostSettingsInternal](../com.aspose.barcode.barcoderecognition/australiapostsettingsinternal) | |
| [AztecExtendedParameters](../com.aspose.barcode.barcoderecognition/aztecextendedparameters) | 存储 Aztec 识别条码的特殊数据 |
| [BarCodeConfidence](../com.aspose.barcode.barcoderecognition/barcodeconfidence) | 包含识别置信度水平 |
| [BarCodeExtendedParameters](../com.aspose.barcode.barcoderecognition/barcodeextendedparameters) | 存储已识别条码的扩展参数 |
| [BarCodeReader](../com.aspose.barcode.barcoderecognition/barcodereader) | BarCodeReader 封装可能包含一个或多个条码的图像,然后可以执行 ReadBarCodes 操作来检测条码。 |
| [BarCodeRecognitionException](../com.aspose.barcode.barcoderecognition/barcoderecognitionexception) | BarCodeReader 抛出的通用异常,继承自 BarCodeException |
| [BarCodeRegionParameters](../com.aspose.barcode.barcoderecognition/barcoderegionparameters) | 表示已识别条码的区域和条码角度 |
| [BarCodeResult](../com.aspose.barcode.barcoderecognition/barcoderesult) | 存储已识别条码数据,如 SingleDecodeType 类型、string codetext、BarCodeRegionParameters 区域以及其他参数 |
| [BarCodeResultInternalCalls](../com.aspose.barcode.barcoderecognition/barcoderesultinternalcalls) | |
| [BarcodeSettings](../com.aspose.barcode.barcoderecognition/barcodesettings) | 主要的 BarCode 解码参数。 |
| [BarcodeSettingsInternal](../com.aspose.barcode.barcoderecognition/barcodesettingsinternal) | |
| [BarcodeSvmDetectorSettings](../com.aspose.barcode.barcoderecognition/barcodesvmdetectorsettings) | 条码检测器设置。 |
| [BaseDecodeType](../com.aspose.barcode.barcoderecognition/basedecodetype) | MultiDecodeType 和 SingleDecodeType 的基类。 |
| [BaseExtendedParameters](../com.aspose.barcode.barcoderecognition/baseextendedparameters) | 用于存储已识别条码扩展参数的基础类 |
| [CodabarExtendedParameters](../com.aspose.barcode.barcoderecognition/codabarextendedparameters) | 存储已识别条码的 Codabar 附加信息 |
| [Code128DataPortion](../com.aspose.barcode.barcoderecognition/code128dataportion) | 包含 Code128 类型条码的子类型数据 |
| [Code128DataPortionInternal](../com.aspose.barcode.barcoderecognition/code128dataportioninternal) | |
| [Code128ExtendedParameters](../com.aspose.barcode.barcoderecognition/code128extendedparameters) | 存储已识别的 Code128 条形码的特殊数据 |
| [Code128SubType](../com.aspose.barcode.barcoderecognition/code128subtype) | 包含 Code128 子集的类型 |
| [DataBarExtendedParameters](../com.aspose.barcode.barcoderecognition/databarextendedparameters) | 存储已识别的条形码的 DataBar 附加信息 BarCodeReader reader = new BarCodeReader("test.png", DecodeType.DATABAR\_OMNI\_DIRECTIONAL); for(BarCodeResult result : reader.readBarCodes()) System.out.println("BarCode Type: " + result.getCodeTypeName()); System.out.println("BarCode CodeText: " + result.getCodeText()); System.out.println("QR Structured Append Quantity: " + result.getExtended().getQR().getQRStructuredAppendModeBarCodesQuantity()); |
| [DataMatrixExtendedParameters](../com.aspose.barcode.barcoderecognition/datamatrixextendedparameters) | 存储已识别的 DataMatrix 条形码的特殊数据 |
| [DecodeType](../com.aspose.barcode.barcoderecognition/decodetype) | 指定要读取的条形码类型。 |
| [DotCodeExtendedParameters](../com.aspose.barcode.barcoderecognition/dotcodeextendedparameters) | 存储已识别的 DotCode 条形码的特殊数据 |
| [GS1CompositeBarExtendedParameters](../com.aspose.barcode.barcoderecognition/gs1compositebarextendedparameters) | 存储已识别的 **GS1 Composite Bar** 条形码的特殊数据 |
| [ImageScalingModeInternal](../com.aspose.barcode.barcoderecognition/imagescalingmodeinternal) | |
| [MaxiCodeExtendedParameters](../com.aspose.barcode.barcoderecognition/maxicodeextendedparameters) | 存储已识别的条形码的 MaxiCode 附加信息 |
| [MultiDecodeType](../com.aspose.barcode.barcoderecognition/multidecodetype) | 复合解码类型。 |
| [MultyDecodeType](../com.aspose.barcode.barcoderecognition/multydecodetype) | 复合解码类型。 |
| [OneDExtendedParameters](../com.aspose.barcode.barcoderecognition/onedextendedparameters) | 存储已识别的 1D 条形码的特殊数据,例如分离的代码文本和校验和 |
| [Pdf417ExtendedParameters](../com.aspose.barcode.barcoderecognition/pdf417extendedparameters) | 存储已识别的条形码的 MacroPdf417 元数据 |
| [ProcessorSettings](../com.aspose.barcode.barcoderecognition/processorsettings) | ProcessorSettings 允许通过多线程提升性能来识别条形码 |
| [QRExtendedParameters](../com.aspose.barcode.barcoderecognition/qrextendedparameters) | 存储已识别的条形码的 QR Structured Append 信息 |
| [Quadrangle](../com.aspose.barcode.barcoderecognition/quadrangle) | 存储一组四个 Point,表示一个 Quadrangle 区域。 |
| [QualitySettings](../com.aspose.barcode.barcoderecognition/qualitysettings) | QualitySettings 允许手动配置识别质量和速度。 |
| [QualitySettingsInternal](../com.aspose.barcode.barcoderecognition/qualitysettingsinternal) | |
| [RecognitionAbortedException](../com.aspose.barcode.barcoderecognition/recognitionabortedexception) | 表示在使用 BarCodeReader 进行识别时因超时而抛出的识别中止异常。 |
| [RecognitionOptions](../com.aspose.barcode.barcoderecognition/recognitionoptions) | |
| [SingleDecodeType](../com.aspose.barcode.barcoderecognition/singledecodetype) | 单一解码类型。 |
| [TextEncodingDetection](../com.aspose.barcode.barcoderecognition/textencodingdetection) | |

## 接口

| 接口 | 描述 |
| --- | --- |
| [AustraliaPostCustomerInformationDecoder](../com.aspose.barcode.barcoderecognition/australiapostcustomerinformationdecoder) | 用于 AustraliaPost 符号系统的客户信息字段解码的公共接口。 |

## 枚举

| 枚举 | 描述 |
| --- | --- |
| [BarcodeQualityMode](../com.aspose.barcode.barcoderecognition/barcodequalitymode) | |
| [ChecksumValidation](../com.aspose.barcode.barcoderecognition/checksumvalidation) | |
| [ComplexBackgroundMode](../com.aspose.barcode.barcoderecognition/complexbackgroundmode) | |
| [CustomerInformationInterpretingType](../com.aspose.barcode.barcoderecognition/customerinformationinterpretingtype) | 定义 AustralianPost 条形码的客户信息的解释类型(C\_TABLE 或 N\_TABLE)。 |
| [DeconvolutionMode](../com.aspose.barcode.barcoderecognition/deconvolutionmode) | |
| [ImageScalingMode](../com.aspose.barcode.barcoderecognition/imagescalingmode) | 指定缩放图像的大小 |
| [InverseImageMode](../com.aspose.barcode.barcoderecognition/inverseimagemode) | |
| [XDimensionMode](../com.aspose.barcode.barcoderecognition/xdimensionmode) | |
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: AustraliaPostCustomerInformationDecoder
second_title: Aspose.BarCode 适用于 Android 通过 Java API 参考
description: 用于 AustraliaPost 符号系统的客户信息字段解码的公共接口。
type: docs
weight: 50
url: /zh/androidjava/com.aspose.barcode.barcoderecognition/australiapostcustomerinformationdecoder/
---```
public interface AustraliaPostCustomerInformationDecoder
```

Public interface for Customer Information Field decoding which is used in AustraliaPost symbology. Implementation should be provided by user.
## Methods

| Method | Description |
| --- | --- |
| [decode(String customerInformationField)](#decode-java.lang.String-) | Decode Customer Information Field from AustraliaPost symbology. |
### decode(String customerInformationField) {#decode-java.lang.String-}
```
public abstract String decode(String customerInformationField)
```


Decode Customer Information Field from AustraliaPost symbology. Can be used for different data interpretation from NTable and CTable encoding. Data is provided as a row of bar values: 0, 1, 2 or 3. Example String[] N\_Table = \{ "00", "01", "02", "10", "11", "12", "20", "21", "22", "30" \}; public String decode(String customerInformationField) \{ StringBuilder bd = new StringBuilder(); for (int i = 0; customerInformationField.length > i; i += 2) \{ if (customerInformationField.length >= i + 2) \{ String tmp = customerInformationField.substring(i, i + 2); for (int j = 0; N\_Table.Length > j; j++) \{ if (N\_Table[j].equals(tmp)) \{ bd.append(j); break; \} \} \} \} return bd.toString(); \}

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| customerInformationField | java.lang.String | The Customer Information Field encoded as row of raw bar values: 0, 1, 2 or 3 |

**Returns:**
java.lang.String - the decoded Customer Information Field string
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
---
title: AustraliaPostSettings
second_title: Aspose.BarCode 适用于 Android 通过 Java API 参考
description: AustraliaPost 解码参数。
type: docs
weight: 10
url: /zh/androidjava/com.aspose.barcode.barcoderecognition/australiapostsettings/
---
**Inheritance:**
java.lang.Object
```
public class AustraliaPostSettings
```

AustraliaPost decoding parameters. Contains parameters which make influence on recognized data of AustraliaPost symbology.
## Methods

| Method | 描述 |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) | |
| [getClass()](#getClass--) | |
| [getCustomerInformationDecoder()](#getCustomerInformationDecoder--) | 用于 AustraliaPost 符号系统的客户信息字段解码的公共接口。 |
| [getCustomerInformationInterpretingType()](#getCustomerInformationInterpretingType--) | Gets or sets the Interpreting Type for the Customer Information of AustralianPost BarCode.DEFAULT is CustomerInformationInterpretingType.OTHER. |
| [getIgnoreEndingFillingPatternsForCTable()](#getIgnoreEndingFillingPatternsForCTable--) | The flag which force AustraliaPost decoder to ignore last filling patterns in Customer Information Field during decoding as CTable method. |
| [hashCode()](#hashCode--) | |
| [notify()](#notify--) | |
| [notifyAll()](#notifyAll--) | |
| [setCustomerInformationDecoder(AustraliaPostCustomerInformationDecoder value)](#setCustomerInformationDecoder-com.aspose.barcode.barcoderecognition.AustraliaPostCustomerInformationDecoder-) | 用于 AustraliaPost 符号系统的客户信息字段解码的公共接口。 |
| [setCustomerInformationInterpretingType(CustomerInformationInterpretingType value)](#setCustomerInformationInterpretingType-com.aspose.barcode.barcoderecognition.CustomerInformationInterpretingType-) | Gets or sets the Interpreting Type for the Customer Information of AustralianPost BarCode.DEFAULT is CustomerInformationInterpretingType.OTHER. |
| [setIgnoreEndingFillingPatternsForCTable(boolean value)](#setIgnoreEndingFillingPatternsForCTable-boolean-) | The flag which force AustraliaPost decoder to ignore last filling patterns in Customer Information Field during decoding as CTable method. |
| [toString()](#toString--) | |
| [wait()](#wait--) | |
| [wait(long arg0)](#wait-long-) | |
| [wait(long arg0, int arg1)](#wait-long-int-) | |
### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | 描述 |
| --- | --- | --- |
| arg0 | java.lang.Object | |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getCustomerInformationDecoder() {#getCustomerInformationDecoder--}
```
public AustraliaPostCustomerInformationDecoder getCustomerInformationDecoder()
```


用于 AustraliaPost 符号系统的客户信息字段解码的公共接口。

**Returns:**
[AustraliaPostCustomerInformationDecoder](../../com.aspose.barcode.barcoderecognition/australiapostcustomerinformationdecoder) - Public interface for Customer Information Field decoding which is used in AustraliaPost symbology.
### getCustomerInformationInterpretingType() {#getCustomerInformationInterpretingType--}
```
public CustomerInformationInterpretingType getCustomerInformationInterpretingType()
```


Gets or sets the Interpreting Type for the Customer Information of AustralianPost BarCode.DEFAULT is CustomerInformationInterpretingType.OTHER.

**Returns:**
[CustomerInformationInterpretingType](../../com.aspose.barcode.barcoderecognition/customerinformationinterpretingtype) - The interpreting type (CTable, NTable or Other) of customer information for AustralianPost BarCode
### getIgnoreEndingFillingPatternsForCTable() {#getIgnoreEndingFillingPatternsForCTable--}
```
public boolean getIgnoreEndingFillingPatternsForCTable()
```


在使用 CTable 方法解码时,强制 AustraliaPost 解码器忽略客户信息字段中的最后填充模式的标志。CTable 编码方法在编码表中没有任何空隙,填充模式序列 "333" 被解码为字母 "z"。Example BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.AUSTRALIA\_POST, "5912345678AB"); generator.getParameters().getBarcode().getAustralianPost().setAustralianPostEncodingTable(CustomerInformationInterpretingType.C\_TABLE); Bitmap image = generator.generateBarCodeImage(); BarCodeReader reader = new BarCodeReader(image, DecodeType.AUSTRALIA\_POST); reader.getBarcodeSettings().getAustraliaPost().setCustomerInformationInterpretingType(CustomerInformationInterpretingType.C\_TABLE); reader.getBarcodeSettings().getAustraliaPost().setIgnoreEndingFillingPatternsForCTable(true); for(BarCodeResult result : reader.readBarCodes()) \{ System.out.println("BarCode Type: " + result.getCodeType()); System.out.println("BarCode CodeText: " + result.getCodeText()); \}

**Returns:**
boolean - 在 CTable 方法解码期间,强制 AustraliaPost 解码器忽略最后填充模式的标志
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setCustomerInformationDecoder(AustraliaPostCustomerInformationDecoder value) {#setCustomerInformationDecoder-com.aspose.barcode.barcoderecognition.AustraliaPostCustomerInformationDecoder-}
```
public void setCustomerInformationDecoder(AustraliaPostCustomerInformationDecoder value)
```


用于 AustraliaPost 符号系统的客户信息字段解码的公共接口。

**Parameters:**
| Parameter | Type | 描述 |
| --- | --- | --- |
| value | [AustraliaPostCustomerInformationDecoder](../../com.aspose.barcode.barcoderecognition/australiapostcustomerinformationdecoder) | |

### setCustomerInformationInterpretingType(CustomerInformationInterpretingType value) {#setCustomerInformationInterpretingType-com.aspose.barcode.barcoderecognition.CustomerInformationInterpretingType-}
```
public void setCustomerInformationInterpretingType(CustomerInformationInterpretingType value)
```


Gets or sets the Interpreting Type for the Customer Information of AustralianPost BarCode.DEFAULT is CustomerInformationInterpretingType.OTHER.

**Parameters:**
| Parameter | Type | 描述 |
| --- | --- | --- |
| value | [CustomerInformationInterpretingType](../../com.aspose.barcode.barcoderecognition/customerinformationinterpretingtype) | AustralianPost 条码的客户信息解释类型(CTable、NTable 或 Other) |

### setIgnoreEndingFillingPatternsForCTable(boolean value) {#setIgnoreEndingFillingPatternsForCTable-boolean-}
```
public void setIgnoreEndingFillingPatternsForCTable(boolean value)
```


在使用 CTable 方法解码时,强制 AustraliaPost 解码器忽略客户信息字段中的最后填充模式的标志。CTable 编码方法在编码表中没有任何空隙,填充模式序列 "333" 被解码为字母 "z"。Example BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.AUSTRALIA\_POST, "5912345678AB"); generator.getParameters().getBarcode().getAustralianPost().setAustralianPostEncodingTable(CustomerInformationInterpretingType.C\_TABLE); Bitmap image = generator.generateBarCodeImage(); BarCodeReader reader = new BarCodeReader(image, DecodeType.AUSTRALIA\_POST); reader.getBarcodeSettings().getAustraliaPost().setCustomerInformationInterpretingType(CustomerInformationInterpretingType.C\_TABLE); reader.getBarcodeSettings().getAustraliaPost().setIgnoreEndingFillingPatternsForCTable(true); for(BarCodeResult result : reader.readBarCodes()) \{ System.out.println("BarCode Type: " + result.getCodeType()); System.out.println("BarCode CodeText: " + result.getCodeText()); \}

**Parameters:**
| Parameter | Type | 描述 |
| --- | --- | --- |
| 值 | boolean | |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final void wait(long arg0)
```




**Parameters:**
| Parameter | Type | 描述 |
| --- | --- | --- |
| arg0 | long | |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | 描述 |
| --- | --- | --- |
| arg0 | long | |
| arg1 | int | |

Loading