com.google.zxing
Class BarcodeFormat

java.lang.Object
  extended by com.google.zxing.BarcodeFormat

public final class BarcodeFormat
extends Object

Enumerates barcode formats known to this package.

Since:
BlackBerry API 6.0.0

Field Summary
static BarcodeFormat CODABAR
          CODABAR 1D format.
static BarcodeFormat CODE_128
          Code 128 1D format.
static BarcodeFormat CODE_39
          Code 39 1D format.
static BarcodeFormat CODE_93
          Code 93 1D format.
static BarcodeFormat DATAMATRIX
          Data Matrix 2D barcode format.
static BarcodeFormat EAN_13
          EAN-13 1D format.
static BarcodeFormat EAN_8
          EAN-8 1D format.
static BarcodeFormat ITF
          ITF (Interleaved Two of Five) 1D format.
static BarcodeFormat PDF417
          PDF417 format.
static BarcodeFormat QR_CODE
          QR Code 2D barcode format.
static BarcodeFormat RSS14
          RSS 14
static BarcodeFormat RSS_EXPANDED
          RSS EXPANDED
static BarcodeFormat UPC_A
          UPC-A 1D format.
static BarcodeFormat UPC_E
          UPC-E 1D format.
static BarcodeFormat UPC_EAN_EXTENSION
          UPC/EAN extension format.
 
Method Summary
 String getName()
           
 String toString()
          Returns a string representation of the object.
static BarcodeFormat valueOf(String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 



Field Detail

QR_CODE

public static final BarcodeFormat QR_CODE
QR Code 2D barcode format.

Since:
BlackBerry API 6.0.0

DATAMATRIX

public static final BarcodeFormat DATAMATRIX
Data Matrix 2D barcode format.

Since:
BlackBerry API 6.0.0

UPC_E

public static final BarcodeFormat UPC_E
UPC-E 1D format.

Since:
BlackBerry API 6.0.0

UPC_A

public static final BarcodeFormat UPC_A
UPC-A 1D format.

Since:
BlackBerry API 6.0.0

EAN_8

public static final BarcodeFormat EAN_8
EAN-8 1D format.

Since:
BlackBerry API 6.0.0

EAN_13

public static final BarcodeFormat EAN_13
EAN-13 1D format.

Since:
BlackBerry API 6.0.0

UPC_EAN_EXTENSION

public static final BarcodeFormat UPC_EAN_EXTENSION
UPC/EAN extension format. Not a stand-alone format.

Since:
BlackBerry API 7.0.0

CODE_128

public static final BarcodeFormat CODE_128
Code 128 1D format.

Since:
BlackBerry API 6.0.0

CODE_39

public static final BarcodeFormat CODE_39
Code 39 1D format.

Since:
BlackBerry API 6.0.0

CODE_93

public static final BarcodeFormat CODE_93
Code 93 1D format.

Since:
BlackBerry API 7.0.0

CODABAR

public static final BarcodeFormat CODABAR
CODABAR 1D format.

Since:
BlackBerry API 7.0.0

ITF

public static final BarcodeFormat ITF
ITF (Interleaved Two of Five) 1D format.

Since:
BlackBerry API 6.0.0

RSS14

public static final BarcodeFormat RSS14
RSS 14

Since:
BlackBerry API 7.0.0

PDF417

public static final BarcodeFormat PDF417
PDF417 format.

Since:
BlackBerry API 6.0.0

RSS_EXPANDED

public static final BarcodeFormat RSS_EXPANDED
RSS EXPANDED

Since:
BlackBerry API 7.0.0


Method Detail

getName

public String getName()
Since:
BlackBerry API 6.0.0

toString

public String toString()
Description copied from class: Object
Returns a string representation of the object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.

The toString method for class Object returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:

 getClass().getName() + '@' + Integer.toHexString(hashCode())
 

Overrides:
toString in class Object
Returns:
a string representation of the object.
Since:
BlackBerry API 6.0.0

valueOf

public static BarcodeFormat valueOf(String name)
Since:
BlackBerry API 6.0.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal