diff --git a/docs/javadoc/allclasses-frame.html b/docs/javadoc/allclasses-frame.html new file mode 100644 index 000000000..6075d6d09 --- /dev/null +++ b/docs/javadoc/allclasses-frame.html @@ -0,0 +1,363 @@ + + + + + + +All Classes + + + + + + + + + + + +All Classes +
+ + + + + +
AbstractOneDReader +
+AbstractUPCEANReader +
+AbstractUPCEANWriter +
+Activator +
+AddressBookParsedResult +
+AddressBookResultHandler +
+AlignmentPattern +
+AndroidHttpClient +
+AndroidIntentParsedResult +
+AppSettings +
+AWTImageMonochromeBitmapSource +
+BarcodeFormat +
+BaseMonochromeBitmapSource +
+BitArray +
+BitMatrix +
+BitSource +
+BitVector +
+BlackPointEstimationMethod +
+BlackPointEstimator +
+BookmarkPickerActivity +
+BufferedImageMonochromeBitmapSource +
+BugBarcodeApp +
+BugBarcodeServiceTracker +
+ByQuadrantReader +
+ByteArray +
+ByteMatrix +
+CalendarParsedResult +
+CalendarResultHandler +
+CaptureActivity +
+CaptureActivityHandler +
+CharacterSetECI +
+Code128Reader +
+Code39Reader +
+Collections +
+CommandLineRunner +
+Comparator +
+Contents +
+Contents.Format +
+Contents.Type +
+CroppedMonochromeBitmapSource +
+DataMatrixReader +
+DecodeEmailListener +
+DecodeHintType +
+DecodeHistory +
+DecodeHistoryItem +
+Decoder +
+Decoder +
+Decoder +
+DecoderResult +
+DecodeServlet +
+DefaultGridSampler +
+Detector +
+Detector +
+Detector +
+DetectorResult +
+DoSFilter +
+EAN13Reader +
+EAN13Writer +
+EAN8Reader +
+EAN8Writer +
+ECI +
+EmailAddressParsedResult +
+EmailAddressResultHandler +
+EncodeActivity +
+EncodeHintType +
+Encoder +
+ErrorCorrectionLevel +
+FinderPattern +
+FinderPatternFinder +
+FinderPatternInfo +
+GenericMultipleBarcodeReader +
+GeoParsedResult +
+GeoResultHandler +
+GF256 +
+GridSampler +
+GUIRunner +
+HelpActivity +
+ImageCanvas +
+ImageConverter +
+Intents +
+Intents.Encode +
+Intents.Scan +
+Intents.SearchBookContents +
+Intents.Share +
+ISBNParsedResult +
+ISBNResultHandler +
+ISBNResultParser +
+ITFReader +
+LCDUIImageMonochromeBitmapSource +
+LocaleManager +
+Log +
+MaskUtil +
+MatrixUtil +
+MobileTagRichWebParsedResult +
+Mode +
+MonochromeBitmapSource +
+MonochromeRectangleDetector +
+MultiDetector +
+MultiFormatOneDReader +
+MultiFormatReader +
+MultiFormatUPCEANReader +
+MultiFormatWriter +
+MultipleBarcodeReader +
+NDEFSmartPosterParsedResult +
+OneDReader +
+ParsedResult +
+ParsedResultType +
+PDF417Reader +
+PreferencesActivity +
+ProductParsedResult +
+ProductResultHandler +
+QRCode +
+QRCodeEncoder +
+QRCodeMultiReader +
+QRCodeReader +
+QRCodeWriter +
+R +
+R.attr +
+R.color +
+R.drawable +
+R.id +
+R.layout +
+R.raw +
+R.string +
+R.styleable +
+R.xml +
+Reader +
+ReaderException +
+ReasonableTimer +
+ReedSolomonDecoder +
+ReedSolomonEncoder +
+ReedSolomonException +
+Result +
+ResultButtonListener +
+ResultHandler +
+ResultHandlerFactory +
+ResultMetadataType +
+ResultParser +
+ResultPoint +
+SearchBookContentsActivity +
+SearchBookContentsAdapter +
+SearchBookContentsListItem +
+SearchBookContentsResult +
+ShareActivity +
+SMSParsedResult +
+SMSResultHandler +
+TelParsedResult +
+TelResultHandler +
+TextParsedResult +
+TextResultHandler +
+UPCAReader +
+UPCEANReader +
+UPCEANWriter +
+UPCEReader +
+URIParsedResult +
+URIResultHandler +
+URLDecoder +
+Version +
+Version +
+Version.ECB +
+Version.ECBlocks +
+ViewfinderView +
+Writer +
+WriterException +
+YUVMonochromeBitmapSource +
+ZXingMIDlet +
+ZXingUiApplication +
+
+ + + diff --git a/docs/javadoc/allclasses-noframe.html b/docs/javadoc/allclasses-noframe.html new file mode 100644 index 000000000..efed3a4fa --- /dev/null +++ b/docs/javadoc/allclasses-noframe.html @@ -0,0 +1,363 @@ + + + + + + +All Classes + + + + + + + + + + + +All Classes +
+ + + + + +
AbstractOneDReader +
+AbstractUPCEANReader +
+AbstractUPCEANWriter +
+Activator +
+AddressBookParsedResult +
+AddressBookResultHandler +
+AlignmentPattern +
+AndroidHttpClient +
+AndroidIntentParsedResult +
+AppSettings +
+AWTImageMonochromeBitmapSource +
+BarcodeFormat +
+BaseMonochromeBitmapSource +
+BitArray +
+BitMatrix +
+BitSource +
+BitVector +
+BlackPointEstimationMethod +
+BlackPointEstimator +
+BookmarkPickerActivity +
+BufferedImageMonochromeBitmapSource +
+BugBarcodeApp +
+BugBarcodeServiceTracker +
+ByQuadrantReader +
+ByteArray +
+ByteMatrix +
+CalendarParsedResult +
+CalendarResultHandler +
+CaptureActivity +
+CaptureActivityHandler +
+CharacterSetECI +
+Code128Reader +
+Code39Reader +
+Collections +
+CommandLineRunner +
+Comparator +
+Contents +
+Contents.Format +
+Contents.Type +
+CroppedMonochromeBitmapSource +
+DataMatrixReader +
+DecodeEmailListener +
+DecodeHintType +
+DecodeHistory +
+DecodeHistoryItem +
+Decoder +
+Decoder +
+Decoder +
+DecoderResult +
+DecodeServlet +
+DefaultGridSampler +
+Detector +
+Detector +
+Detector +
+DetectorResult +
+DoSFilter +
+EAN13Reader +
+EAN13Writer +
+EAN8Reader +
+EAN8Writer +
+ECI +
+EmailAddressParsedResult +
+EmailAddressResultHandler +
+EncodeActivity +
+EncodeHintType +
+Encoder +
+ErrorCorrectionLevel +
+FinderPattern +
+FinderPatternFinder +
+FinderPatternInfo +
+GenericMultipleBarcodeReader +
+GeoParsedResult +
+GeoResultHandler +
+GF256 +
+GridSampler +
+GUIRunner +
+HelpActivity +
+ImageCanvas +
+ImageConverter +
+Intents +
+Intents.Encode +
+Intents.Scan +
+Intents.SearchBookContents +
+Intents.Share +
+ISBNParsedResult +
+ISBNResultHandler +
+ISBNResultParser +
+ITFReader +
+LCDUIImageMonochromeBitmapSource +
+LocaleManager +
+Log +
+MaskUtil +
+MatrixUtil +
+MobileTagRichWebParsedResult +
+Mode +
+MonochromeBitmapSource +
+MonochromeRectangleDetector +
+MultiDetector +
+MultiFormatOneDReader +
+MultiFormatReader +
+MultiFormatUPCEANReader +
+MultiFormatWriter +
+MultipleBarcodeReader +
+NDEFSmartPosterParsedResult +
+OneDReader +
+ParsedResult +
+ParsedResultType +
+PDF417Reader +
+PreferencesActivity +
+ProductParsedResult +
+ProductResultHandler +
+QRCode +
+QRCodeEncoder +
+QRCodeMultiReader +
+QRCodeReader +
+QRCodeWriter +
+R +
+R.attr +
+R.color +
+R.drawable +
+R.id +
+R.layout +
+R.raw +
+R.string +
+R.styleable +
+R.xml +
+Reader +
+ReaderException +
+ReasonableTimer +
+ReedSolomonDecoder +
+ReedSolomonEncoder +
+ReedSolomonException +
+Result +
+ResultButtonListener +
+ResultHandler +
+ResultHandlerFactory +
+ResultMetadataType +
+ResultParser +
+ResultPoint +
+SearchBookContentsActivity +
+SearchBookContentsAdapter +
+SearchBookContentsListItem +
+SearchBookContentsResult +
+ShareActivity +
+SMSParsedResult +
+SMSResultHandler +
+TelParsedResult +
+TelResultHandler +
+TextParsedResult +
+TextResultHandler +
+UPCAReader +
+UPCEANReader +
+UPCEANWriter +
+UPCEReader +
+URIParsedResult +
+URIResultHandler +
+URLDecoder +
+Version +
+Version +
+Version.ECB +
+Version.ECBlocks +
+ViewfinderView +
+Writer +
+WriterException +
+YUVMonochromeBitmapSource +
+ZXingMIDlet +
+ZXingUiApplication +
+
+ + + diff --git a/docs/javadoc/com/google/zxing/BarcodeFormat.html b/docs/javadoc/com/google/zxing/BarcodeFormat.html new file mode 100644 index 000000000..638762347 --- /dev/null +++ b/docs/javadoc/com/google/zxing/BarcodeFormat.html @@ -0,0 +1,446 @@ + + + + + + +BarcodeFormat + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing +
+Class BarcodeFormat

+
+java.lang.Object
+  extended by com.google.zxing.BarcodeFormat
+
+
+
+
public final class BarcodeFormat
extends java.lang.Object
+ + +

+Enumerates barcode formats known to this package. +

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static BarcodeFormatCODE_128 + +
+          Code 128 1D format.
+static BarcodeFormatCODE_39 + +
+          Code 39 1D format.
+static BarcodeFormatDATAMATRIX + +
+          DataMatrix 2D barcode format.
+static BarcodeFormatEAN_13 + +
+          EAN-13 1D format.
+static BarcodeFormatEAN_8 + +
+          EAN-8 1D format.
+static BarcodeFormatITF + +
+          ITF (Interleaved Two of Five) 1D format.
+static BarcodeFormatPDF417 + +
+          PDF417 format.
+static BarcodeFormatQR_CODE + +
+          QR Code 2D barcode format.
+static BarcodeFormatUPC_A + +
+          UPC-A 1D format.
+static BarcodeFormatUPC_E + +
+          UPC-E 1D format.
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+QR_CODE

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

+

+
+
+
+ +

+DATAMATRIX

+
+public static final BarcodeFormat DATAMATRIX
+
+
DataMatrix 2D barcode format. +

+

+
+
+
+ +

+UPC_E

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

+

+
+
+
+ +

+UPC_A

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

+

+
+
+
+ +

+EAN_8

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

+

+
+
+
+ +

+EAN_13

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

+

+
+
+
+ +

+CODE_128

+
+public static final BarcodeFormat CODE_128
+
+
Code 128 1D format. +

+

+
+
+
+ +

+CODE_39

+
+public static final BarcodeFormat CODE_39
+
+
Code 39 1D format. +

+

+
+
+
+ +

+ITF

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

+

+
+
+
+ +

+PDF417

+
+public static final BarcodeFormat PDF417
+
+
PDF417 format. +

+

+
+
+ + + + + + + + +
+Method Detail
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/BlackPointEstimationMethod.html b/docs/javadoc/com/google/zxing/BlackPointEstimationMethod.html new file mode 100644 index 000000000..ef95d64a5 --- /dev/null +++ b/docs/javadoc/com/google/zxing/BlackPointEstimationMethod.html @@ -0,0 +1,255 @@ + + + + + + +BlackPointEstimationMethod + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing +
+Class BlackPointEstimationMethod

+
+java.lang.Object
+  extended by com.google.zxing.BlackPointEstimationMethod
+
+
+
+
public final class BlackPointEstimationMethod
extends java.lang.Object
+ + +

+

Enumerates different methods of sampling an imagine to estimate a black point.

+

+ +

+

+
Author:
+
Sean Owen, dswitkin@google.com (Daniel Switkin)
+
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static BlackPointEstimationMethodROW_SAMPLING + +
+          Method probably most suitable for 1D barcode decoding, where one row at a time is sampled.
+static BlackPointEstimationMethodTWO_D_SAMPLING + +
+          Method probably most suitable for use with 2D barcdoe format.
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+TWO_D_SAMPLING

+
+public static final BlackPointEstimationMethod TWO_D_SAMPLING
+
+
Method probably most suitable for use with 2D barcdoe format. +

+

+
+
+
+ +

+ROW_SAMPLING

+
+public static final BlackPointEstimationMethod ROW_SAMPLING
+
+
Method probably most suitable for 1D barcode decoding, where one row at a time is sampled. +

+

+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/DecodeHintType.html b/docs/javadoc/com/google/zxing/DecodeHintType.html new file mode 100644 index 000000000..981b8b073 --- /dev/null +++ b/docs/javadoc/com/google/zxing/DecodeHintType.html @@ -0,0 +1,320 @@ + + + + + + +DecodeHintType + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing +
+Class DecodeHintType

+
+java.lang.Object
+  extended by com.google.zxing.DecodeHintType
+
+
+
+
public final class DecodeHintType
extends java.lang.Object
+ + +

+Encapsulates a type of hint that a caller may pass to a barcode reader to help it + more quickly or accurately decode it. It is up to implementations to decide what, + if anything, to do with the information that is supplied. +

+ +

+

+
Author:
+
Sean Owen, dswitkin@google.com (Daniel Switkin)
+
See Also:
Reader.decode(MonochromeBitmapSource, java.util.Hashtable)
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static DecodeHintTypeALLOWED_LENGTHS + +
+          Allowed lengths of encoded data -- reject anything else.
+static DecodeHintTypeOTHER + +
+          Unspecified, application-specific hint.
+static DecodeHintTypePOSSIBLE_FORMATS + +
+          Image is known to be of one of a few possible formats.
+static DecodeHintTypePURE_BARCODE + +
+          Image is a pure monochrome image of a barcode.
+static DecodeHintTypeTRY_HARDER + +
+          Spend more time to try to find a barcode; optimize for accuracy, not speed.
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+OTHER

+
+public static final DecodeHintType OTHER
+
+
Unspecified, application-specific hint. Maps to an unspecified Object. +

+

+
+
+
+ +

+PURE_BARCODE

+
+public static final DecodeHintType PURE_BARCODE
+
+
Image is a pure monochrome image of a barcode. Doesn't matter what it maps to; + use Boolean.TRUE. +

+

+
+
+
+ +

+POSSIBLE_FORMATS

+
+public static final DecodeHintType POSSIBLE_FORMATS
+
+
Image is known to be of one of a few possible formats. + Maps to a Vector of BarcodeFormats. +

+

+
+
+
+ +

+TRY_HARDER

+
+public static final DecodeHintType TRY_HARDER
+
+
Spend more time to try to find a barcode; optimize for accuracy, not speed. + Doesn't matter what it maps to; use Boolean.TRUE. +

+

+
+
+
+ +

+ALLOWED_LENGTHS

+
+public static final DecodeHintType ALLOWED_LENGTHS
+
+
Allowed lengths of encoded data -- reject anything else. Maps to an int[]. +

+

+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/EncodeHintType.html b/docs/javadoc/com/google/zxing/EncodeHintType.html new file mode 100644 index 000000000..9eb52a0f2 --- /dev/null +++ b/docs/javadoc/com/google/zxing/EncodeHintType.html @@ -0,0 +1,255 @@ + + + + + + +EncodeHintType + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing +
+Class EncodeHintType

+
+java.lang.Object
+  extended by com.google.zxing.EncodeHintType
+
+
+
+
public final class EncodeHintType
extends java.lang.Object
+ + +

+These are a set of hints that you may pass to Writers to specify their behavior. +

+ +

+

+
Author:
+
dswitkin@google.com (Daniel Switkin)
+
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static EncodeHintTypeCHARACTER_SET + +
+          Specifies what character encoding to use where applicable (type String)
+static EncodeHintTypeERROR_CORRECTION + +
+          Specifies what degree of error correction to use, for example in QR Codes (type Integer).
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ERROR_CORRECTION

+
+public static final EncodeHintType ERROR_CORRECTION
+
+
Specifies what degree of error correction to use, for example in QR Codes (type Integer). +

+

+
+
+
+ +

+CHARACTER_SET

+
+public static final EncodeHintType CHARACTER_SET
+
+
Specifies what character encoding to use where applicable (type String) +

+

+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/MonochromeBitmapSource.html b/docs/javadoc/com/google/zxing/MonochromeBitmapSource.html new file mode 100644 index 000000000..91931c0be --- /dev/null +++ b/docs/javadoc/com/google/zxing/MonochromeBitmapSource.html @@ -0,0 +1,528 @@ + + + + + + +MonochromeBitmapSource + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing +
+Interface MonochromeBitmapSource

+
+
All Known Implementing Classes:
AWTImageMonochromeBitmapSource, BaseMonochromeBitmapSource, BufferedImageMonochromeBitmapSource, CroppedMonochromeBitmapSource, LCDUIImageMonochromeBitmapSource, YUVMonochromeBitmapSource
+
+
+
+
public interface MonochromeBitmapSource
+ + +

+

Encapsulates a generic black-and-white bitmap -- a collection of pixels in two dimensions. + This unifies many possible representations, like AWT's BufferedImage.

+

+ +

+

+
Author:
+
Sean Owen, dswitkin@google.com (Daniel Switkin)
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidestimateBlackPoint(BlackPointEstimationMethod method, + int argument) + +
+          Estimates black point according to the given method, which is optionally parameterized by + a single int argument.
+ BitArraygetBlackColumn(int x, + BitArray column, + int startY, + int getHeight) + +
+          Entirely analogous to getBlackRow(int, BitArray, int, int) but gets a column.
+ BitArraygetBlackDiagonal(int x, + int y, + int dx, + int dy, + BitArray diagonal, + int size) + +
+           
+ BitArraygetBlackRow(int y, + BitArray row, + int startX, + int getWidth) + +
+          Returns an entire row of black/white pixels as an array of bits, where "true" means "black".
+ intgetHeight() + +
+           
+ BlackPointEstimationMethodgetLastEstimationMethod() + +
+           
+ intgetLuminance(int x, + int y) + +
+          Retrieves the luminance at the pixel x,y in the bitmap.
+ int[]getLuminanceColumn(int x, + int[] column) + +
+          The same as getLuminanceRow(), but for columns.
+ int[]getLuminanceRow(int y, + int[] row) + +
+          This is the main mechanism for retrieving luminance data.
+ intgetWidth() + +
+           
+ booleanisBlack(int x, + int y) + +
+           
+ booleanisRotateSupported() + +
+           
+ MonochromeBitmapSourcerotateCounterClockwise() + +
+          Optional operation which returns an implementation based on the same underlying + image, but which behaves as if the underlying image had been rotated 90 degrees + counterclockwise.
+  +

+ + + + + + + + +
+Method Detail
+ +

+isBlack

+
+boolean isBlack(int x,
+                int y)
+
+
+
Parameters:
x - horizontal offset, from left, of the pixel
y - vertical offset, from top, of the pixel +
Returns:
true iff the pixel at (x,y) is black
+
+
+
+ +

+getBlackRow

+
+BitArray getBlackRow(int y,
+                     BitArray row,
+                     int startX,
+                     int getWidth)
+
+

Returns an entire row of black/white pixels as an array of bits, where "true" means "black". + This is a sort of "bulk get" operation intended to enable efficient access in + certain situations.

+

+

+
Parameters:
y - vertical offset, from top, of the row of pixels
row - if not null, BitArray to write pixels into. If null, a new BitArray + is allocated and returned.
startX - horizontal offset, from left, from which to start getting pixels
getWidth - number of pixels to get from the row +
Returns:
BitArray representing the (subset of the) row of pixels. If row parameter + was not null, it is returned.
+
+
+
+ +

+getBlackColumn

+
+BitArray getBlackColumn(int x,
+                        BitArray column,
+                        int startY,
+                        int getHeight)
+
+
Entirely analogous to getBlackRow(int, BitArray, int, int) but gets a column. +

+

+
+
+
+
+ +

+getBlackDiagonal

+
+BitArray getBlackDiagonal(int x,
+                          int y,
+                          int dx,
+                          int dy,
+                          BitArray diagonal,
+                          int size)
+
+
+
+
+
+
+ +

+getHeight

+
+int getHeight()
+
+
+ +
Returns:
height of underlying image
+
+
+
+ +

+getWidth

+
+int getWidth()
+
+
+ +
Returns:
width of underlying image
+
+
+
+ +

+estimateBlackPoint

+
+void estimateBlackPoint(BlackPointEstimationMethod method,
+                        int argument)
+                        throws ReaderException
+
+

Estimates black point according to the given method, which is optionally parameterized by + a single int argument. For BlackPointEstimationMethod.ROW_SAMPLING, this + specifies the row to sample.

+ +

The estimated value will be used in subsequent computations that rely on an estimated black + point.

+

+

+
Parameters:
method - black point estimation method
argument - method-specific argument +
Throws: +
ReaderException
+
+
+
+ +

+getLastEstimationMethod

+
+BlackPointEstimationMethod getLastEstimationMethod()
+
+
+ +
Returns:
BlackPointEstimationMethod representing last sampling method used
+
+
+
+ +

+rotateCounterClockwise

+
+MonochromeBitmapSource rotateCounterClockwise()
+
+

Optional operation which returns an implementation based on the same underlying + image, but which behaves as if the underlying image had been rotated 90 degrees + counterclockwise. This is useful in the context of 1D barcodes and the + DecodeHintType.TRY_HARDER decode hint, and is only intended to be + used in non-resource-constrained environments. Hence, implementations + of this class which are only used in resource-constrained mobile environments + don't have a need to implement this.

+

+

+ +
Throws: +
java.lang.IllegalArgumentException - if not supported
+
+
+
+ +

+isRotateSupported

+
+boolean isRotateSupported()
+
+
+ +
Returns:
true iff rotation is supported
See Also:
rotateCounterClockwise()
+
+
+
+ +

+getLuminance

+
+int getLuminance(int x,
+                 int y)
+
+
Retrieves the luminance at the pixel x,y in the bitmap. This method is only used for estimating + the black point and implementing getBlackRow() - it is not meant for decoding, hence it is not + part of MonochromeBitmapSource itself, and is protected. +

+

+
Parameters:
x - The x coordinate in the image.
y - The y coordinate in the image. +
Returns:
The luminance value between 0 and 255.
+
+
+
+ +

+getLuminanceRow

+
+int[] getLuminanceRow(int y,
+                      int[] row)
+
+
This is the main mechanism for retrieving luminance data. It is dramatically more efficient + than repeatedly calling getLuminance(). As above, this is not meant for decoders. +

+

+
Parameters:
y - The row to fetch
row - The array to write luminance values into. It is strongly suggested that you + allocate this yourself, making sure row.length >= getWidth(), and reuse the same + array on subsequent calls for performance. If you pass null, you will be flogged, + but then I will take pity on you and allocate a sufficient array internally. +
Returns:
The array containing the luminance data. This is the same as row if it was usable.
+
+
+
+ +

+getLuminanceColumn

+
+int[] getLuminanceColumn(int x,
+                         int[] column)
+
+
The same as getLuminanceRow(), but for columns. +

+

+
Parameters:
x - The column to fetch
column - The array to write luminance values into. See above. +
Returns:
The array containing the luminance data.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/MultiFormatReader.html b/docs/javadoc/com/google/zxing/MultiFormatReader.html new file mode 100644 index 000000000..935a880df --- /dev/null +++ b/docs/javadoc/com/google/zxing/MultiFormatReader.html @@ -0,0 +1,360 @@ + + + + + + +MultiFormatReader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing +
+Class MultiFormatReader

+
+java.lang.Object
+  extended by com.google.zxing.MultiFormatReader
+
+
+
All Implemented Interfaces:
Reader
+
+
+
+
public final class MultiFormatReader
extends java.lang.Object
implements Reader
+ + +

+MultiFormatReader is a convenience class and the main entry point into the library for most uses. + By default it attempts to decode all barcode formats that the library supports. Optionally, you + can provide a hints object to request different behavior, for example only decoding QR codes. +

+ +

+

+
Author:
+
Sean Owen, dswitkin@google.com (Daniel Switkin)
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
MultiFormatReader() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Resultdecode(MonochromeBitmapSource image) + +
+          This version of decode honors the intent of Reader.decode(MonochromeBitmapSource) in that it + passes null as a hint to the decoders.
+ Resultdecode(MonochromeBitmapSource image, + java.util.Hashtable hints) + +
+          Decode an image using the hints provided.
+ ResultdecodeWithState(MonochromeBitmapSource image) + +
+          Decode an image using the state set up by calling setHints() previously.
+ voidsetHints(java.util.Hashtable hints) + +
+          This method adds state to the MultiFormatReader.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MultiFormatReader

+
+public MultiFormatReader()
+
+
+ + + + + + + + +
+Method Detail
+ +

+decode

+
+public Result decode(MonochromeBitmapSource image)
+              throws ReaderException
+
+
This version of decode honors the intent of Reader.decode(MonochromeBitmapSource) in that it + passes null as a hint to the decoders. However, that makes it inefficient to call repeatedly. + Use setHints() followed by decodeWithState() for continuous scan applications. +

+

+
Specified by:
decode in interface Reader
+
+
+
Parameters:
image - The pixel data to decode +
Returns:
The contents of the image +
Throws: +
ReaderException - Any errors which occurred
+
+
+
+ +

+decode

+
+public Result decode(MonochromeBitmapSource image,
+                     java.util.Hashtable hints)
+              throws ReaderException
+
+
Decode an image using the hints provided. Does not honor existing state. +

+

+
Specified by:
decode in interface Reader
+
+
+
Parameters:
image - The pixel data to decode
hints - The hints to use, clearing the previous state. +
Returns:
The contents of the image +
Throws: +
ReaderException - Any errors which occurred
+
+
+
+ +

+decodeWithState

+
+public Result decodeWithState(MonochromeBitmapSource image)
+                       throws ReaderException
+
+
Decode an image using the state set up by calling setHints() previously. Continuous scan + clients will get a large speed increase by using this instead of decode(). +

+

+
+
+
+
Parameters:
image - The pixel data to decode +
Returns:
The contents of the image +
Throws: +
ReaderException - Any errors which occurred
+
+
+
+ +

+setHints

+
+public void setHints(java.util.Hashtable hints)
+
+
This method adds state to the MultiFormatReader. By setting the hints once, subsequent calls + to decodeWithState(image) can reuse the same set of readers without reallocating memory. This + is important for performance in continuous scan clients. +

+

+
+
+
+
Parameters:
hints - The set of hints to use for subsequent calls to decode(image)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/MultiFormatWriter.html b/docs/javadoc/com/google/zxing/MultiFormatWriter.html new file mode 100644 index 000000000..8bbcb0f35 --- /dev/null +++ b/docs/javadoc/com/google/zxing/MultiFormatWriter.html @@ -0,0 +1,312 @@ + + + + + + +MultiFormatWriter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing +
+Class MultiFormatWriter

+
+java.lang.Object
+  extended by com.google.zxing.MultiFormatWriter
+
+
+
All Implemented Interfaces:
Writer
+
+
+
+
public final class MultiFormatWriter
extends java.lang.Object
implements Writer
+ + +

+This is a factory class which finds the appropriate Writer subclass for the BarcodeFormat + requested and encodes the barcode with the supplied contents. +

+ +

+

+
Author:
+
dswitkin@google.com (Daniel Switkin)
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
MultiFormatWriter() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ ByteMatrixencode(java.lang.String contents, + BarcodeFormat format, + int width, + int height) + +
+          Encode a barcode using the default settings.
+ ByteMatrixencode(java.lang.String contents, + BarcodeFormat format, + int width, + int height, + java.util.Hashtable hints) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MultiFormatWriter

+
+public MultiFormatWriter()
+
+
+ + + + + + + + +
+Method Detail
+ +

+encode

+
+public ByteMatrix encode(java.lang.String contents,
+                         BarcodeFormat format,
+                         int width,
+                         int height)
+                  throws WriterException
+
+
Description copied from interface: Writer
+
Encode a barcode using the default settings. +

+

+
Specified by:
encode in interface Writer
+
+
+
Parameters:
contents - The contents to encode in the barcode
format - The barcode format to generate
width - The preferred width in pixels
height - The preferred height in pixels +
Returns:
The generated barcode as a Matrix of unsigned bytes (0 == black, 255 == white) +
Throws: +
WriterException
+
+
+
+ +

+encode

+
+public ByteMatrix encode(java.lang.String contents,
+                         BarcodeFormat format,
+                         int width,
+                         int height,
+                         java.util.Hashtable hints)
+                  throws WriterException
+
+
+
Specified by:
encode in interface Writer
+
+
+
Parameters:
contents - The contents to encode in the barcode
format - The barcode format to generate
width - The preferred width in pixels
height - The preferred height in pixels
hints - Additional parameters to supply to the encoder +
Returns:
The generated barcode as a Matrix of unsigned bytes (0 == black, 255 == white) +
Throws: +
WriterException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/Reader.html b/docs/javadoc/com/google/zxing/Reader.html new file mode 100644 index 000000000..50ada1bd4 --- /dev/null +++ b/docs/javadoc/com/google/zxing/Reader.html @@ -0,0 +1,260 @@ + + + + + + +Reader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing +
+Interface Reader

+
+
All Known Subinterfaces:
OneDReader, UPCEANReader
+
+
+
All Known Implementing Classes:
AbstractOneDReader, AbstractUPCEANReader, ByQuadrantReader, Code128Reader, Code39Reader, DataMatrixReader, EAN13Reader, EAN8Reader, ITFReader, MultiFormatOneDReader, MultiFormatReader, MultiFormatUPCEANReader, PDF417Reader, QRCodeMultiReader, QRCodeReader, UPCAReader, UPCEReader
+
+
+
+
public interface Reader
+ + +

+Implementations of this interface can decode an image of a barcode in some format into + the String it encodes. For example, QRCodeReader can + decode a QR code. The decoder may optionally receive hints from the caller which may help + it decode more quickly or accurately. + + See MultiFormatReader, which attempts to determine what barcode + format is present within the image as well, and then decodes it accordingly. +

+ +

+

+
Author:
+
Sean Owen, dswitkin@google.com (Daniel Switkin)
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ Resultdecode(MonochromeBitmapSource image) + +
+          Locates and decodes a barcode in some format within an image.
+ Resultdecode(MonochromeBitmapSource image, + java.util.Hashtable hints) + +
+          Locates and decodes a barcode in some format within an image.
+  +

+ + + + + + + + +
+Method Detail
+ +

+decode

+
+Result decode(MonochromeBitmapSource image)
+              throws ReaderException
+
+
Locates and decodes a barcode in some format within an image. +

+

+
Parameters:
image - image of barcode to decode +
Returns:
String which the barcode encodes +
Throws: +
ReaderException - if the barcode cannot be located or decoded for any reason
+
+
+
+ +

+decode

+
+Result decode(MonochromeBitmapSource image,
+              java.util.Hashtable hints)
+              throws ReaderException
+
+
Locates and decodes a barcode in some format within an image. This method also accepts + hints, each possibly associated to some data, which may help the implementation decode. +

+

+
Parameters:
image - image of barcode to decode
hints - passed as a Hashtable from DecodeHintType to aribtrary data. The + meaning of the data depends upon the hint type. The implementation may or may not do + anything with these hints. +
Returns:
String which the barcode encodes +
Throws: +
ReaderException - if the barcode cannot be located or decoded for any reason
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/ReaderException.html b/docs/javadoc/com/google/zxing/ReaderException.html new file mode 100644 index 000000000..cd24120b0 --- /dev/null +++ b/docs/javadoc/com/google/zxing/ReaderException.html @@ -0,0 +1,263 @@ + + + + + + +ReaderException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing +
+Class ReaderException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by com.google.zxing.ReaderException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public final class ReaderException
extends java.lang.Exception
+ + +

+The general exception class throw when something goes wrong during decoding of a barcode. + This includes, but is not limited to, failing checksums / error correction algorithms, being + unable to locate finder timing patterns, and so on. +

+ +

+

+
Author:
+
Sean Owen
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.ThrowablefillInStackTrace() + +
+           
+static ReaderExceptiongetInstance() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Throwable
getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public static ReaderException getInstance()
+
+
+
+
+
+
+ +

+fillInStackTrace

+
+public java.lang.Throwable fillInStackTrace()
+
+
+
Overrides:
fillInStackTrace in class java.lang.Throwable
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/Result.html b/docs/javadoc/com/google/zxing/Result.html new file mode 100644 index 000000000..3d6fb41ce --- /dev/null +++ b/docs/javadoc/com/google/zxing/Result.html @@ -0,0 +1,392 @@ + + + + + + +Result + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing +
+Class Result

+
+java.lang.Object
+  extended by com.google.zxing.Result
+
+
+
+
public final class Result
extends java.lang.Object
+ + +

+

Encapsulates the result of decoding a barcode within an image.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Result(java.lang.String text, + byte[] rawBytes, + ResultPoint[] resultPoints, + BarcodeFormat format) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ BarcodeFormatgetBarcodeFormat() + +
+           
+ byte[]getRawBytes() + +
+           
+ java.util.HashtablegetResultMetadata() + +
+           
+ ResultPoint[]getResultPoints() + +
+           
+ java.lang.StringgetText() + +
+           
+ voidputMetadata(ResultMetadataType type, + java.lang.Object value) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Result

+
+public Result(java.lang.String text,
+              byte[] rawBytes,
+              ResultPoint[] resultPoints,
+              BarcodeFormat format)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getText

+
+public java.lang.String getText()
+
+
+ +
Returns:
raw text encoded by the barcode, if applicable, otherwise null
+
+
+
+ +

+getRawBytes

+
+public byte[] getRawBytes()
+
+
+ +
Returns:
raw bytes encoded by the barcode, if applicable, otherwise null
+
+
+
+ +

+getResultPoints

+
+public ResultPoint[] getResultPoints()
+
+
+ +
Returns:
points related to the barcode in the image. These are typically points + identifying finder patterns or the corners of the barcode. The exact meaning is + specific to the type of barcode that was decoded.
+
+
+
+ +

+getBarcodeFormat

+
+public BarcodeFormat getBarcodeFormat()
+
+
+ +
Returns:
BarcodeFormat representing the format of the barcode that was decoded
+
+
+
+ +

+getResultMetadata

+
+public java.util.Hashtable getResultMetadata()
+
+
+ +
Returns:
Hashtable mapping ResultMetadataType keys to values. May be + null. This contains optional metadata about what was detected about the barcode, + like orientation.
+
+
+
+ +

+putMetadata

+
+public void putMetadata(ResultMetadataType type,
+                        java.lang.Object value)
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/ResultMetadataType.html b/docs/javadoc/com/google/zxing/ResultMetadataType.html new file mode 100644 index 000000000..2f08838e2 --- /dev/null +++ b/docs/javadoc/com/google/zxing/ResultMetadataType.html @@ -0,0 +1,287 @@ + + + + + + +ResultMetadataType + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing +
+Class ResultMetadataType

+
+java.lang.Object
+  extended by com.google.zxing.ResultMetadataType
+
+
+
+
public final class ResultMetadataType
extends java.lang.Object
+ + +

+Represents some type of metadata about the result of the decoding that the decoder + wishes to communicate back to the caller. +

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+static ResultMetadataTypeBYTE_SEGMENTS + +
+          2D barcode formats typically encode text, but allow for a sort of 'byte mode' + which is sometimes used to encode binary data.
+static ResultMetadataTypeORIENTATION + +
+          Denotes the likely approximate orientation of the barcode in the image.
+static ResultMetadataTypeOTHER + +
+          Unspecified, application-specific metadata.
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+OTHER

+
+public static final ResultMetadataType OTHER
+
+
Unspecified, application-specific metadata. Maps to an unspecified Object. +

+

+
+
+
+ +

+ORIENTATION

+
+public static final ResultMetadataType ORIENTATION
+
+
Denotes the likely approximate orientation of the barcode in the image. This value + is given as degrees rotated clockwise from the normal, upright orientation. + For example a 1D barcode which was found by reading top-to-bottom would be + said to have orientation "90". This key maps to an Integer whose + value is in the range [0,360). +

+

+
+
+
+ +

+BYTE_SEGMENTS

+
+public static final ResultMetadataType BYTE_SEGMENTS
+
+

2D barcode formats typically encode text, but allow for a sort of 'byte mode' + which is sometimes used to encode binary data. While Result makes available + the complete raw bytes in the barcode for these formats, it does not offer the bytes + from the byte segments alone.

+ +

This maps to a Vector of byte arrays corresponding to the + raw bytes in the byte segments in the barcode, in order.

+

+

+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/ResultPoint.html b/docs/javadoc/com/google/zxing/ResultPoint.html new file mode 100644 index 000000000..0c751d846 --- /dev/null +++ b/docs/javadoc/com/google/zxing/ResultPoint.html @@ -0,0 +1,419 @@ + + + + + + +ResultPoint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing +
+Class ResultPoint

+
+java.lang.Object
+  extended by com.google.zxing.ResultPoint
+
+
+
Direct Known Subclasses:
AlignmentPattern, FinderPattern
+
+
+
+
public class ResultPoint
extends java.lang.Object
+ + +

+

Encapsulates a point of interest in an image containing a barcode. Typically, this + would be the location of a finder pattern or the corner of the barcode, for example.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ResultPoint(float x, + float y) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static floatcrossProductZ(ResultPoint pointA, + ResultPoint pointB, + ResultPoint pointC) + +
+          Returns the z component of the cross product between vectors BC and BA.
+static floatdistance(ResultPoint pattern1, + ResultPoint pattern2) + +
+           
+ booleanequals(java.lang.Object other) + +
+           
+ floatgetX() + +
+           
+ floatgetY() + +
+           
+ inthashCode() + +
+           
+static voidorderBestPatterns(ResultPoint[] patterns) + +
+          Orders an array of three ResultPoints in an order [A,B,C] such that AB < AC and + BC < AC and the angle between BC and BA is less than 180 degrees.
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ResultPoint

+
+public ResultPoint(float x,
+                   float y)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getX

+
+public final float getX()
+
+
+
+
+
+
+ +

+getY

+
+public final float getY()
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object other)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+orderBestPatterns

+
+public static void orderBestPatterns(ResultPoint[] patterns)
+
+

Orders an array of three ResultPoints in an order [A,B,C] such that AB < AC and + BC < AC and the angle between BC and BA is less than 180 degrees. +

+

+
+
+
+
+ +

+distance

+
+public static float distance(ResultPoint pattern1,
+                             ResultPoint pattern2)
+
+
+ +
Returns:
distance between two points
+
+
+
+ +

+crossProductZ

+
+public static float crossProductZ(ResultPoint pointA,
+                                  ResultPoint pointB,
+                                  ResultPoint pointC)
+
+
Returns the z component of the cross product between vectors BC and BA. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/Writer.html b/docs/javadoc/com/google/zxing/Writer.html new file mode 100644 index 000000000..5f79af5c9 --- /dev/null +++ b/docs/javadoc/com/google/zxing/Writer.html @@ -0,0 +1,261 @@ + + + + + + +Writer + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing +
+Interface Writer

+
+
All Known Subinterfaces:
UPCEANWriter
+
+
+
All Known Implementing Classes:
AbstractUPCEANWriter, EAN13Writer, EAN8Writer, MultiFormatWriter, QRCodeWriter
+
+
+
+
public interface Writer
+ + +

+The base class for all objects which encode/generate a barcode image. +

+ +

+

+
Author:
+
dswitkin@google.com (Daniel Switkin)
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ ByteMatrixencode(java.lang.String contents, + BarcodeFormat format, + int width, + int height) + +
+          Encode a barcode using the default settings.
+ ByteMatrixencode(java.lang.String contents, + BarcodeFormat format, + int width, + int height, + java.util.Hashtable hints) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+encode

+
+ByteMatrix encode(java.lang.String contents,
+                  BarcodeFormat format,
+                  int width,
+                  int height)
+                  throws WriterException
+
+
Encode a barcode using the default settings. +

+

+
Parameters:
contents - The contents to encode in the barcode
format - The barcode format to generate
width - The preferred width in pixels
height - The preferred height in pixels +
Returns:
The generated barcode as a Matrix of unsigned bytes (0 == black, 255 == white) +
Throws: +
WriterException
+
+
+
+ +

+encode

+
+ByteMatrix encode(java.lang.String contents,
+                  BarcodeFormat format,
+                  int width,
+                  int height,
+                  java.util.Hashtable hints)
+                  throws WriterException
+
+
+
Parameters:
contents - The contents to encode in the barcode
format - The barcode format to generate
width - The preferred width in pixels
height - The preferred height in pixels
hints - Additional parameters to supply to the encoder +
Returns:
The generated barcode as a Matrix of unsigned bytes (0 == black, 255 == white) +
Throws: +
WriterException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/WriterException.html b/docs/javadoc/com/google/zxing/WriterException.html new file mode 100644 index 000000000..48b48f2fc --- /dev/null +++ b/docs/javadoc/com/google/zxing/WriterException.html @@ -0,0 +1,259 @@ + + + + + + +WriterException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing +
+Class WriterException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by com.google.zxing.WriterException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public final class WriterException
extends java.lang.Exception
+ + +

+A base class which covers the range of exceptions which may occur when encoding a barcode using + the Writer framework. +

+ +

+

+
Author:
+
dswitkin@google.com (Daniel Switkin)
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
WriterException() + +
+           
WriterException(java.lang.String message) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+WriterException

+
+public WriterException()
+
+
+
+ +

+WriterException

+
+public WriterException(java.lang.String message)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/AndroidHttpClient.html b/docs/javadoc/com/google/zxing/client/android/AndroidHttpClient.html new file mode 100644 index 000000000..7e6f7ce72 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/AndroidHttpClient.html @@ -0,0 +1,559 @@ + + + + + + +AndroidHttpClient + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class AndroidHttpClient

+
+java.lang.Object
+  extended by com.google.zxing.client.android.AndroidHttpClient
+
+
+
All Implemented Interfaces:
org.apache.http.client.HttpClient
+
+
+
+
public final class AndroidHttpClient
extends java.lang.Object
implements org.apache.http.client.HttpClient
+ + +

+

Subclass of the Apache DefaultHttpClient that is configured with + reasonable default settings and registered schemes for Android, and + also lets the user add HttpRequestInterceptor classes. + Don't create this directly, use the newInstance(java.lang.String) factory method.

+

+

This client processes cookies but does not retain them by default. + To retain cookies, simply add a cookie store to the HttpContext: +

context.setAttribute(ClientContext.COOKIE_STORE, cookieStore);
+

+

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclose() + +
+          Release resources associated with this client.
+ org.apache.http.HttpResponseexecute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request) + +
+           
+ org.apache.http.HttpResponseexecute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + org.apache.http.protocol.HttpContext context) + +
+           
+ + + + + +
+<T> T
+
execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + org.apache.http.client.ResponseHandler<? extends T> responseHandler) + +
+           
+ + + + + +
+<T> T
+
execute(org.apache.http.HttpHost target, + org.apache.http.HttpRequest request, + org.apache.http.client.ResponseHandler<? extends T> responseHandler, + org.apache.http.protocol.HttpContext context) + +
+           
+ org.apache.http.HttpResponseexecute(org.apache.http.client.methods.HttpUriRequest request) + +
+           
+ org.apache.http.HttpResponseexecute(org.apache.http.client.methods.HttpUriRequest request, + org.apache.http.protocol.HttpContext context) + +
+           
+ + + + + +
+<T> T
+
execute(org.apache.http.client.methods.HttpUriRequest request, + org.apache.http.client.ResponseHandler<? extends T> responseHandler) + +
+           
+ + + + + +
+<T> T
+
execute(org.apache.http.client.methods.HttpUriRequest request, + org.apache.http.client.ResponseHandler<? extends T> responseHandler, + org.apache.http.protocol.HttpContext context) + +
+           
+ org.apache.http.conn.ClientConnectionManagergetConnectionManager() + +
+           
+ org.apache.http.params.HttpParamsgetParams() + +
+           
+static AndroidHttpClientnewInstance(java.lang.String userAgent) + +
+          Create a new HttpClient with reasonable defaults (which you can update).
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+newInstance

+
+public static AndroidHttpClient newInstance(java.lang.String userAgent)
+
+
Create a new HttpClient with reasonable defaults (which you can update). +

+

+
+
+
+
Parameters:
userAgent - to report in your HTTP requests. +
Returns:
AndroidHttpClient for you to use for all your requests.
+
+
+
+ +

+close

+
+public void close()
+
+
Release resources associated with this client. You must call this, + or significant resources (sockets and memory) may be leaked. +

+

+
+
+
+
+
+
+
+ +

+getParams

+
+public org.apache.http.params.HttpParams getParams()
+
+
+
Specified by:
getParams in interface org.apache.http.client.HttpClient
+
+
+
+
+
+
+ +

+getConnectionManager

+
+public org.apache.http.conn.ClientConnectionManager getConnectionManager()
+
+
+
Specified by:
getConnectionManager in interface org.apache.http.client.HttpClient
+
+
+
+
+
+
+ +

+execute

+
+public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest request)
+                                     throws java.io.IOException
+
+
+
Specified by:
execute in interface org.apache.http.client.HttpClient
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+execute

+
+public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest request,
+                                            org.apache.http.protocol.HttpContext context)
+                                     throws java.io.IOException
+
+
+
Specified by:
execute in interface org.apache.http.client.HttpClient
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+execute

+
+public org.apache.http.HttpResponse execute(org.apache.http.HttpHost target,
+                                            org.apache.http.HttpRequest request)
+                                     throws java.io.IOException
+
+
+
Specified by:
execute in interface org.apache.http.client.HttpClient
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+execute

+
+public org.apache.http.HttpResponse execute(org.apache.http.HttpHost target,
+                                            org.apache.http.HttpRequest request,
+                                            org.apache.http.protocol.HttpContext context)
+                                     throws java.io.IOException
+
+
+
Specified by:
execute in interface org.apache.http.client.HttpClient
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+execute

+
+public <T> T execute(org.apache.http.client.methods.HttpUriRequest request,
+                     org.apache.http.client.ResponseHandler<? extends T> responseHandler)
+          throws java.io.IOException
+
+
+
Specified by:
execute in interface org.apache.http.client.HttpClient
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+execute

+
+public <T> T execute(org.apache.http.client.methods.HttpUriRequest request,
+                     org.apache.http.client.ResponseHandler<? extends T> responseHandler,
+                     org.apache.http.protocol.HttpContext context)
+          throws java.io.IOException
+
+
+
Specified by:
execute in interface org.apache.http.client.HttpClient
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+execute

+
+public <T> T execute(org.apache.http.HttpHost target,
+                     org.apache.http.HttpRequest request,
+                     org.apache.http.client.ResponseHandler<? extends T> responseHandler)
+          throws java.io.IOException
+
+
+
Specified by:
execute in interface org.apache.http.client.HttpClient
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+execute

+
+public <T> T execute(org.apache.http.HttpHost target,
+                     org.apache.http.HttpRequest request,
+                     org.apache.http.client.ResponseHandler<? extends T> responseHandler,
+                     org.apache.http.protocol.HttpContext context)
+          throws java.io.IOException
+
+
+
Specified by:
execute in interface org.apache.http.client.HttpClient
+
+
+ +
Throws: +
java.io.IOException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/BookmarkPickerActivity.html b/docs/javadoc/com/google/zxing/client/android/BookmarkPickerActivity.html new file mode 100644 index 000000000..0ba4a70cd --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/BookmarkPickerActivity.html @@ -0,0 +1,366 @@ + + + + + + +BookmarkPickerActivity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class BookmarkPickerActivity

+
+java.lang.Object
+  extended by android.content.Context
+      extended by android.content.ContextWrapper
+          extended by android.view.ContextThemeWrapper
+              extended by android.app.Activity
+                  extended by android.app.ListActivity
+                      extended by com.google.zxing.client.android.BookmarkPickerActivity
+
+
+
All Implemented Interfaces:
android.content.ComponentCallbacks, android.view.KeyEvent.Callback, android.view.LayoutInflater.Factory, android.view.View.OnCreateContextMenuListener, android.view.Window.Callback
+
+
+
+
public final class BookmarkPickerActivity
extends android.app.ListActivity
+ + +

+This class is only needed because I can't successfully send an ACTION_PICK intent to + com.android.browser.BrowserBookmarksPage. It can go away if that starts working in the future. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class android.app.Activity
DEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE, DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL, DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED, RESULT_FIRST_USER, RESULT_OK
+ + + + + + + +
Fields inherited from class android.content.Context
ACTIVITY_SERVICE, ALARM_SERVICE, AUDIO_SERVICE, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, KEYGUARD_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MODE_APPEND, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NOTIFICATION_SERVICE, POWER_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, TELEPHONY_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
+  + + + + + + + + + + +
+Constructor Summary
BookmarkPickerActivity() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidonCreate(android.os.Bundle icicle) + +
+           
+protected  voidonListItemClick(android.widget.ListView l, + android.view.View view, + int position, + long id) + +
+           
+ + + + + + + +
Methods inherited from class android.app.ListActivity
getListAdapter, getListView, getSelectedItemId, getSelectedItemPosition, onContentChanged, onRestoreInstanceState, setListAdapter, setSelection
+ + + + + + + +
Methods inherited from class android.app.Activity
addContentView, closeOptionsMenu, createPendingResult, dismissDialog, dispatchKeyEvent, dispatchTouchEvent, dispatchTrackballEvent, finalize, findViewById, finish, finishActivity, finishActivityFromChild, finishFromChild, getApplication, getCallingActivity, getCallingPackage, getChangingConfigurations, getComponentName, getCurrentFocus, getInstanceCount, getIntent, getLastNonConfigurationInstance, getLayoutInflater, getLocalClassName, getMenuInflater, getParent, getPreferences, getRequestedOrientation, getSystemService, getTaskId, getTitle, getTitleColor, getVolumeControlStream, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, getWindow, getWindowManager, isChild, isFinishing, isTaskRoot, managedQuery, moveTaskToBack, onActivityResult, onApplyThemeResource, onChildTitleChanged, onConfigurationChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateDescription, onCreateDialog, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onCreateThumbnail, onCreateView, onDestroy, onKeyDown, onKeyMultiple, onKeyUp, onLowMemory, onMenuItemSelected, onMenuOpened, onNewIntent, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPause, onPostCreate, onPostResume, onPrepareDialog, onPrepareOptionsMenu, onPreparePanel, onRestart, onResume, onRetainNonConfigurationInstance, onSaveInstanceState, onSearchRequested, onStart, onStop, onTitleChanged, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, openContextMenu, openOptionsMenu, registerForContextMenu, removeDialog, requestWindowFeature, runOnUiThread, setContentView, setContentView, setContentView, setDefaultKeyMode, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setIntent, setPersistent, setProgress, setProgressBarIndeterminate, setProgressBarIndeterminateVisibility, setProgressBarVisibility, setRequestedOrientation, setResult, setResult, setSecondaryProgress, setTitle, setTitle, setTitleColor, setVolumeControlStream, showDialog, startActivity, startActivityForResult, startActivityFromChild, startActivityIfNeeded, startManagingCursor, startNextMatchingActivity, startSearch, stopManagingCursor, takeKeyEvents, unregisterForContextMenu
+ + + + + + + +
Methods inherited from class android.view.ContextThemeWrapper
attachBaseContext, getTheme, setTheme
+ + + + + + + +
Methods inherited from class android.content.ContextWrapper
bindService, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingPermission, checkCallingUriPermission, checkPermission, checkUriPermission, checkUriPermission, clearWallpaper, createPackageContext, databaseList, deleteDatabase, deleteFile, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getAssets, getBaseContext, getCacheDir, getClassLoader, getContentResolver, getDatabasePath, getDir, getFilesDir, getFileStreamPath, getMainLooper, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getResources, getSharedPreferences, getWallpaper, grantUriPermission, openFileInput, openFileOutput, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, removeStickyBroadcast, revokeUriPermission, sendBroadcast, sendBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendStickyBroadcast, setWallpaper, setWallpaper, startInstrumentation, startService, stopService, unbindService, unregisterReceiver
+ + + + + + + +
Methods inherited from class android.content.Context
getString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BookmarkPickerActivity

+
+public BookmarkPickerActivity()
+
+
+ + + + + + + + +
+Method Detail
+ +

+onCreate

+
+protected void onCreate(android.os.Bundle icicle)
+
+
+
Overrides:
onCreate in class android.app.Activity
+
+
+
+
+
+
+ +

+onListItemClick

+
+protected void onListItemClick(android.widget.ListView l,
+                               android.view.View view,
+                               int position,
+                               long id)
+
+
+
Overrides:
onListItemClick in class android.app.ListActivity
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/CaptureActivity.html b/docs/javadoc/com/google/zxing/client/android/CaptureActivity.html new file mode 100644 index 000000000..318c50523 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/CaptureActivity.html @@ -0,0 +1,631 @@ + + + + + + +CaptureActivity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class CaptureActivity

+
+java.lang.Object
+  extended by android.content.Context
+      extended by android.content.ContextWrapper
+          extended by android.view.ContextThemeWrapper
+              extended by android.app.Activity
+                  extended by com.google.zxing.client.android.CaptureActivity
+
+
+
All Implemented Interfaces:
android.content.ComponentCallbacks, android.view.KeyEvent.Callback, android.view.LayoutInflater.Factory, android.view.SurfaceHolder.Callback, android.view.View.OnCreateContextMenuListener, android.view.Window.Callback
+
+
+
+
public final class CaptureActivity
extends android.app.Activity
implements android.view.SurfaceHolder.Callback
+ + +

+The barcode reader activity itself. This is loosely based on the CameraPreview + example included in the Android SDK. +

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+ CaptureActivityHandlermHandler + +
+           
+ + + + + + + +
Fields inherited from class android.app.Activity
DEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE, DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL, DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED, RESULT_FIRST_USER, RESULT_OK
+ + + + + + + +
Fields inherited from class android.content.Context
ACTIVITY_SERVICE, ALARM_SERVICE, AUDIO_SERVICE, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, KEYGUARD_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MODE_APPEND, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NOTIFICATION_SERVICE, POWER_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, TELEPHONY_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
+  + + + + + + + + + + +
+Constructor Summary
CaptureActivity() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddrawViewfinder() + +
+           
+ voidhandleDecode(Result rawResult, + android.graphics.Bitmap barcode) + +
+          A valid barcode has been found, so give an indication of success and show the results.
+ voidonConfigurationChanged(android.content.res.Configuration config) + +
+           
+ voidonCreate(android.os.Bundle icicle) + +
+           
+ booleanonCreateOptionsMenu(android.view.Menu menu) + +
+           
+ booleanonKeyDown(int keyCode, + android.view.KeyEvent event) + +
+           
+ booleanonOptionsItemSelected(android.view.MenuItem item) + +
+           
+protected  voidonPause() + +
+           
+ booleanonPrepareOptionsMenu(android.view.Menu menu) + +
+           
+protected  voidonResume() + +
+           
+ voidsurfaceChanged(android.view.SurfaceHolder holder, + int format, + int width, + int height) + +
+           
+ voidsurfaceCreated(android.view.SurfaceHolder holder) + +
+           
+ voidsurfaceDestroyed(android.view.SurfaceHolder holder) + +
+           
+ + + + + + + +
Methods inherited from class android.app.Activity
addContentView, closeOptionsMenu, createPendingResult, dismissDialog, dispatchKeyEvent, dispatchTouchEvent, dispatchTrackballEvent, finalize, findViewById, finish, finishActivity, finishActivityFromChild, finishFromChild, getApplication, getCallingActivity, getCallingPackage, getChangingConfigurations, getComponentName, getCurrentFocus, getInstanceCount, getIntent, getLastNonConfigurationInstance, getLayoutInflater, getLocalClassName, getMenuInflater, getParent, getPreferences, getRequestedOrientation, getSystemService, getTaskId, getTitle, getTitleColor, getVolumeControlStream, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, getWindow, getWindowManager, isChild, isFinishing, isTaskRoot, managedQuery, moveTaskToBack, onActivityResult, onApplyThemeResource, onChildTitleChanged, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateDescription, onCreateDialog, onCreatePanelMenu, onCreatePanelView, onCreateThumbnail, onCreateView, onDestroy, onKeyMultiple, onKeyUp, onLowMemory, onMenuItemSelected, onMenuOpened, onNewIntent, onOptionsMenuClosed, onPanelClosed, onPostCreate, onPostResume, onPrepareDialog, onPreparePanel, onRestart, onRestoreInstanceState, onRetainNonConfigurationInstance, onSaveInstanceState, onSearchRequested, onStart, onStop, onTitleChanged, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, openContextMenu, openOptionsMenu, registerForContextMenu, removeDialog, requestWindowFeature, runOnUiThread, setContentView, setContentView, setContentView, setDefaultKeyMode, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setIntent, setPersistent, setProgress, setProgressBarIndeterminate, setProgressBarIndeterminateVisibility, setProgressBarVisibility, setRequestedOrientation, setResult, setResult, setSecondaryProgress, setTitle, setTitle, setTitleColor, setVolumeControlStream, showDialog, startActivity, startActivityForResult, startActivityFromChild, startActivityIfNeeded, startManagingCursor, startNextMatchingActivity, startSearch, stopManagingCursor, takeKeyEvents, unregisterForContextMenu
+ + + + + + + +
Methods inherited from class android.view.ContextThemeWrapper
attachBaseContext, getTheme, setTheme
+ + + + + + + +
Methods inherited from class android.content.ContextWrapper
bindService, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingPermission, checkCallingUriPermission, checkPermission, checkUriPermission, checkUriPermission, clearWallpaper, createPackageContext, databaseList, deleteDatabase, deleteFile, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getAssets, getBaseContext, getCacheDir, getClassLoader, getContentResolver, getDatabasePath, getDir, getFilesDir, getFileStreamPath, getMainLooper, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getResources, getSharedPreferences, getWallpaper, grantUriPermission, openFileInput, openFileOutput, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, removeStickyBroadcast, revokeUriPermission, sendBroadcast, sendBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendStickyBroadcast, setWallpaper, setWallpaper, startInstrumentation, startService, stopService, unbindService, unregisterReceiver
+ + + + + + + +
Methods inherited from class android.content.Context
getString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+mHandler

+
+public CaptureActivityHandler mHandler
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+CaptureActivity

+
+public CaptureActivity()
+
+
+ + + + + + + + +
+Method Detail
+ +

+onCreate

+
+public void onCreate(android.os.Bundle icicle)
+
+
+
Overrides:
onCreate in class android.app.Activity
+
+
+
+
+
+
+ +

+onResume

+
+protected void onResume()
+
+
+
Overrides:
onResume in class android.app.Activity
+
+
+
+
+
+
+ +

+onPause

+
+protected void onPause()
+
+
+
Overrides:
onPause in class android.app.Activity
+
+
+
+
+
+
+ +

+onKeyDown

+
+public boolean onKeyDown(int keyCode,
+                         android.view.KeyEvent event)
+
+
+
Specified by:
onKeyDown in interface android.view.KeyEvent.Callback
Overrides:
onKeyDown in class android.app.Activity
+
+
+
+
+
+
+ +

+onCreateOptionsMenu

+
+public boolean onCreateOptionsMenu(android.view.Menu menu)
+
+
+
Overrides:
onCreateOptionsMenu in class android.app.Activity
+
+
+
+
+
+
+ +

+onPrepareOptionsMenu

+
+public boolean onPrepareOptionsMenu(android.view.Menu menu)
+
+
+
Overrides:
onPrepareOptionsMenu in class android.app.Activity
+
+
+
+
+
+
+ +

+onOptionsItemSelected

+
+public boolean onOptionsItemSelected(android.view.MenuItem item)
+
+
+
Overrides:
onOptionsItemSelected in class android.app.Activity
+
+
+
+
+
+
+ +

+onConfigurationChanged

+
+public void onConfigurationChanged(android.content.res.Configuration config)
+
+
+
Specified by:
onConfigurationChanged in interface android.content.ComponentCallbacks
Overrides:
onConfigurationChanged in class android.app.Activity
+
+
+
+
+
+
+ +

+surfaceCreated

+
+public void surfaceCreated(android.view.SurfaceHolder holder)
+
+
+
Specified by:
surfaceCreated in interface android.view.SurfaceHolder.Callback
+
+
+
+
+
+
+ +

+surfaceDestroyed

+
+public void surfaceDestroyed(android.view.SurfaceHolder holder)
+
+
+
Specified by:
surfaceDestroyed in interface android.view.SurfaceHolder.Callback
+
+
+
+
+
+
+ +

+surfaceChanged

+
+public void surfaceChanged(android.view.SurfaceHolder holder,
+                           int format,
+                           int width,
+                           int height)
+
+
+
Specified by:
surfaceChanged in interface android.view.SurfaceHolder.Callback
+
+
+
+
+
+
+ +

+handleDecode

+
+public void handleDecode(Result rawResult,
+                         android.graphics.Bitmap barcode)
+
+
A valid barcode has been found, so give an indication of success and show the results. +

+

+
+
+
+
Parameters:
rawResult - The contents of the barcode.
barcode - A greyscale bitmap of the camera data which was decoded.
+
+
+
+ +

+drawViewfinder

+
+public void drawViewfinder()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/CaptureActivityHandler.html b/docs/javadoc/com/google/zxing/client/android/CaptureActivityHandler.html new file mode 100644 index 000000000..54e048032 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/CaptureActivityHandler.html @@ -0,0 +1,253 @@ + + + + + + +CaptureActivityHandler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class CaptureActivityHandler

+
+java.lang.Object
+  extended by android.os.Handler
+      extended by com.google.zxing.client.android.CaptureActivityHandler
+
+
+
+
public final class CaptureActivityHandler
extends android.os.Handler
+ + +

+This class handles all the messaging which comprises the state machine for capture. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ voidhandleMessage(android.os.Message message) + +
+           
+ voidquitSynchronously() + +
+           
+ + + + + + + +
Methods inherited from class android.os.Handler
dispatchMessage, dump, getLooper, hasMessages, hasMessages, obtainMessage, obtainMessage, obtainMessage, obtainMessage, obtainMessage, post, postAtFrontOfQueue, postAtTime, postAtTime, postDelayed, removeCallbacks, removeCallbacks, removeCallbacksAndMessages, removeMessages, removeMessages, sendEmptyMessage, sendEmptyMessageAtTime, sendEmptyMessageDelayed, sendMessage, sendMessageAtFrontOfQueue, sendMessageAtTime, sendMessageDelayed, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+handleMessage

+
+public void handleMessage(android.os.Message message)
+
+
+
Overrides:
handleMessage in class android.os.Handler
+
+
+
+
+
+
+ +

+quitSynchronously

+
+public void quitSynchronously()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/Contents.Format.html b/docs/javadoc/com/google/zxing/client/android/Contents.Format.html new file mode 100644 index 000000000..2b810d09c --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/Contents.Format.html @@ -0,0 +1,340 @@ + + + + + + +Contents.Format + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class Contents.Format

+
+java.lang.Object
+  extended by com.google.zxing.client.android.Contents.Format
+
+
+
Enclosing class:
Contents
+
+
+
+
public static final class Contents.Format
extends java.lang.Object
+ + +

+All the formats we know about. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringCODE_128 + +
+           
+static java.lang.StringCODE_39 + +
+           
+static java.lang.StringEAN_13 + +
+           
+static java.lang.StringEAN_8 + +
+           
+static java.lang.StringQR_CODE + +
+           
+static java.lang.StringUPC_A + +
+           
+static java.lang.StringUPC_E + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+UPC_A

+
+public static final java.lang.String UPC_A
+
+
+
See Also:
Constant Field Values
+
+
+ +

+UPC_E

+
+public static final java.lang.String UPC_E
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EAN_8

+
+public static final java.lang.String EAN_8
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EAN_13

+
+public static final java.lang.String EAN_13
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CODE_39

+
+public static final java.lang.String CODE_39
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CODE_128

+
+public static final java.lang.String CODE_128
+
+
+
See Also:
Constant Field Values
+
+
+ +

+QR_CODE

+
+public static final java.lang.String QR_CODE
+
+
+
See Also:
Constant Field Values
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/Contents.Type.html b/docs/javadoc/com/google/zxing/client/android/Contents.Type.html new file mode 100644 index 000000000..0d21da104 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/Contents.Type.html @@ -0,0 +1,346 @@ + + + + + + +Contents.Type + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class Contents.Type

+
+java.lang.Object
+  extended by com.google.zxing.client.android.Contents.Type
+
+
+
Enclosing class:
Contents
+
+
+
+
public static final class Contents.Type
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringCONTACT + +
+          A contact.
+static java.lang.StringEMAIL + +
+          An email type.
+static java.lang.StringLOCATION + +
+          A geographic location.
+static java.lang.StringPHONE + +
+          Use Intent.putExtra(DATA, string) where string is the phone number to call.
+static java.lang.StringSMS + +
+          An SMS type.
+static java.lang.StringTEXT + +
+          Plain text.
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+TEXT

+
+public static final java.lang.String TEXT
+
+
Plain text. Use Intent.putExtra(DATA, string). This can be used for URLs too, but string + must include "http://" or "https://". +

+

+
See Also:
Constant Field Values
+
+
+ +

+EMAIL

+
+public static final java.lang.String EMAIL
+
+
An email type. Use Intent.putExtra(DATA, string) where string is the email address. +

+

+
See Also:
Constant Field Values
+
+
+ +

+PHONE

+
+public static final java.lang.String PHONE
+
+
Use Intent.putExtra(DATA, string) where string is the phone number to call. +

+

+
See Also:
Constant Field Values
+
+
+ +

+SMS

+
+public static final java.lang.String SMS
+
+
An SMS type. Use Intent.putExtra(DATA, string) where string is the number to SMS. +

+

+
See Also:
Constant Field Values
+
+
+ +

+CONTACT

+
+public static final java.lang.String CONTACT
+
+
A contact. Send a request to encode it as follows: +

+ import android.provider.Contacts; +

+ Intent intent = new Intent(Intents.Encode.ACTION); + intent.putExtra(Intents.Encode.TYPE, CONTACT); + Bundle bundle = new Bundle(); + bundle.putString(Contacts.Intents.Insert.NAME, "Jenny"); + bundle.putString(Contacts.Intents.Insert.PHONE, "8675309"); + bundle.putString(Contacts.Intents.Insert.EMAIL, "jenny@the80s.com"); + bundle.putString(Contacts.Intents.Insert.POSTAL, "123 Fake St. San Francisco, CA 94102"); + intent.putExtra(Intents.Encode.DATA, bundle); +

+

+
See Also:
Constant Field Values
+
+
+ +

+LOCATION

+
+public static final java.lang.String LOCATION
+
+
A geographic location. Use as follows: + Bundle bundle = new Bundle(); + bundle.putFloat("LAT", latitude); + bundle.putFloat("LONG", longitude); + intent.putExtra(Intents.Encode.DATA, bundle); +

+

+
See Also:
Constant Field Values
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/Contents.html b/docs/javadoc/com/google/zxing/client/android/Contents.html new file mode 100644 index 000000000..66462bc91 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/Contents.html @@ -0,0 +1,272 @@ + + + + + + +Contents + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class Contents

+
+java.lang.Object
+  extended by com.google.zxing.client.android.Contents
+
+
+
+
public final class Contents
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + +
+Nested Class Summary
+static classContents.Format + +
+          All the formats we know about.
+static classContents.Type + +
+           
+ + + + + + + + + + + + + + +
+Field Summary
+static java.lang.String[]EMAIL_KEYS + +
+           
+static java.lang.String[]PHONE_KEYS + +
+          When using Type.CONTACT, these arrays provide the keys for adding or retrieving multiple + phone numbers and addresses.
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+PHONE_KEYS

+
+public static final java.lang.String[] PHONE_KEYS
+
+
When using Type.CONTACT, these arrays provide the keys for adding or retrieving multiple + phone numbers and addresses. +

+

+
+
+
+ +

+EMAIL_KEYS

+
+public static final java.lang.String[] EMAIL_KEYS
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/EncodeActivity.html b/docs/javadoc/com/google/zxing/client/android/EncodeActivity.html new file mode 100644 index 000000000..7ead3dd5a --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/EncodeActivity.html @@ -0,0 +1,399 @@ + + + + + + +EncodeActivity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class EncodeActivity

+
+java.lang.Object
+  extended by android.content.Context
+      extended by android.content.ContextWrapper
+          extended by android.view.ContextThemeWrapper
+              extended by android.app.Activity
+                  extended by com.google.zxing.client.android.EncodeActivity
+
+
+
All Implemented Interfaces:
android.content.ComponentCallbacks, android.view.KeyEvent.Callback, android.view.LayoutInflater.Factory, android.view.View.OnCreateContextMenuListener, android.view.Window.Callback
+
+
+
+
public final class EncodeActivity
extends android.app.Activity
+ + +

+This class encodes data from an Intent into a QR code, and then displays it full screen so that + another person can scan it with their device. +

+ +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+ android.os.HandlermHandler + +
+           
+ android.view.ViewTreeObserver.OnGlobalLayoutListenermLayoutListener + +
+          This needs to be delayed until after the first layout so that the view dimensions will be + available.
+ + + + + + + +
Fields inherited from class android.app.Activity
DEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE, DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL, DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED, RESULT_FIRST_USER, RESULT_OK
+ + + + + + + +
Fields inherited from class android.content.Context
ACTIVITY_SERVICE, ALARM_SERVICE, AUDIO_SERVICE, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, KEYGUARD_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MODE_APPEND, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NOTIFICATION_SERVICE, POWER_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, TELEPHONY_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
+  + + + + + + + + + + +
+Constructor Summary
EncodeActivity() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidonCreate(android.os.Bundle icicle) + +
+           
+protected  voidonResume() + +
+           
+ + + + + + + +
Methods inherited from class android.app.Activity
addContentView, closeOptionsMenu, createPendingResult, dismissDialog, dispatchKeyEvent, dispatchTouchEvent, dispatchTrackballEvent, finalize, findViewById, finish, finishActivity, finishActivityFromChild, finishFromChild, getApplication, getCallingActivity, getCallingPackage, getChangingConfigurations, getComponentName, getCurrentFocus, getInstanceCount, getIntent, getLastNonConfigurationInstance, getLayoutInflater, getLocalClassName, getMenuInflater, getParent, getPreferences, getRequestedOrientation, getSystemService, getTaskId, getTitle, getTitleColor, getVolumeControlStream, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, getWindow, getWindowManager, isChild, isFinishing, isTaskRoot, managedQuery, moveTaskToBack, onActivityResult, onApplyThemeResource, onChildTitleChanged, onConfigurationChanged, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateDescription, onCreateDialog, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onCreateThumbnail, onCreateView, onDestroy, onKeyDown, onKeyMultiple, onKeyUp, onLowMemory, onMenuItemSelected, onMenuOpened, onNewIntent, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPause, onPostCreate, onPostResume, onPrepareDialog, onPrepareOptionsMenu, onPreparePanel, onRestart, onRestoreInstanceState, onRetainNonConfigurationInstance, onSaveInstanceState, onSearchRequested, onStart, onStop, onTitleChanged, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, openContextMenu, openOptionsMenu, registerForContextMenu, removeDialog, requestWindowFeature, runOnUiThread, setContentView, setContentView, setContentView, setDefaultKeyMode, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setIntent, setPersistent, setProgress, setProgressBarIndeterminate, setProgressBarIndeterminateVisibility, setProgressBarVisibility, setRequestedOrientation, setResult, setResult, setSecondaryProgress, setTitle, setTitle, setTitleColor, setVolumeControlStream, showDialog, startActivity, startActivityForResult, startActivityFromChild, startActivityIfNeeded, startManagingCursor, startNextMatchingActivity, startSearch, stopManagingCursor, takeKeyEvents, unregisterForContextMenu
+ + + + + + + +
Methods inherited from class android.view.ContextThemeWrapper
attachBaseContext, getTheme, setTheme
+ + + + + + + +
Methods inherited from class android.content.ContextWrapper
bindService, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingPermission, checkCallingUriPermission, checkPermission, checkUriPermission, checkUriPermission, clearWallpaper, createPackageContext, databaseList, deleteDatabase, deleteFile, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getAssets, getBaseContext, getCacheDir, getClassLoader, getContentResolver, getDatabasePath, getDir, getFilesDir, getFileStreamPath, getMainLooper, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getResources, getSharedPreferences, getWallpaper, grantUriPermission, openFileInput, openFileOutput, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, removeStickyBroadcast, revokeUriPermission, sendBroadcast, sendBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendStickyBroadcast, setWallpaper, setWallpaper, startInstrumentation, startService, stopService, unbindService, unregisterReceiver
+ + + + + + + +
Methods inherited from class android.content.Context
getString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+mLayoutListener

+
+public final android.view.ViewTreeObserver.OnGlobalLayoutListener mLayoutListener
+
+
This needs to be delayed until after the first layout so that the view dimensions will be + available. +

+

+
+
+
+ +

+mHandler

+
+public final android.os.Handler mHandler
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+EncodeActivity

+
+public EncodeActivity()
+
+
+ + + + + + + + +
+Method Detail
+ +

+onCreate

+
+public void onCreate(android.os.Bundle icicle)
+
+
+
Overrides:
onCreate in class android.app.Activity
+
+
+
+
+
+
+ +

+onResume

+
+protected void onResume()
+
+
+
Overrides:
onResume in class android.app.Activity
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/HelpActivity.html b/docs/javadoc/com/google/zxing/client/android/HelpActivity.html new file mode 100644 index 000000000..d2daea3d9 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/HelpActivity.html @@ -0,0 +1,395 @@ + + + + + + +HelpActivity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class HelpActivity

+
+java.lang.Object
+  extended by android.content.Context
+      extended by android.content.ContextWrapper
+          extended by android.view.ContextThemeWrapper
+              extended by android.app.Activity
+                  extended by com.google.zxing.client.android.HelpActivity
+
+
+
All Implemented Interfaces:
android.content.ComponentCallbacks, android.view.KeyEvent.Callback, android.view.LayoutInflater.Factory, android.view.View.OnCreateContextMenuListener, android.view.Window.Callback
+
+
+
+
public final class HelpActivity
extends android.app.Activity
+ + +

+

+
Author:
+
dswitkin@google.com (Daniel Switkin)
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class android.app.Activity
DEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE, DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL, DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED, RESULT_FIRST_USER, RESULT_OK
+ + + + + + + +
Fields inherited from class android.content.Context
ACTIVITY_SERVICE, ALARM_SERVICE, AUDIO_SERVICE, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, KEYGUARD_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MODE_APPEND, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NOTIFICATION_SERVICE, POWER_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, TELEPHONY_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
+  + + + + + + + + + + +
+Constructor Summary
HelpActivity() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidonCreate(android.os.Bundle icicle) + +
+           
+ booleanonKeyDown(int keyCode, + android.view.KeyEvent event) + +
+           
+ voidonResume() + +
+           
+protected  voidonSaveInstanceState(android.os.Bundle state) + +
+           
+ + + + + + + +
Methods inherited from class android.app.Activity
addContentView, closeOptionsMenu, createPendingResult, dismissDialog, dispatchKeyEvent, dispatchTouchEvent, dispatchTrackballEvent, finalize, findViewById, finish, finishActivity, finishActivityFromChild, finishFromChild, getApplication, getCallingActivity, getCallingPackage, getChangingConfigurations, getComponentName, getCurrentFocus, getInstanceCount, getIntent, getLastNonConfigurationInstance, getLayoutInflater, getLocalClassName, getMenuInflater, getParent, getPreferences, getRequestedOrientation, getSystemService, getTaskId, getTitle, getTitleColor, getVolumeControlStream, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, getWindow, getWindowManager, isChild, isFinishing, isTaskRoot, managedQuery, moveTaskToBack, onActivityResult, onApplyThemeResource, onChildTitleChanged, onConfigurationChanged, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateDescription, onCreateDialog, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onCreateThumbnail, onCreateView, onDestroy, onKeyMultiple, onKeyUp, onLowMemory, onMenuItemSelected, onMenuOpened, onNewIntent, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPause, onPostCreate, onPostResume, onPrepareDialog, onPrepareOptionsMenu, onPreparePanel, onRestart, onRestoreInstanceState, onRetainNonConfigurationInstance, onSearchRequested, onStart, onStop, onTitleChanged, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, openContextMenu, openOptionsMenu, registerForContextMenu, removeDialog, requestWindowFeature, runOnUiThread, setContentView, setContentView, setContentView, setDefaultKeyMode, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setIntent, setPersistent, setProgress, setProgressBarIndeterminate, setProgressBarIndeterminateVisibility, setProgressBarVisibility, setRequestedOrientation, setResult, setResult, setSecondaryProgress, setTitle, setTitle, setTitleColor, setVolumeControlStream, showDialog, startActivity, startActivityForResult, startActivityFromChild, startActivityIfNeeded, startManagingCursor, startNextMatchingActivity, startSearch, stopManagingCursor, takeKeyEvents, unregisterForContextMenu
+ + + + + + + +
Methods inherited from class android.view.ContextThemeWrapper
attachBaseContext, getTheme, setTheme
+ + + + + + + +
Methods inherited from class android.content.ContextWrapper
bindService, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingPermission, checkCallingUriPermission, checkPermission, checkUriPermission, checkUriPermission, clearWallpaper, createPackageContext, databaseList, deleteDatabase, deleteFile, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getAssets, getBaseContext, getCacheDir, getClassLoader, getContentResolver, getDatabasePath, getDir, getFilesDir, getFileStreamPath, getMainLooper, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getResources, getSharedPreferences, getWallpaper, grantUriPermission, openFileInput, openFileOutput, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, removeStickyBroadcast, revokeUriPermission, sendBroadcast, sendBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendStickyBroadcast, setWallpaper, setWallpaper, startInstrumentation, startService, stopService, unbindService, unregisterReceiver
+ + + + + + + +
Methods inherited from class android.content.Context
getString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HelpActivity

+
+public HelpActivity()
+
+
+ + + + + + + + +
+Method Detail
+ +

+onCreate

+
+protected void onCreate(android.os.Bundle icicle)
+
+
+
Overrides:
onCreate in class android.app.Activity
+
+
+
+
+
+
+ +

+onResume

+
+public void onResume()
+
+
+
Overrides:
onResume in class android.app.Activity
+
+
+
+
+
+
+ +

+onSaveInstanceState

+
+protected void onSaveInstanceState(android.os.Bundle state)
+
+
+
Overrides:
onSaveInstanceState in class android.app.Activity
+
+
+
+
+
+
+ +

+onKeyDown

+
+public boolean onKeyDown(int keyCode,
+                         android.view.KeyEvent event)
+
+
+
Specified by:
onKeyDown in interface android.view.KeyEvent.Callback
Overrides:
onKeyDown in class android.app.Activity
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/Intents.Encode.html b/docs/javadoc/com/google/zxing/client/android/Intents.Encode.html new file mode 100644 index 000000000..a1b364d58 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/Intents.Encode.html @@ -0,0 +1,315 @@ + + + + + + +Intents.Encode + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class Intents.Encode

+
+java.lang.Object
+  extended by com.google.zxing.client.android.Intents.Encode
+
+
+
Enclosing class:
Intents
+
+
+
+
public static final class Intents.Encode
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringACTION + +
+          Send this intent to encode a piece of data as a QR code and display it full screen, so + that another person can scan the barcode from your screen.
+static java.lang.StringDATA + +
+          The data to encode.
+static java.lang.StringDEPRECATED_ACTION + +
+           
+static java.lang.StringFORMAT + +
+          The barcode format to be displayed.
+static java.lang.StringTYPE + +
+          The type of data being supplied if the format is QR Code.
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ACTION

+
+public static final java.lang.String ACTION
+
+
Send this intent to encode a piece of data as a QR code and display it full screen, so + that another person can scan the barcode from your screen. +

+

+
See Also:
Constant Field Values
+
+
+ +

+DEPRECATED_ACTION

+
+public static final java.lang.String DEPRECATED_ACTION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DATA

+
+public static final java.lang.String DATA
+
+
The data to encode. Use Intent.putExtra(DATA, data) where data is either a String or a + Bundle, depending on the type and format specified. Non-QR Code formats should + just use a String here. For QR Code, see Contents for details. +

+

+
See Also:
Constant Field Values
+
+
+ +

+TYPE

+
+public static final java.lang.String TYPE
+
+
The type of data being supplied if the format is QR Code. Use + Intent.putExtra(TYPE, type) with one of Contents.Type. +

+

+
See Also:
Constant Field Values
+
+
+ +

+FORMAT

+
+public static final java.lang.String FORMAT
+
+
The barcode format to be displayed. If this isn't specified or is blank, + it defaults to QR Code. Use Intent.putExtra(FORMAT, format), where + format is one of Contents.Format. +

+

+
See Also:
Constant Field Values
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/Intents.Scan.html b/docs/javadoc/com/google/zxing/client/android/Intents.Scan.html new file mode 100644 index 000000000..31ab5c1f7 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/Intents.Scan.html @@ -0,0 +1,378 @@ + + + + + + +Intents.Scan + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class Intents.Scan

+
+java.lang.Object
+  extended by com.google.zxing.client.android.Intents.Scan
+
+
+
Enclosing class:
Intents
+
+
+
+
public static final class Intents.Scan
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringACTION + +
+          Send this intent to open the Barcodes app in scanning mode, find a barcode, and return + the results.
+static java.lang.StringDEPRECATED_ACTION + +
+           
+static java.lang.StringMODE + +
+          By default, sending Scan.ACTION will decode all barcodes that we understand.
+static java.lang.StringONE_D_MODE + +
+          Decode only 1D barcodes (currently UPC, EAN, Code 39, and Code 128).
+static java.lang.StringPRODUCT_MODE + +
+          Decode only UPC and EAN barcodes.
+static java.lang.StringQR_CODE_MODE + +
+          Decode only QR codes.
+static java.lang.StringRESULT + +
+          If a barcode is found, Barcodes returns RESULT_OK to onActivityResult() of the app which + requested the scan via startSubActivity().
+static java.lang.StringRESULT_FORMAT + +
+          Call intent.getStringExtra(RESULT_FORMAT) to determine which barcode format was found.
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ACTION

+
+public static final java.lang.String ACTION
+
+
Send this intent to open the Barcodes app in scanning mode, find a barcode, and return + the results. +

+

+
See Also:
Constant Field Values
+
+
+ +

+DEPRECATED_ACTION

+
+public static final java.lang.String DEPRECATED_ACTION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MODE

+
+public static final java.lang.String MODE
+
+
By default, sending Scan.ACTION will decode all barcodes that we understand. However it + may be useful to limit scanning to certain formats. Use Intent.putExtra(MODE, value) with + one of the values below (optional). +

+

+
See Also:
Constant Field Values
+
+
+ +

+PRODUCT_MODE

+
+public static final java.lang.String PRODUCT_MODE
+
+
Decode only UPC and EAN barcodes. This is the right choice for shopping apps which get + prices, reviews, etc. for products. +

+

+
See Also:
Constant Field Values
+
+
+ +

+ONE_D_MODE

+
+public static final java.lang.String ONE_D_MODE
+
+
Decode only 1D barcodes (currently UPC, EAN, Code 39, and Code 128). +

+

+
See Also:
Constant Field Values
+
+
+ +

+QR_CODE_MODE

+
+public static final java.lang.String QR_CODE_MODE
+
+
Decode only QR codes. +

+

+
See Also:
Constant Field Values
+
+
+ +

+RESULT

+
+public static final java.lang.String RESULT
+
+
If a barcode is found, Barcodes returns RESULT_OK to onActivityResult() of the app which + requested the scan via startSubActivity(). The barcodes contents can be retrieved with + intent.getStringExtra(RESULT). If the user presses Back, the result code will be + RESULT_CANCELED. +

+

+
See Also:
Constant Field Values
+
+
+ +

+RESULT_FORMAT

+
+public static final java.lang.String RESULT_FORMAT
+
+
Call intent.getStringExtra(RESULT_FORMAT) to determine which barcode format was found. + See Contents.Format for possible values. +

+

+
See Also:
Constant Field Values
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/Intents.SearchBookContents.html b/docs/javadoc/com/google/zxing/client/android/Intents.SearchBookContents.html new file mode 100644 index 000000000..164964254 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/Intents.SearchBookContents.html @@ -0,0 +1,288 @@ + + + + + + +Intents.SearchBookContents + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class Intents.SearchBookContents

+
+java.lang.Object
+  extended by com.google.zxing.client.android.Intents.SearchBookContents
+
+
+
Enclosing class:
Intents
+
+
+
+
public static final class Intents.SearchBookContents
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringACTION + +
+          Use Google Book Search to search the contents of the book provided.
+static java.lang.StringDEPRECATED_ACTION + +
+           
+static java.lang.StringISBN + +
+          The book to search, identified by ISBN number.
+static java.lang.StringQUERY + +
+          An optional field which is the text to search for.
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ACTION

+
+public static final java.lang.String ACTION
+
+
Use Google Book Search to search the contents of the book provided. +

+

+
See Also:
Constant Field Values
+
+
+ +

+DEPRECATED_ACTION

+
+public static final java.lang.String DEPRECATED_ACTION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ISBN

+
+public static final java.lang.String ISBN
+
+
The book to search, identified by ISBN number. +

+

+
See Also:
Constant Field Values
+
+
+ +

+QUERY

+
+public static final java.lang.String QUERY
+
+
An optional field which is the text to search for. +

+

+
See Also:
Constant Field Values
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/Intents.Share.html b/docs/javadoc/com/google/zxing/client/android/Intents.Share.html new file mode 100644 index 000000000..c120d3aa9 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/Intents.Share.html @@ -0,0 +1,232 @@ + + + + + + +Intents.Share + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class Intents.Share

+
+java.lang.Object
+  extended by com.google.zxing.client.android.Intents.Share
+
+
+
Enclosing class:
Intents
+
+
+
+
public static final class Intents.Share
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static java.lang.StringACTION + +
+          Give the user a choice of items to encode as a barcode, then render it as a QR Code and + display onscreen for a friend to scan with their phone.
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ACTION

+
+public static final java.lang.String ACTION
+
+
Give the user a choice of items to encode as a barcode, then render it as a QR Code and + display onscreen for a friend to scan with their phone. +

+

+
See Also:
Constant Field Values
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/Intents.html b/docs/javadoc/com/google/zxing/client/android/Intents.html new file mode 100644 index 000000000..9a44f5030 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/Intents.html @@ -0,0 +1,230 @@ + + + + + + +Intents + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class Intents

+
+java.lang.Object
+  extended by com.google.zxing.client.android.Intents
+
+
+
+
public final class Intents
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Nested Class Summary
+static classIntents.Encode + +
+           
+static classIntents.Scan + +
+           
+static classIntents.SearchBookContents + +
+           
+static classIntents.Share + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/LocaleManager.html b/docs/javadoc/com/google/zxing/client/android/LocaleManager.html new file mode 100644 index 000000000..d4077e8d2 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/LocaleManager.html @@ -0,0 +1,267 @@ + + + + + + +LocaleManager + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class LocaleManager

+
+java.lang.Object
+  extended by com.google.zxing.client.android.LocaleManager
+
+
+
+
public final class LocaleManager
extends java.lang.Object
+ + +

+Handles any locale-specific logic for the client. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static java.lang.StringgetBookSearchCountryTLD() + +
+          The same as above, but specifically for Google Book Search.
+static java.lang.StringgetCountryTLD() + +
+           
+static java.lang.StringgetProductSearchCountryTLD() + +
+          The same as above, but specifically for Google Product Search.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getCountryTLD

+
+public static java.lang.String getCountryTLD()
+
+
+ +
Returns:
country-specific TLD suffix appropriate for the current default locale + (e.g. "co.uk" for the United Kingdom)
+
+
+
+ +

+getProductSearchCountryTLD

+
+public static java.lang.String getProductSearchCountryTLD()
+
+
The same as above, but specifically for Google Product Search. +

+

+ +
Returns:
The top-level domain to use.
+
+
+
+ +

+getBookSearchCountryTLD

+
+public static java.lang.String getBookSearchCountryTLD()
+
+
The same as above, but specifically for Google Book Search. +

+

+ +
Returns:
The top-level domain to use.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/PreferencesActivity.html b/docs/javadoc/com/google/zxing/client/android/PreferencesActivity.html new file mode 100644 index 000000000..f74691f5a --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/PreferencesActivity.html @@ -0,0 +1,394 @@ + + + + + + +PreferencesActivity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class PreferencesActivity

+
+java.lang.Object
+  extended by android.content.Context
+      extended by android.content.ContextWrapper
+          extended by android.view.ContextThemeWrapper
+              extended by android.app.Activity
+                  extended by android.app.ListActivity
+                      extended by android.preference.PreferenceActivity
+                          extended by com.google.zxing.client.android.PreferencesActivity
+
+
+
All Implemented Interfaces:
android.content.ComponentCallbacks, android.content.SharedPreferences.OnSharedPreferenceChangeListener, android.view.KeyEvent.Callback, android.view.LayoutInflater.Factory, android.view.View.OnCreateContextMenuListener, android.view.Window.Callback
+
+
+
+
public final class PreferencesActivity
extends android.preference.PreferenceActivity
implements android.content.SharedPreferences.OnSharedPreferenceChangeListener
+ + +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static java.lang.StringKEY_CUSTOM_PRODUCT_SEARCH + +
+           
+ + + + + + + +
Fields inherited from class android.app.Activity
DEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE, DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL, DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED, RESULT_FIRST_USER, RESULT_OK
+ + + + + + + +
Fields inherited from class android.content.Context
ACTIVITY_SERVICE, ALARM_SERVICE, AUDIO_SERVICE, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, KEYGUARD_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MODE_APPEND, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NOTIFICATION_SERVICE, POWER_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, TELEPHONY_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
+  + + + + + + + + + + +
+Constructor Summary
PreferencesActivity() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidonCreate(android.os.Bundle icicle) + +
+           
+ voidonSharedPreferenceChanged(android.content.SharedPreferences sharedPreferences, + java.lang.String key) + +
+           
+ + + + + + + +
Methods inherited from class android.preference.PreferenceActivity
addPreferencesFromIntent, addPreferencesFromResource, findPreference, getPreferenceManager, getPreferenceScreen, onActivityResult, onContentChanged, onDestroy, onNewIntent, onPreferenceTreeClick, onRestoreInstanceState, onSaveInstanceState, onStop, setPreferenceScreen
+ + + + + + + +
Methods inherited from class android.app.ListActivity
getListAdapter, getListView, getSelectedItemId, getSelectedItemPosition, onListItemClick, setListAdapter, setSelection
+ + + + + + + +
Methods inherited from class android.app.Activity
addContentView, closeOptionsMenu, createPendingResult, dismissDialog, dispatchKeyEvent, dispatchTouchEvent, dispatchTrackballEvent, finalize, findViewById, finish, finishActivity, finishActivityFromChild, finishFromChild, getApplication, getCallingActivity, getCallingPackage, getChangingConfigurations, getComponentName, getCurrentFocus, getInstanceCount, getIntent, getLastNonConfigurationInstance, getLayoutInflater, getLocalClassName, getMenuInflater, getParent, getPreferences, getRequestedOrientation, getSystemService, getTaskId, getTitle, getTitleColor, getVolumeControlStream, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, getWindow, getWindowManager, isChild, isFinishing, isTaskRoot, managedQuery, moveTaskToBack, onApplyThemeResource, onChildTitleChanged, onConfigurationChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateDescription, onCreateDialog, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onCreateThumbnail, onCreateView, onKeyDown, onKeyMultiple, onKeyUp, onLowMemory, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPause, onPostCreate, onPostResume, onPrepareDialog, onPrepareOptionsMenu, onPreparePanel, onRestart, onResume, onRetainNonConfigurationInstance, onSearchRequested, onStart, onTitleChanged, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, openContextMenu, openOptionsMenu, registerForContextMenu, removeDialog, requestWindowFeature, runOnUiThread, setContentView, setContentView, setContentView, setDefaultKeyMode, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setIntent, setPersistent, setProgress, setProgressBarIndeterminate, setProgressBarIndeterminateVisibility, setProgressBarVisibility, setRequestedOrientation, setResult, setResult, setSecondaryProgress, setTitle, setTitle, setTitleColor, setVolumeControlStream, showDialog, startActivity, startActivityForResult, startActivityFromChild, startActivityIfNeeded, startManagingCursor, startNextMatchingActivity, startSearch, stopManagingCursor, takeKeyEvents, unregisterForContextMenu
+ + + + + + + +
Methods inherited from class android.view.ContextThemeWrapper
attachBaseContext, getTheme, setTheme
+ + + + + + + +
Methods inherited from class android.content.ContextWrapper
bindService, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingPermission, checkCallingUriPermission, checkPermission, checkUriPermission, checkUriPermission, clearWallpaper, createPackageContext, databaseList, deleteDatabase, deleteFile, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getAssets, getBaseContext, getCacheDir, getClassLoader, getContentResolver, getDatabasePath, getDir, getFilesDir, getFileStreamPath, getMainLooper, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getResources, getSharedPreferences, getWallpaper, grantUriPermission, openFileInput, openFileOutput, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, removeStickyBroadcast, revokeUriPermission, sendBroadcast, sendBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendStickyBroadcast, setWallpaper, setWallpaper, startInstrumentation, startService, stopService, unbindService, unregisterReceiver
+ + + + + + + +
Methods inherited from class android.content.Context
getString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+KEY_CUSTOM_PRODUCT_SEARCH

+
+public static final java.lang.String KEY_CUSTOM_PRODUCT_SEARCH
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+PreferencesActivity

+
+public PreferencesActivity()
+
+
+ + + + + + + + +
+Method Detail
+ +

+onCreate

+
+protected void onCreate(android.os.Bundle icicle)
+
+
+
Overrides:
onCreate in class android.preference.PreferenceActivity
+
+
+
+
+
+
+ +

+onSharedPreferenceChanged

+
+public void onSharedPreferenceChanged(android.content.SharedPreferences sharedPreferences,
+                                      java.lang.String key)
+
+
+
Specified by:
onSharedPreferenceChanged in interface android.content.SharedPreferences.OnSharedPreferenceChangeListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/QRCodeEncoder.html b/docs/javadoc/com/google/zxing/client/android/QRCodeEncoder.html new file mode 100644 index 000000000..1b2ec415b --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/QRCodeEncoder.html @@ -0,0 +1,330 @@ + + + + + + +QRCodeEncoder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class QRCodeEncoder

+
+java.lang.Object
+  extended by com.google.zxing.client.android.QRCodeEncoder
+
+
+
+
public final class QRCodeEncoder
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
QRCodeEncoder(android.app.Activity activity, + android.content.Intent intent) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetContents() + +
+           
+ java.lang.StringgetDisplayContents() + +
+           
+ java.lang.StringgetFormat() + +
+           
+ java.lang.StringgetTitle() + +
+           
+ voidrequestBarcode(android.os.Handler handler, + int pixelResolution) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+QRCodeEncoder

+
+public QRCodeEncoder(android.app.Activity activity,
+                     android.content.Intent intent)
+
+
+ + + + + + + + +
+Method Detail
+ +

+requestBarcode

+
+public void requestBarcode(android.os.Handler handler,
+                           int pixelResolution)
+
+
+
+
+
+
+ +

+getContents

+
+public java.lang.String getContents()
+
+
+
+
+
+
+ +

+getDisplayContents

+
+public java.lang.String getDisplayContents()
+
+
+
+
+
+
+ +

+getTitle

+
+public java.lang.String getTitle()
+
+
+
+
+
+
+ +

+getFormat

+
+public java.lang.String getFormat()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/R.attr.html b/docs/javadoc/com/google/zxing/client/android/R.attr.html new file mode 100644 index 000000000..3037f0899 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/R.attr.html @@ -0,0 +1,225 @@ + + + + + + +R.attr + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class R.attr

+
+java.lang.Object
+  extended by com.google.zxing.client.android.R.attr
+
+
+
Enclosing class:
R
+
+
+
+
public static final class R.attr
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
R.attr() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+R.attr

+
+public R.attr()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/R.color.html b/docs/javadoc/com/google/zxing/client/android/R.color.html new file mode 100644 index 000000000..c81c24aa8 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/R.color.html @@ -0,0 +1,657 @@ + + + + + + +R.color + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class R.color

+
+java.lang.Object
+  extended by com.google.zxing.client.android.R.color
+
+
+
Enclosing class:
R
+
+
+
+
public static final class R.color
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intcontents_text + +
+           
+static intencode_view + +
+           
+static inthelp_button_view + +
+           
+static inthelp_view + +
+           
+static intresult_image_border + +
+           
+static intresult_minor_text + +
+           
+static intresult_points + +
+           
+static intresult_text + +
+           
+static intresult_view + +
+           
+static intsbc_header_text + +
+           
+static intsbc_header_view + +
+           
+static intsbc_layout_view + +
+           
+static intsbc_list_item + +
+           
+static intsbc_page_number_text + +
+           
+static intsbc_snippet_text + +
+           
+static intshare_text + +
+           
+static intshare_view + +
+           
+static intstatus_text + +
+           
+static intstatus_view + +
+           
+static inttransparent + +
+           
+static intviewfinder_frame + +
+           
+static intviewfinder_laser + +
+           
+static intviewfinder_mask + +
+           
+  + + + + + + + + + + +
+Constructor Summary
R.color() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+contents_text

+
+public static final int contents_text
+
+
+
See Also:
Constant Field Values
+
+
+ +

+encode_view

+
+public static final int encode_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+help_button_view

+
+public static final int help_button_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+help_view

+
+public static final int help_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+result_image_border

+
+public static final int result_image_border
+
+
+
See Also:
Constant Field Values
+
+
+ +

+result_minor_text

+
+public static final int result_minor_text
+
+
+
See Also:
Constant Field Values
+
+
+ +

+result_points

+
+public static final int result_points
+
+
+
See Also:
Constant Field Values
+
+
+ +

+result_text

+
+public static final int result_text
+
+
+
See Also:
Constant Field Values
+
+
+ +

+result_view

+
+public static final int result_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+sbc_header_text

+
+public static final int sbc_header_text
+
+
+
See Also:
Constant Field Values
+
+
+ +

+sbc_header_view

+
+public static final int sbc_header_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+sbc_layout_view

+
+public static final int sbc_layout_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+sbc_list_item

+
+public static final int sbc_list_item
+
+
+
See Also:
Constant Field Values
+
+
+ +

+sbc_page_number_text

+
+public static final int sbc_page_number_text
+
+
+
See Also:
Constant Field Values
+
+
+ +

+sbc_snippet_text

+
+public static final int sbc_snippet_text
+
+
+
See Also:
Constant Field Values
+
+
+ +

+share_text

+
+public static final int share_text
+
+
+
See Also:
Constant Field Values
+
+
+ +

+share_view

+
+public static final int share_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+status_text

+
+public static final int status_text
+
+
+
See Also:
Constant Field Values
+
+
+ +

+status_view

+
+public static final int status_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+transparent

+
+public static final int transparent
+
+
+
See Also:
Constant Field Values
+
+
+ +

+viewfinder_frame

+
+public static final int viewfinder_frame
+
+
+
See Also:
Constant Field Values
+
+
+ +

+viewfinder_laser

+
+public static final int viewfinder_laser
+
+
+
See Also:
Constant Field Values
+
+
+ +

+viewfinder_mask

+
+public static final int viewfinder_mask
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+R.color

+
+public R.color()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/R.drawable.html b/docs/javadoc/com/google/zxing/client/android/R.drawable.html new file mode 100644 index 000000000..45dea833d --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/R.drawable.html @@ -0,0 +1,315 @@ + + + + + + +R.drawable + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class R.drawable

+
+java.lang.Object
+  extended by com.google.zxing.client.android.R.drawable
+
+
+
Enclosing class:
R
+
+
+
+
public static final class R.drawable
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intlauncher_icon + +
+           
+static intshare_menu_item + +
+           
+static intshare_via_barcode + +
+           
+static intzxing_icon + +
+           
+  + + + + + + + + + + +
+Constructor Summary
R.drawable() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+launcher_icon

+
+public static final int launcher_icon
+
+
+
See Also:
Constant Field Values
+
+
+ +

+share_menu_item

+
+public static final int share_menu_item
+
+
+
See Also:
Constant Field Values
+
+
+ +

+share_via_barcode

+
+public static final int share_via_barcode
+
+
+
See Also:
Constant Field Values
+
+
+ +

+zxing_icon

+
+public static final int zxing_icon
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+R.drawable

+
+public R.drawable()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/R.html b/docs/javadoc/com/google/zxing/client/android/R.html new file mode 100644 index 000000000..3ee753180 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/R.html @@ -0,0 +1,303 @@ + + + + + + +R + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class R

+
+java.lang.Object
+  extended by com.google.zxing.client.android.R
+
+
+
+
public final class R
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Nested Class Summary
+static classR.attr + +
+           
+static classR.color + +
+           
+static classR.drawable + +
+           
+static classR.id + +
+           
+static classR.layout + +
+           
+static classR.raw + +
+           
+static classR.string + +
+           
+static classR.styleable + +
+           
+static classR.xml + +
+           
+  + + + + + + + + + + +
+Constructor Summary
R() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+R

+
+public R()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/R.id.html b/docs/javadoc/com/google/zxing/client/android/R.id.html new file mode 100644 index 000000000..d31b92ac5 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/R.id.html @@ -0,0 +1,911 @@ + + + + + + +R.id + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class R.id

+
+java.lang.Object
+  extended by com.google.zxing.client.android.R.id
+
+
+
Enclosing class:
R
+
+
+
+
public static final class R.id
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intauto_focus + +
+          Messages IDs
+static intback_button + +
+           
+static intbarcode_image_view + +
+           
+static intbookmark_button + +
+           
+static intbookmark_title + +
+           
+static intbookmark_url + +
+           
+static intclipboard_button + +
+           
+static intcontact_button + +
+           
+static intcontents_text_view + +
+           
+static intdecode + +
+           
+static intdecode_failed + +
+           
+static intdecode_succeeded + +
+           
+static intdone_button + +
+           
+static intencode_failed + +
+           
+static intencode_succeeded + +
+           
+static intencode_view + +
+           
+static intformat_text_view + +
+           
+static inthelp_contents + +
+           
+static intimage_view + +
+           
+static intlaunch_product_query + +
+           
+static intpage_number_view + +
+           
+static intpreview_view + +
+           
+static intquery_button + +
+           
+static intquery_text_view + +
+           
+static intquit + +
+           
+static intrestart_preview + +
+           
+static intresult_button_view + +
+           
+static intresult_list_view + +
+           
+static intresult_view + +
+           
+static intreturn_scan_result + +
+           
+static intsearch_book_contents_failed + +
+           
+static intsearch_book_contents_succeeded + +
+           
+static intsnippet_view + +
+           
+static intstatus_text_view + +
+           
+static intstatus_view + +
+           
+static inttype_text_view + +
+           
+static intviewfinder_view + +
+           
+  + + + + + + + + + + +
+Constructor Summary
R.id() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+auto_focus

+
+public static final int auto_focus
+
+
Messages IDs +

+

+
See Also:
Constant Field Values
+
+
+ +

+back_button

+
+public static final int back_button
+
+
+
See Also:
Constant Field Values
+
+
+ +

+barcode_image_view

+
+public static final int barcode_image_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+bookmark_button

+
+public static final int bookmark_button
+
+
+
See Also:
Constant Field Values
+
+
+ +

+bookmark_title

+
+public static final int bookmark_title
+
+
+
See Also:
Constant Field Values
+
+
+ +

+bookmark_url

+
+public static final int bookmark_url
+
+
+
See Also:
Constant Field Values
+
+
+ +

+clipboard_button

+
+public static final int clipboard_button
+
+
+
See Also:
Constant Field Values
+
+
+ +

+contact_button

+
+public static final int contact_button
+
+
+
See Also:
Constant Field Values
+
+
+ +

+contents_text_view

+
+public static final int contents_text_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+decode

+
+public static final int decode
+
+
+
See Also:
Constant Field Values
+
+
+ +

+decode_failed

+
+public static final int decode_failed
+
+
+
See Also:
Constant Field Values
+
+
+ +

+decode_succeeded

+
+public static final int decode_succeeded
+
+
+
See Also:
Constant Field Values
+
+
+ +

+done_button

+
+public static final int done_button
+
+
+
See Also:
Constant Field Values
+
+
+ +

+encode_failed

+
+public static final int encode_failed
+
+
+
See Also:
Constant Field Values
+
+
+ +

+encode_succeeded

+
+public static final int encode_succeeded
+
+
+
See Also:
Constant Field Values
+
+
+ +

+encode_view

+
+public static final int encode_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+format_text_view

+
+public static final int format_text_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+help_contents

+
+public static final int help_contents
+
+
+
See Also:
Constant Field Values
+
+
+ +

+image_view

+
+public static final int image_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+launch_product_query

+
+public static final int launch_product_query
+
+
+
See Also:
Constant Field Values
+
+
+ +

+page_number_view

+
+public static final int page_number_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+preview_view

+
+public static final int preview_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+query_button

+
+public static final int query_button
+
+
+
See Also:
Constant Field Values
+
+
+ +

+query_text_view

+
+public static final int query_text_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+quit

+
+public static final int quit
+
+
+
See Also:
Constant Field Values
+
+
+ +

+restart_preview

+
+public static final int restart_preview
+
+
+
See Also:
Constant Field Values
+
+
+ +

+result_button_view

+
+public static final int result_button_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+result_list_view

+
+public static final int result_list_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+result_view

+
+public static final int result_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+return_scan_result

+
+public static final int return_scan_result
+
+
+
See Also:
Constant Field Values
+
+
+ +

+search_book_contents_failed

+
+public static final int search_book_contents_failed
+
+
+
See Also:
Constant Field Values
+
+
+ +

+search_book_contents_succeeded

+
+public static final int search_book_contents_succeeded
+
+
+
See Also:
Constant Field Values
+
+
+ +

+snippet_view

+
+public static final int snippet_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+status_text_view

+
+public static final int status_text_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+status_view

+
+public static final int status_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+type_text_view

+
+public static final int type_text_view
+
+
+
See Also:
Constant Field Values
+
+
+ +

+viewfinder_view

+
+public static final int viewfinder_view
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+R.id

+
+public R.id()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/R.layout.html b/docs/javadoc/com/google/zxing/client/android/R.layout.html new file mode 100644 index 000000000..d860dd8ea --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/R.layout.html @@ -0,0 +1,387 @@ + + + + + + +R.layout + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class R.layout

+
+java.lang.Object
+  extended by com.google.zxing.client.android.R.layout
+
+
+
Enclosing class:
R
+
+
+
+
public static final class R.layout
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intbookmark_picker_list_item + +
+           
+static intcapture + +
+           
+static intencode + +
+           
+static inthelp + +
+           
+static intsearch_book_contents + +
+           
+static intsearch_book_contents_header + +
+           
+static intsearch_book_contents_list_item + +
+           
+static intshare + +
+           
+  + + + + + + + + + + +
+Constructor Summary
R.layout() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+bookmark_picker_list_item

+
+public static final int bookmark_picker_list_item
+
+
+
See Also:
Constant Field Values
+
+
+ +

+capture

+
+public static final int capture
+
+
+
See Also:
Constant Field Values
+
+
+ +

+encode

+
+public static final int encode
+
+
+
See Also:
Constant Field Values
+
+
+ +

+help

+
+public static final int help
+
+
+
See Also:
Constant Field Values
+
+
+ +

+search_book_contents

+
+public static final int search_book_contents
+
+
+
See Also:
Constant Field Values
+
+
+ +

+search_book_contents_header

+
+public static final int search_book_contents_header
+
+
+
See Also:
Constant Field Values
+
+
+ +

+search_book_contents_list_item

+
+public static final int search_book_contents_list_item
+
+
+
See Also:
Constant Field Values
+
+
+ +

+share

+
+public static final int share
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+R.layout

+
+public R.layout()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/R.raw.html b/docs/javadoc/com/google/zxing/client/android/R.raw.html new file mode 100644 index 000000000..3654bc940 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/R.raw.html @@ -0,0 +1,261 @@ + + + + + + +R.raw + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class R.raw

+
+java.lang.Object
+  extended by com.google.zxing.client.android.R.raw
+
+
+
Enclosing class:
R
+
+
+
+
public static final class R.raw
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static intbeep + +
+           
+  + + + + + + + + + + +
+Constructor Summary
R.raw() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+beep

+
+public static final int beep
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+R.raw

+
+public R.raw()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/R.string.html b/docs/javadoc/com/google/zxing/client/android/R.string.html new file mode 100644 index 000000000..02e9be92e --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/R.string.html @@ -0,0 +1,1683 @@ + + + + + + +R.string + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class R.string

+
+java.lang.Object
+  extended by com.google.zxing.client.android.R.string
+
+
+
Enclosing class:
R
+
+
+
+
public static final class R.string
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intapp_name + +
+           
+static intbookmark_picker_name + +
+           
+static intbutton_add_calendar + +
+           
+static intbutton_add_contact + +
+           
+static intbutton_back + +
+           
+static intbutton_book_search + +
+           
+static intbutton_cancel + +
+           
+static intbutton_clipboard_empty + +
+           
+static intbutton_custom_product_search + +
+           
+static intbutton_dial + +
+           
+static intbutton_done + +
+           
+static intbutton_email + +
+           
+static intbutton_get_directions + +
+           
+static intbutton_mms + +
+           
+static intbutton_ok + +
+           
+static intbutton_open_browser + +
+           
+static intbutton_product_search + +
+           
+static intbutton_search_book_contents + +
+           
+static intbutton_share_bookmark + +
+           
+static intbutton_share_by_email + +
+           
+static intbutton_share_by_sms + +
+           
+static intbutton_share_clipboard + +
+           
+static intbutton_share_contact + +
+           
+static intbutton_show_map + +
+           
+static intbutton_sms + +
+           
+static intbutton_web_search + +
+           
+static intcontents_contact + +
+           
+static intcontents_email + +
+           
+static intcontents_location + +
+           
+static intcontents_phone + +
+           
+static intcontents_sms + +
+           
+static intcontents_text + +
+           
+static intmenu_about + +
+           
+static intmenu_help + +
+           
+static intmenu_settings + +
+           
+static intmenu_share + +
+           
+static intmsg_about + +
+           
+static intmsg_default_contents + +
+           
+static intmsg_default_format + +
+           
+static intmsg_default_mms_subject + +
+           
+static intmsg_default_status + +
+           
+static intmsg_default_type + +
+           
+static intmsg_encode_barcode_failed + +
+           
+static intmsg_encode_contents_failed + +
+           
+static intmsg_encode_in_progress + +
+           
+static intmsg_intent_failed + +
+           
+static intmsg_sbc_book_not_searchable + +
+           
+static intmsg_sbc_failed + +
+           
+static intmsg_sbc_no_page_returned + +
+           
+static intmsg_sbc_page + +
+           
+static intmsg_sbc_searching_book + +
+           
+static intmsg_sbc_snippet_unavailable + +
+           
+static intmsg_sbc_unknown_page + +
+           
+static intmsg_share_explanation + +
+           
+static intmsg_share_subject_line + +
+           
+static intpreferences_actions_title + +
+           
+static intpreferences_copy_to_clipboard_title + +
+           
+static intpreferences_custom_product_search_summary + +
+           
+static intpreferences_custom_product_search_title + +
+           
+static intpreferences_decode_1D_title + +
+           
+static intpreferences_decode_QR_title + +
+           
+static intpreferences_general_title + +
+           
+static intpreferences_name + +
+           
+static intpreferences_play_beep_title + +
+           
+static intpreferences_result_title + +
+           
+static intpreferences_vibrate_title + +
+           
+static intresult_address_book + +
+           
+static intresult_calendar + +
+           
+static intresult_email_address + +
+           
+static intresult_geo + +
+           
+static intresult_isbn + +
+           
+static intresult_product + +
+           
+static intresult_sms + +
+           
+static intresult_tel + +
+           
+static intresult_text + +
+           
+static intresult_uri + +
+           
+static intsbc_name + +
+           
+static intshare_name + +
+           
+static inttitle_about + +
+           
+static intzxing_url + +
+           
+  + + + + + + + + + + +
+Constructor Summary
R.string() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+app_name

+
+public static final int app_name
+
+
+
See Also:
Constant Field Values
+
+
+ +

+bookmark_picker_name

+
+public static final int bookmark_picker_name
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_add_calendar

+
+public static final int button_add_calendar
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_add_contact

+
+public static final int button_add_contact
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_back

+
+public static final int button_back
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_book_search

+
+public static final int button_book_search
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_cancel

+
+public static final int button_cancel
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_clipboard_empty

+
+public static final int button_clipboard_empty
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_custom_product_search

+
+public static final int button_custom_product_search
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_dial

+
+public static final int button_dial
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_done

+
+public static final int button_done
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_email

+
+public static final int button_email
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_get_directions

+
+public static final int button_get_directions
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_mms

+
+public static final int button_mms
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_ok

+
+public static final int button_ok
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_open_browser

+
+public static final int button_open_browser
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_product_search

+
+public static final int button_product_search
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_search_book_contents

+
+public static final int button_search_book_contents
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_share_bookmark

+
+public static final int button_share_bookmark
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_share_by_email

+
+public static final int button_share_by_email
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_share_by_sms

+
+public static final int button_share_by_sms
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_share_clipboard

+
+public static final int button_share_clipboard
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_share_contact

+
+public static final int button_share_contact
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_show_map

+
+public static final int button_show_map
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_sms

+
+public static final int button_sms
+
+
+
See Also:
Constant Field Values
+
+
+ +

+button_web_search

+
+public static final int button_web_search
+
+
+
See Also:
Constant Field Values
+
+
+ +

+contents_contact

+
+public static final int contents_contact
+
+
+
See Also:
Constant Field Values
+
+
+ +

+contents_email

+
+public static final int contents_email
+
+
+
See Also:
Constant Field Values
+
+
+ +

+contents_location

+
+public static final int contents_location
+
+
+
See Also:
Constant Field Values
+
+
+ +

+contents_phone

+
+public static final int contents_phone
+
+
+
See Also:
Constant Field Values
+
+
+ +

+contents_sms

+
+public static final int contents_sms
+
+
+
See Also:
Constant Field Values
+
+
+ +

+contents_text

+
+public static final int contents_text
+
+
+
See Also:
Constant Field Values
+
+
+ +

+menu_about

+
+public static final int menu_about
+
+
+
See Also:
Constant Field Values
+
+
+ +

+menu_help

+
+public static final int menu_help
+
+
+
See Also:
Constant Field Values
+
+
+ +

+menu_settings

+
+public static final int menu_settings
+
+
+
See Also:
Constant Field Values
+
+
+ +

+menu_share

+
+public static final int menu_share
+
+
+
See Also:
Constant Field Values
+
+
+ +

+msg_about

+
+public static final int msg_about
+
+
+
See Also:
Constant Field Values
+
+
+ +

+msg_default_contents

+
+public static final int msg_default_contents
+
+
+
See Also:
Constant Field Values
+
+
+ +

+msg_default_format

+
+public static final int msg_default_format
+
+
+
See Also:
Constant Field Values
+
+
+ +

+msg_default_mms_subject

+
+public static final int msg_default_mms_subject
+
+
+
See Also:
Constant Field Values
+
+
+ +

+msg_default_status

+
+public static final int msg_default_status
+
+
+
See Also:
Constant Field Values
+
+
+ +

+msg_default_type

+
+public static final int msg_default_type
+
+
+
See Also:
Constant Field Values
+
+
+ +

+msg_encode_barcode_failed

+
+public static final int msg_encode_barcode_failed
+
+
+
See Also:
Constant Field Values
+
+
+ +

+msg_encode_contents_failed

+
+public static final int msg_encode_contents_failed
+
+
+
See Also:
Constant Field Values
+
+
+ +

+msg_encode_in_progress

+
+public static final int msg_encode_in_progress
+
+
+
See Also:
Constant Field Values
+
+
+ +

+msg_intent_failed

+
+public static final int msg_intent_failed
+
+
+
See Also:
Constant Field Values
+
+
+ +

+msg_sbc_book_not_searchable

+
+public static final int msg_sbc_book_not_searchable
+
+
+
See Also:
Constant Field Values
+
+
+ +

+msg_sbc_failed

+
+public static final int msg_sbc_failed
+
+
+
See Also:
Constant Field Values
+
+
+ +

+msg_sbc_no_page_returned

+
+public static final int msg_sbc_no_page_returned
+
+
+
See Also:
Constant Field Values
+
+
+ +

+msg_sbc_page

+
+public static final int msg_sbc_page
+
+
+
See Also:
Constant Field Values
+
+
+ +

+msg_sbc_searching_book

+
+public static final int msg_sbc_searching_book
+
+
+
See Also:
Constant Field Values
+
+
+ +

+msg_sbc_snippet_unavailable

+
+public static final int msg_sbc_snippet_unavailable
+
+
+
See Also:
Constant Field Values
+
+
+ +

+msg_sbc_unknown_page

+
+public static final int msg_sbc_unknown_page
+
+
+
See Also:
Constant Field Values
+
+
+ +

+msg_share_explanation

+
+public static final int msg_share_explanation
+
+
+
See Also:
Constant Field Values
+
+
+ +

+msg_share_subject_line

+
+public static final int msg_share_subject_line
+
+
+
See Also:
Constant Field Values
+
+
+ +

+preferences_actions_title

+
+public static final int preferences_actions_title
+
+
+
See Also:
Constant Field Values
+
+
+ +

+preferences_copy_to_clipboard_title

+
+public static final int preferences_copy_to_clipboard_title
+
+
+
See Also:
Constant Field Values
+
+
+ +

+preferences_custom_product_search_summary

+
+public static final int preferences_custom_product_search_summary
+
+
+
See Also:
Constant Field Values
+
+
+ +

+preferences_custom_product_search_title

+
+public static final int preferences_custom_product_search_title
+
+
+
See Also:
Constant Field Values
+
+
+ +

+preferences_decode_1D_title

+
+public static final int preferences_decode_1D_title
+
+
+
See Also:
Constant Field Values
+
+
+ +

+preferences_decode_QR_title

+
+public static final int preferences_decode_QR_title
+
+
+
See Also:
Constant Field Values
+
+
+ +

+preferences_general_title

+
+public static final int preferences_general_title
+
+
+
See Also:
Constant Field Values
+
+
+ +

+preferences_name

+
+public static final int preferences_name
+
+
+
See Also:
Constant Field Values
+
+
+ +

+preferences_play_beep_title

+
+public static final int preferences_play_beep_title
+
+
+
See Also:
Constant Field Values
+
+
+ +

+preferences_result_title

+
+public static final int preferences_result_title
+
+
+
See Also:
Constant Field Values
+
+
+ +

+preferences_vibrate_title

+
+public static final int preferences_vibrate_title
+
+
+
See Also:
Constant Field Values
+
+
+ +

+result_address_book

+
+public static final int result_address_book
+
+
+
See Also:
Constant Field Values
+
+
+ +

+result_calendar

+
+public static final int result_calendar
+
+
+
See Also:
Constant Field Values
+
+
+ +

+result_email_address

+
+public static final int result_email_address
+
+
+
See Also:
Constant Field Values
+
+
+ +

+result_geo

+
+public static final int result_geo
+
+
+
See Also:
Constant Field Values
+
+
+ +

+result_isbn

+
+public static final int result_isbn
+
+
+
See Also:
Constant Field Values
+
+
+ +

+result_product

+
+public static final int result_product
+
+
+
See Also:
Constant Field Values
+
+
+ +

+result_sms

+
+public static final int result_sms
+
+
+
See Also:
Constant Field Values
+
+
+ +

+result_tel

+
+public static final int result_tel
+
+
+
See Also:
Constant Field Values
+
+
+ +

+result_text

+
+public static final int result_text
+
+
+
See Also:
Constant Field Values
+
+
+ +

+result_uri

+
+public static final int result_uri
+
+
+
See Also:
Constant Field Values
+
+
+ +

+sbc_name

+
+public static final int sbc_name
+
+
+
See Also:
Constant Field Values
+
+
+ +

+share_name

+
+public static final int share_name
+
+
+
See Also:
Constant Field Values
+
+
+ +

+title_about

+
+public static final int title_about
+
+
+
See Also:
Constant Field Values
+
+
+ +

+zxing_url

+
+public static final int zxing_url
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+R.string

+
+public R.string()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/R.styleable.html b/docs/javadoc/com/google/zxing/client/android/R.styleable.html new file mode 100644 index 000000000..c4ebb78cb --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/R.styleable.html @@ -0,0 +1,263 @@ + + + + + + +R.styleable + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class R.styleable

+
+java.lang.Object
+  extended by com.google.zxing.client.android.R.styleable
+
+
+
Enclosing class:
R
+
+
+
+
public static final class R.styleable
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static int[]ViewfinderView + +
+          Attributes that can be used with a ViewfinderView.
+  + + + + + + + + + + +
+Constructor Summary
R.styleable() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ViewfinderView

+
+public static final int[] ViewfinderView
+
+
Attributes that can be used with a ViewfinderView. +

+

+
+
+ + + + + + + + +
+Constructor Detail
+ +

+R.styleable

+
+public R.styleable()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/R.xml.html b/docs/javadoc/com/google/zxing/client/android/R.xml.html new file mode 100644 index 000000000..f926c517c --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/R.xml.html @@ -0,0 +1,261 @@ + + + + + + +R.xml + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class R.xml

+
+java.lang.Object
+  extended by com.google.zxing.client.android.R.xml
+
+
+
Enclosing class:
R
+
+
+
+
public static final class R.xml
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static intpreferences + +
+           
+  + + + + + + + + + + +
+Constructor Summary
R.xml() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+preferences

+
+public static final int preferences
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+R.xml

+
+public R.xml()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/SearchBookContentsActivity.html b/docs/javadoc/com/google/zxing/client/android/SearchBookContentsActivity.html new file mode 100644 index 000000000..8affc7586 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/SearchBookContentsActivity.html @@ -0,0 +1,394 @@ + + + + + + +SearchBookContentsActivity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class SearchBookContentsActivity

+
+java.lang.Object
+  extended by android.content.Context
+      extended by android.content.ContextWrapper
+          extended by android.view.ContextThemeWrapper
+              extended by android.app.Activity
+                  extended by com.google.zxing.client.android.SearchBookContentsActivity
+
+
+
All Implemented Interfaces:
android.content.ComponentCallbacks, android.view.KeyEvent.Callback, android.view.LayoutInflater.Factory, android.view.View.OnCreateContextMenuListener, android.view.Window.Callback
+
+
+
+
public final class SearchBookContentsActivity
extends android.app.Activity
+ + +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+ android.os.HandlermHandler + +
+           
+ + + + + + + +
Fields inherited from class android.app.Activity
DEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE, DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL, DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED, RESULT_FIRST_USER, RESULT_OK
+ + + + + + + +
Fields inherited from class android.content.Context
ACTIVITY_SERVICE, ALARM_SERVICE, AUDIO_SERVICE, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, KEYGUARD_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MODE_APPEND, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NOTIFICATION_SERVICE, POWER_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, TELEPHONY_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
+  + + + + + + + + + + +
+Constructor Summary
SearchBookContentsActivity() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidonConfigurationChanged(android.content.res.Configuration config) + +
+           
+ voidonCreate(android.os.Bundle icicle) + +
+           
+protected  voidonResume() + +
+           
+ + + + + + + +
Methods inherited from class android.app.Activity
addContentView, closeOptionsMenu, createPendingResult, dismissDialog, dispatchKeyEvent, dispatchTouchEvent, dispatchTrackballEvent, finalize, findViewById, finish, finishActivity, finishActivityFromChild, finishFromChild, getApplication, getCallingActivity, getCallingPackage, getChangingConfigurations, getComponentName, getCurrentFocus, getInstanceCount, getIntent, getLastNonConfigurationInstance, getLayoutInflater, getLocalClassName, getMenuInflater, getParent, getPreferences, getRequestedOrientation, getSystemService, getTaskId, getTitle, getTitleColor, getVolumeControlStream, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, getWindow, getWindowManager, isChild, isFinishing, isTaskRoot, managedQuery, moveTaskToBack, onActivityResult, onApplyThemeResource, onChildTitleChanged, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateDescription, onCreateDialog, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onCreateThumbnail, onCreateView, onDestroy, onKeyDown, onKeyMultiple, onKeyUp, onLowMemory, onMenuItemSelected, onMenuOpened, onNewIntent, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPause, onPostCreate, onPostResume, onPrepareDialog, onPrepareOptionsMenu, onPreparePanel, onRestart, onRestoreInstanceState, onRetainNonConfigurationInstance, onSaveInstanceState, onSearchRequested, onStart, onStop, onTitleChanged, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, openContextMenu, openOptionsMenu, registerForContextMenu, removeDialog, requestWindowFeature, runOnUiThread, setContentView, setContentView, setContentView, setDefaultKeyMode, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setIntent, setPersistent, setProgress, setProgressBarIndeterminate, setProgressBarIndeterminateVisibility, setProgressBarVisibility, setRequestedOrientation, setResult, setResult, setSecondaryProgress, setTitle, setTitle, setTitleColor, setVolumeControlStream, showDialog, startActivity, startActivityForResult, startActivityFromChild, startActivityIfNeeded, startManagingCursor, startNextMatchingActivity, startSearch, stopManagingCursor, takeKeyEvents, unregisterForContextMenu
+ + + + + + + +
Methods inherited from class android.view.ContextThemeWrapper
attachBaseContext, getTheme, setTheme
+ + + + + + + +
Methods inherited from class android.content.ContextWrapper
bindService, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingPermission, checkCallingUriPermission, checkPermission, checkUriPermission, checkUriPermission, clearWallpaper, createPackageContext, databaseList, deleteDatabase, deleteFile, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getAssets, getBaseContext, getCacheDir, getClassLoader, getContentResolver, getDatabasePath, getDir, getFilesDir, getFileStreamPath, getMainLooper, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getResources, getSharedPreferences, getWallpaper, grantUriPermission, openFileInput, openFileOutput, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, removeStickyBroadcast, revokeUriPermission, sendBroadcast, sendBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendStickyBroadcast, setWallpaper, setWallpaper, startInstrumentation, startService, stopService, unbindService, unregisterReceiver
+ + + + + + + +
Methods inherited from class android.content.Context
getString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+mHandler

+
+public final android.os.Handler mHandler
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+SearchBookContentsActivity

+
+public SearchBookContentsActivity()
+
+
+ + + + + + + + +
+Method Detail
+ +

+onCreate

+
+public void onCreate(android.os.Bundle icicle)
+
+
+
Overrides:
onCreate in class android.app.Activity
+
+
+
+
+
+
+ +

+onResume

+
+protected void onResume()
+
+
+
Overrides:
onResume in class android.app.Activity
+
+
+
+
+
+
+ +

+onConfigurationChanged

+
+public void onConfigurationChanged(android.content.res.Configuration config)
+
+
+
Specified by:
onConfigurationChanged in interface android.content.ComponentCallbacks
Overrides:
onConfigurationChanged in class android.app.Activity
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/SearchBookContentsAdapter.html b/docs/javadoc/com/google/zxing/client/android/SearchBookContentsAdapter.html new file mode 100644 index 000000000..bc7ed4065 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/SearchBookContentsAdapter.html @@ -0,0 +1,300 @@ + + + + + + +SearchBookContentsAdapter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class SearchBookContentsAdapter

+
+java.lang.Object
+  extended by android.widget.BaseAdapter
+      extended by android.widget.ArrayAdapter<SearchBookContentsResult>
+          extended by com.google.zxing.client.android.SearchBookContentsAdapter
+
+
+
All Implemented Interfaces:
android.widget.Adapter, android.widget.Filterable, android.widget.ListAdapter, android.widget.SpinnerAdapter
+
+
+
+
public final class SearchBookContentsAdapter
extends android.widget.ArrayAdapter<SearchBookContentsResult>
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface android.widget.Adapter
IGNORE_ITEM_VIEW_TYPE, NO_SELECTION
+  + + + + + + + + + + +
+Constructor Summary
SearchBookContentsAdapter(android.content.Context context, + java.util.List<SearchBookContentsResult> items) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ android.view.ViewgetView(int position, + android.view.View view, + android.view.ViewGroup viewGroup) + +
+           
+ + + + + + + +
Methods inherited from class android.widget.ArrayAdapter
add, clear, createFromResource, getContext, getCount, getDropDownView, getFilter, getItem, getItemId, getPosition, insert, notifyDataSetChanged, remove, setDropDownViewResource, setNotifyOnChange
+ + + + + + + +
Methods inherited from class android.widget.BaseAdapter
areAllItemsEnabled, getItemViewType, getViewTypeCount, hasStableIds, isEmpty, isEnabled, notifyDataSetInvalidated, registerDataSetObserver, unregisterDataSetObserver
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SearchBookContentsAdapter

+
+public SearchBookContentsAdapter(android.content.Context context,
+                                 java.util.List<SearchBookContentsResult> items)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getView

+
+public android.view.View getView(int position,
+                                 android.view.View view,
+                                 android.view.ViewGroup viewGroup)
+
+
+
Specified by:
getView in interface android.widget.Adapter
Overrides:
getView in class android.widget.ArrayAdapter<SearchBookContentsResult>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/SearchBookContentsListItem.html b/docs/javadoc/com/google/zxing/client/android/SearchBookContentsListItem.html new file mode 100644 index 000000000..654f1721d --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/SearchBookContentsListItem.html @@ -0,0 +1,391 @@ + + + + + + +SearchBookContentsListItem + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class SearchBookContentsListItem

+
+java.lang.Object
+  extended by android.view.View
+      extended by android.view.ViewGroup
+          extended by android.widget.LinearLayout
+              extended by com.google.zxing.client.android.SearchBookContentsListItem
+
+
+
All Implemented Interfaces:
android.graphics.drawable.Drawable.Callback, android.view.KeyEvent.Callback, android.view.ViewManager, android.view.ViewParent
+
+
+
+
public final class SearchBookContentsListItem
extends android.widget.LinearLayout
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class android.widget.LinearLayout
android.widget.LinearLayout.LayoutParams
+  + + + + + + + + +
Nested classes/interfaces inherited from class android.view.ViewGroup
android.view.ViewGroup.MarginLayoutParams, android.view.ViewGroup.OnHierarchyChangeListener
+  + + + + + + + + +
Nested classes/interfaces inherited from class android.view.View
android.view.View.BaseSavedState, android.view.View.MeasureSpec, android.view.View.OnClickListener, android.view.View.OnCreateContextMenuListener, android.view.View.OnFocusChangeListener, android.view.View.OnKeyListener, android.view.View.OnLongClickListener, android.view.View.OnTouchListener
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class android.widget.LinearLayout
HORIZONTAL, VERTICAL
+ + + + + + + +
Fields inherited from class android.view.ViewGroup
CLIP_TO_PADDING_MASK, FLAG_USE_CHILD_DRAWING_ORDER, FOCUS_AFTER_DESCENDANTS, FOCUS_BEFORE_DESCENDANTS, FOCUS_BLOCK_DESCENDANTS, PERSISTENT_ALL_CACHES, PERSISTENT_ANIMATION_CACHE, PERSISTENT_NO_CACHE, PERSISTENT_SCROLLING_CACHE
+ + + + + + + +
Fields inherited from class android.view.View
DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, INVISIBLE, KEEP_SCREEN_ON, NO_ID, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET
+  + + + + + + + + + + +
+Constructor Summary
SearchBookContentsListItem(android.content.Context context, + android.util.AttributeSet attrs) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidonFinishInflate() + +
+           
+ voidset(SearchBookContentsResult result) + +
+           
+ + + + + + + +
Methods inherited from class android.widget.LinearLayout
checkLayoutParams, generateDefaultLayoutParams, generateLayoutParams, generateLayoutParams, getBaseline, getBaselineAlignedChildIndex, getOrientation, getWeightSum, isBaselineAligned, onLayout, onMeasure, setBaselineAligned, setBaselineAlignedChildIndex, setGravity, setHorizontalGravity, setOrientation, setVerticalGravity, setWeightSum
+ + + + + + + +
Methods inherited from class android.view.ViewGroup
addFocusables, addStatesFromChildren, addTouchables, addView, addView, addView, addView, addView, addViewInLayout, addViewInLayout, attachLayoutAnimationParameters, attachViewToParent, bringChildToFront, canAnimate, childDrawableStateChanged, cleanupLayoutState, clearChildFocus, clearDisappearingChildren, clearFocus, debug, detachAllViewsFromParent, detachViewFromParent, detachViewFromParent, detachViewsFromParent, dispatchDraw, dispatchFreezeSelfOnly, dispatchKeyEvent, dispatchRestoreInstanceState, dispatchSaveInstanceState, dispatchSetPressed, dispatchSetSelected, dispatchThawSelfOnly, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchWindowFocusChanged, dispatchWindowVisibilityChanged, drawableStateChanged, drawChild, findFocus, fitSystemWindows, focusableViewAvailable, focusSearch, gatherTransparentRegion, getChildAt, getChildCount, getChildDrawingOrder, getChildMeasureSpec, getChildStaticTransformation, getChildVisibleRect, getDescendantFocusability, getFocusedChild, getLayoutAnimation, getLayoutAnimationListener, getPersistentDrawingCache, hasFocus, hasFocusable, indexOfChild, invalidateChild, invalidateChildInParent, isAlwaysDrawnWithCacheEnabled, isAnimationCacheEnabled, isChildrenDrawnWithCacheEnabled, measureChild, measureChildren, measureChildWithMargins, offsetDescendantRectToMyCoords, offsetRectIntoDescendantCoords, onAnimationEnd, onAnimationStart, onCreateDrawableState, onInterceptTouchEvent, onRequestFocusInDescendants, recomputeViewAttributes, removeAllViews, removeAllViewsInLayout, removeDetachedView, removeView, removeViewAt, removeViewInLayout, removeViews, removeViewsInLayout, requestChildFocus, requestChildRectangleOnScreen, requestDisallowInterceptTouchEvent, requestFocus, requestTransparentRegion, scheduleLayoutAnimation, setAddStatesFromChildren, setAlwaysDrawnWithCacheEnabled, setAnimationCacheEnabled, setChildrenDrawingCacheEnabled, setChildrenDrawnWithCacheEnabled, setClipChildren, setClipToPadding, setDescendantFocusability, setLayoutAnimation, setLayoutAnimationListener, setOnHierarchyChangeListener, setPadding, setPersistentDrawingCache, showContextMenuForChild, startLayoutAnimation, updateViewLayout
+ + + + + + + +
Methods inherited from class android.view.View
bringToFront, buildDrawingCache, cancelLongPress, clearAnimation, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeScroll, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, createContextMenu, destroyDrawingCache, dispatchKeyShortcutEvent, draw, finalize, findViewById, findViewWithTag, focusSearch, forceLayout, getAnimation, getApplicationWindowToken, getBackground, getBottom, getBottomFadingEdgeStrength, getBottomPaddingOffset, getContext, getContextMenuInfo, getDefaultSize, getDrawableState, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getFocusables, getFocusedRect, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHeight, getHitRect, getHorizontalFadingEdgeLength, getHorizontalScrollbarHeight, getId, getKeepScreenOn, getLayoutParams, getLeft, getLeftFadingEdgeStrength, getLeftPaddingOffset, getLocalVisibleRect, getLocationInWindow, getLocationOnScreen, getMeasuredHeight, getMeasuredWidth, getNextFocusDownId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getParent, getResources, getRight, getRightFadingEdgeStrength, getRightPaddingOffset, getRootView, getScrollBarStyle, getScrollX, getScrollY, getSolidColor, getSuggestedMinimumHeight, getSuggestedMinimumWidth, getTag, getTop, getTopFadingEdgeStrength, getTopPaddingOffset, getTouchables, getTouchDelegate, getVerticalFadingEdgeLength, getVerticalScrollbarWidth, getViewTreeObserver, getVisibility, getWidth, getWindowAttachCount, getWindowToken, getWindowVisibility, hasWindowFocus, inflate, initializeFadingEdge, initializeScrollbars, invalidate, invalidate, invalidate, invalidateDrawable, isClickable, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isInTouchMode, isLayoutRequested, isLongClickable, isPaddingOffsetRequired, isPressed, isSaveEnabled, isSelected, isShown, isSoundEffectsEnabled, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, layout, measure, mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom, onAttachedToWindow, onCreateContextMenu, onDetachedFromWindow, onDraw, onFocusChanged, onKeyDown, onKeyMultiple, onKeyShortcut, onKeyUp, onRestoreInstanceState, onSaveInstanceState, onScrollChanged, onSetAlpha, onSizeChanged, onTouchEvent, onTrackballEvent, onWindowFocusChanged, onWindowVisibilityChanged, performClick, performLongClick, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, refreshDrawableState, removeCallbacks, requestFocus, requestFocus, requestFocusFromTouch, requestLayout, requestRectangleOnScreen, requestRectangleOnScreen, resolveSize, restoreHierarchyState, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, setAnimation, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setClickable, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setEnabled, setFadingEdgeLength, setFocusable, setFocusableInTouchMode, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setId, setKeepScreenOn, setLayoutParams, setLongClickable, setMeasuredDimension, setMinimumHeight, setMinimumWidth, setNextFocusDownId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnClickListener, setOnCreateContextMenuListener, setOnFocusChangeListener, setOnKeyListener, setOnLongClickListener, setOnTouchListener, setPressed, setSaveEnabled, setScrollBarStyle, setSelected, setSoundEffectsEnabled, setTag, setTouchDelegate, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVisibility, setWillNotCacheDrawing, setWillNotDraw, showContextMenu, startAnimation, unscheduleDrawable, unscheduleDrawable, verifyDrawable, willNotCacheDrawing, willNotDraw
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface android.view.ViewParent
createContextMenu, getParent, isLayoutRequested, requestLayout
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SearchBookContentsListItem

+
+public SearchBookContentsListItem(android.content.Context context,
+                                  android.util.AttributeSet attrs)
+
+
+ + + + + + + + +
+Method Detail
+ +

+onFinishInflate

+
+protected void onFinishInflate()
+
+
+
Overrides:
onFinishInflate in class android.view.View
+
+
+
+
+
+
+ +

+set

+
+public void set(SearchBookContentsResult result)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/SearchBookContentsResult.html b/docs/javadoc/com/google/zxing/client/android/SearchBookContentsResult.html new file mode 100644 index 000000000..18d2cda6f --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/SearchBookContentsResult.html @@ -0,0 +1,330 @@ + + + + + + +SearchBookContentsResult + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class SearchBookContentsResult

+
+java.lang.Object
+  extended by com.google.zxing.client.android.SearchBookContentsResult
+
+
+
+
public final class SearchBookContentsResult
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SearchBookContentsResult(java.lang.String pageNumber, + java.lang.String snippet, + boolean validSnippet) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetPageNumber() + +
+           
+static java.lang.StringgetQuery() + +
+           
+ java.lang.StringgetSnippet() + +
+           
+ booleangetValidSnippet() + +
+           
+static voidsetQuery(java.lang.String query) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SearchBookContentsResult

+
+public SearchBookContentsResult(java.lang.String pageNumber,
+                                java.lang.String snippet,
+                                boolean validSnippet)
+
+
+ + + + + + + + +
+Method Detail
+ +

+setQuery

+
+public static void setQuery(java.lang.String query)
+
+
+
+
+
+
+ +

+getPageNumber

+
+public java.lang.String getPageNumber()
+
+
+
+
+
+
+ +

+getSnippet

+
+public java.lang.String getSnippet()
+
+
+
+
+
+
+ +

+getValidSnippet

+
+public boolean getValidSnippet()
+
+
+
+
+
+
+ +

+getQuery

+
+public static java.lang.String getQuery()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/ShareActivity.html b/docs/javadoc/com/google/zxing/client/android/ShareActivity.html new file mode 100644 index 000000000..26edba215 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/ShareActivity.html @@ -0,0 +1,371 @@ + + + + + + +ShareActivity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class ShareActivity

+
+java.lang.Object
+  extended by android.content.Context
+      extended by android.content.ContextWrapper
+          extended by android.view.ContextThemeWrapper
+              extended by android.app.Activity
+                  extended by com.google.zxing.client.android.ShareActivity
+
+
+
All Implemented Interfaces:
android.content.ComponentCallbacks, android.view.KeyEvent.Callback, android.view.LayoutInflater.Factory, android.view.View.OnCreateContextMenuListener, android.view.Window.Callback
+
+
+
+
public final class ShareActivity
extends android.app.Activity
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class android.app.Activity
DEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE, DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL, DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED, RESULT_FIRST_USER, RESULT_OK
+ + + + + + + +
Fields inherited from class android.content.Context
ACTIVITY_SERVICE, ALARM_SERVICE, AUDIO_SERVICE, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, KEYGUARD_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MODE_APPEND, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NOTIFICATION_SERVICE, POWER_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, TELEPHONY_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
+  + + + + + + + + + + +
+Constructor Summary
ShareActivity() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidonActivityResult(int requestCode, + int resultCode, + android.content.Intent intent) + +
+           
+ voidonCreate(android.os.Bundle icicle) + +
+           
+protected  voidonResume() + +
+           
+ + + + + + + +
Methods inherited from class android.app.Activity
addContentView, closeOptionsMenu, createPendingResult, dismissDialog, dispatchKeyEvent, dispatchTouchEvent, dispatchTrackballEvent, finalize, findViewById, finish, finishActivity, finishActivityFromChild, finishFromChild, getApplication, getCallingActivity, getCallingPackage, getChangingConfigurations, getComponentName, getCurrentFocus, getInstanceCount, getIntent, getLastNonConfigurationInstance, getLayoutInflater, getLocalClassName, getMenuInflater, getParent, getPreferences, getRequestedOrientation, getSystemService, getTaskId, getTitle, getTitleColor, getVolumeControlStream, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, getWindow, getWindowManager, isChild, isFinishing, isTaskRoot, managedQuery, moveTaskToBack, onApplyThemeResource, onChildTitleChanged, onConfigurationChanged, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateDescription, onCreateDialog, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onCreateThumbnail, onCreateView, onDestroy, onKeyDown, onKeyMultiple, onKeyUp, onLowMemory, onMenuItemSelected, onMenuOpened, onNewIntent, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPause, onPostCreate, onPostResume, onPrepareDialog, onPrepareOptionsMenu, onPreparePanel, onRestart, onRestoreInstanceState, onRetainNonConfigurationInstance, onSaveInstanceState, onSearchRequested, onStart, onStop, onTitleChanged, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, openContextMenu, openOptionsMenu, registerForContextMenu, removeDialog, requestWindowFeature, runOnUiThread, setContentView, setContentView, setContentView, setDefaultKeyMode, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setIntent, setPersistent, setProgress, setProgressBarIndeterminate, setProgressBarIndeterminateVisibility, setProgressBarVisibility, setRequestedOrientation, setResult, setResult, setSecondaryProgress, setTitle, setTitle, setTitleColor, setVolumeControlStream, showDialog, startActivity, startActivityForResult, startActivityFromChild, startActivityIfNeeded, startManagingCursor, startNextMatchingActivity, startSearch, stopManagingCursor, takeKeyEvents, unregisterForContextMenu
+ + + + + + + +
Methods inherited from class android.view.ContextThemeWrapper
attachBaseContext, getTheme, setTheme
+ + + + + + + +
Methods inherited from class android.content.ContextWrapper
bindService, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingPermission, checkCallingUriPermission, checkPermission, checkUriPermission, checkUriPermission, clearWallpaper, createPackageContext, databaseList, deleteDatabase, deleteFile, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getAssets, getBaseContext, getCacheDir, getClassLoader, getContentResolver, getDatabasePath, getDir, getFilesDir, getFileStreamPath, getMainLooper, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getResources, getSharedPreferences, getWallpaper, grantUriPermission, openFileInput, openFileOutput, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, removeStickyBroadcast, revokeUriPermission, sendBroadcast, sendBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendStickyBroadcast, setWallpaper, setWallpaper, startInstrumentation, startService, stopService, unbindService, unregisterReceiver
+ + + + + + + +
Methods inherited from class android.content.Context
getString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ShareActivity

+
+public ShareActivity()
+
+
+ + + + + + + + +
+Method Detail
+ +

+onCreate

+
+public void onCreate(android.os.Bundle icicle)
+
+
+
Overrides:
onCreate in class android.app.Activity
+
+
+
+
+
+
+ +

+onResume

+
+protected void onResume()
+
+
+
Overrides:
onResume in class android.app.Activity
+
+
+
+
+
+
+ +

+onActivityResult

+
+public void onActivityResult(int requestCode,
+                             int resultCode,
+                             android.content.Intent intent)
+
+
+
Overrides:
onActivityResult in class android.app.Activity
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/ViewfinderView.html b/docs/javadoc/com/google/zxing/client/android/ViewfinderView.html new file mode 100644 index 000000000..50711c7f2 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/ViewfinderView.html @@ -0,0 +1,350 @@ + + + + + + +ViewfinderView + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class ViewfinderView

+
+java.lang.Object
+  extended by android.view.View
+      extended by com.google.zxing.client.android.ViewfinderView
+
+
+
All Implemented Interfaces:
android.graphics.drawable.Drawable.Callback, android.view.KeyEvent.Callback
+
+
+
+
public final class ViewfinderView
extends android.view.View
+ + +

+This view is overlaid on top of the camera preview. It adds the viewfinder rectangle and partial + transparency outside it, as well as the laser scanner animation and result points. +

+ +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class android.view.View
android.view.View.BaseSavedState, android.view.View.MeasureSpec, android.view.View.OnClickListener, android.view.View.OnCreateContextMenuListener, android.view.View.OnFocusChangeListener, android.view.View.OnKeyListener, android.view.View.OnLongClickListener, android.view.View.OnTouchListener
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class android.view.View
DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, INVISIBLE, KEEP_SCREEN_ON, NO_ID, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET
+  + + + + + + + + + + +
+Constructor Summary
ViewfinderView(android.content.Context context, + android.util.AttributeSet attrs) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddrawResultBitmap(android.graphics.Bitmap barcode) + +
+          Draw a bitmap with the result points highlighted instead of the live scanning display.
+ voiddrawViewfinder() + +
+           
+ voidonDraw(android.graphics.Canvas canvas) + +
+           
+ + + + + + + +
Methods inherited from class android.view.View
addFocusables, addTouchables, bringToFront, buildDrawingCache, cancelLongPress, clearAnimation, clearFocus, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeScroll, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, createContextMenu, destroyDrawingCache, dispatchDraw, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchRestoreInstanceState, dispatchSaveInstanceState, dispatchSetPressed, dispatchSetSelected, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchWindowFocusChanged, dispatchWindowVisibilityChanged, draw, drawableStateChanged, finalize, findFocus, findViewById, findViewWithTag, fitSystemWindows, focusSearch, forceLayout, getAnimation, getApplicationWindowToken, getBackground, getBaseline, getBottom, getBottomFadingEdgeStrength, getBottomPaddingOffset, getContext, getContextMenuInfo, getDefaultSize, getDrawableState, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getFocusables, getFocusedRect, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHeight, getHitRect, getHorizontalFadingEdgeLength, getHorizontalScrollbarHeight, getId, getKeepScreenOn, getLayoutParams, getLeft, getLeftFadingEdgeStrength, getLeftPaddingOffset, getLocalVisibleRect, getLocationInWindow, getLocationOnScreen, getMeasuredHeight, getMeasuredWidth, getNextFocusDownId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getParent, getResources, getRight, getRightFadingEdgeStrength, getRightPaddingOffset, getRootView, getScrollBarStyle, getScrollX, getScrollY, getSolidColor, getSuggestedMinimumHeight, getSuggestedMinimumWidth, getTag, getTop, getTopFadingEdgeStrength, getTopPaddingOffset, getTouchables, getTouchDelegate, getVerticalFadingEdgeLength, getVerticalScrollbarWidth, getViewTreeObserver, getVisibility, getWidth, getWindowAttachCount, getWindowToken, getWindowVisibility, hasFocus, hasFocusable, hasWindowFocus, inflate, initializeFadingEdge, initializeScrollbars, invalidate, invalidate, invalidate, invalidateDrawable, isClickable, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isInTouchMode, isLayoutRequested, isLongClickable, isPaddingOffsetRequired, isPressed, isSaveEnabled, isSelected, isShown, isSoundEffectsEnabled, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, layout, measure, mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom, onAnimationEnd, onAnimationStart, onAttachedToWindow, onCreateContextMenu, onCreateDrawableState, onDetachedFromWindow, onFinishInflate, onFocusChanged, onKeyDown, onKeyMultiple, onKeyShortcut, onKeyUp, onLayout, onMeasure, onRestoreInstanceState, onSaveInstanceState, onScrollChanged, onSetAlpha, onSizeChanged, onTouchEvent, onTrackballEvent, onWindowFocusChanged, onWindowVisibilityChanged, performClick, performLongClick, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, refreshDrawableState, removeCallbacks, requestFocus, requestFocus, requestFocus, requestFocusFromTouch, requestLayout, requestRectangleOnScreen, requestRectangleOnScreen, resolveSize, restoreHierarchyState, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, setAnimation, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setClickable, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setEnabled, setFadingEdgeLength, setFocusable, setFocusableInTouchMode, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setId, setKeepScreenOn, setLayoutParams, setLongClickable, setMeasuredDimension, setMinimumHeight, setMinimumWidth, setNextFocusDownId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnClickListener, setOnCreateContextMenuListener, setOnFocusChangeListener, setOnKeyListener, setOnLongClickListener, setOnTouchListener, setPadding, setPressed, setSaveEnabled, setScrollBarStyle, setSelected, setSoundEffectsEnabled, setTag, setTouchDelegate, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVisibility, setWillNotCacheDrawing, setWillNotDraw, showContextMenu, startAnimation, unscheduleDrawable, unscheduleDrawable, verifyDrawable, willNotCacheDrawing, willNotDraw
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ViewfinderView

+
+public ViewfinderView(android.content.Context context,
+                      android.util.AttributeSet attrs)
+
+
+ + + + + + + + +
+Method Detail
+ +

+onDraw

+
+public void onDraw(android.graphics.Canvas canvas)
+
+
+
Overrides:
onDraw in class android.view.View
+
+
+
+
+
+
+ +

+drawViewfinder

+
+public void drawViewfinder()
+
+
+
+
+
+
+ +

+drawResultBitmap

+
+public void drawResultBitmap(android.graphics.Bitmap barcode)
+
+
Draw a bitmap with the result points highlighted instead of the live scanning display. +

+

+
Parameters:
barcode - An image of the decoded barcode.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/YUVMonochromeBitmapSource.html b/docs/javadoc/com/google/zxing/client/android/YUVMonochromeBitmapSource.html new file mode 100644 index 000000000..3a7670f3a --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/YUVMonochromeBitmapSource.html @@ -0,0 +1,429 @@ + + + + + + +YUVMonochromeBitmapSource + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android +
+Class YUVMonochromeBitmapSource

+
+java.lang.Object
+  extended by com.google.zxing.common.BaseMonochromeBitmapSource
+      extended by com.google.zxing.client.android.YUVMonochromeBitmapSource
+
+
+
All Implemented Interfaces:
MonochromeBitmapSource
+
+
+
+
public final class YUVMonochromeBitmapSource
extends BaseMonochromeBitmapSource
+ + +

+This object implements MonochromeBitmapSource around an array of YUV data, giving you the option + to crop to a rectangle within the full data. This can be used to exclude superfluous pixels + around the perimeter and speed up decoding. +

+ +

+

+
Author:
+
Sean Owen, Daniel Switkin
+
+
+ +

+ + + + + + + + + + + + + + + + + +
+Constructor Summary
YUVMonochromeBitmapSource(byte[] yuvData, + int dataWidth, + int dataHeight) + +
+          Builds an object around a YUV buffer from the camera.
YUVMonochromeBitmapSource(byte[] yuvData, + int dataWidth, + int dataHeight, + int cropTop, + int cropLeft, + int cropBottom, + int cropRight) + +
+          Builds an object around a YUV buffer from the camera.
YUVMonochromeBitmapSource(byte[] yuvData, + int dataWidth, + int dataHeight, + android.graphics.Rect crop) + +
+          Builds an object around a YUV buffer from the camera.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetLuminance(int x, + int y) + +
+          The Y channel is stored as planar data at the head of the array, so we just ignore the + interleaved U and V which follow it.
+ int[]getLuminanceColumn(int x, + int[] column) + +
+          The same as getLuminanceRow(), but for columns.
+ int[]getLuminanceRow(int y, + int[] row) + +
+          This is the main mechanism for retrieving luminance data.
+ android.graphics.BitmaprenderToBitmap() + +
+          Create a greyscale Android Bitmap from the YUV data based on the crop rectangle.
+ + + + + + + +
Methods inherited from class com.google.zxing.common.BaseMonochromeBitmapSource
estimateBlackPoint, getBlackColumn, getBlackDiagonal, getBlackRow, getHeight, getLastEstimationMethod, getWidth, isBlack, isRotateSupported, rotateCounterClockwise, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+YUVMonochromeBitmapSource

+
+public YUVMonochromeBitmapSource(byte[] yuvData,
+                                 int dataWidth,
+                                 int dataHeight)
+
+
Builds an object around a YUV buffer from the camera. The image is not cropped. +

+

+
Parameters:
yuvData - A byte array of planar Y data, followed by interleaved U and V
dataWidth - The width of the Y data
dataHeight - The height of the Y data
+
+
+ +

+YUVMonochromeBitmapSource

+
+public YUVMonochromeBitmapSource(byte[] yuvData,
+                                 int dataWidth,
+                                 int dataHeight,
+                                 android.graphics.Rect crop)
+
+
Builds an object around a YUV buffer from the camera. THe image is cropped and only + that part of the image is evaluated. +

+

+
Parameters:
yuvData - A byte array of planar Y data, followed by interleaved U and V
dataWidth - The width of the Y data
dataHeight - The height of the Y data
crop - The rectangle within the yuvData to expose to MonochromeBitmapSource users
+
+
+ +

+YUVMonochromeBitmapSource

+
+public YUVMonochromeBitmapSource(byte[] yuvData,
+                                 int dataWidth,
+                                 int dataHeight,
+                                 int cropTop,
+                                 int cropLeft,
+                                 int cropBottom,
+                                 int cropRight)
+
+
Builds an object around a YUV buffer from the camera. The image is cropped and only + that part of the image is evaluated. +

+

+
Parameters:
yuvData - A byte array of planar Y data, followed by interleaved U and V
dataWidth - The width of the Y data
dataHeight - The height of the Y data
cropTop - Top coordinate of rectangle to crop
cropLeft - Left coordinate of rectangle to crop
cropBottom - Bottom coordinate of rectangle to crop
cropRight - Right coordinate of rectangle to crop
+
+ + + + + + + + +
+Method Detail
+ +

+getLuminance

+
+public int getLuminance(int x,
+                        int y)
+
+
The Y channel is stored as planar data at the head of the array, so we just ignore the + interleaved U and V which follow it. +

+

+
Specified by:
getLuminance in interface MonochromeBitmapSource
Specified by:
getLuminance in class BaseMonochromeBitmapSource
+
+
+
Parameters:
x - The x coordinate to fetch within crop
y - The y coordinate to fetch within crop +
Returns:
The luminance as an int, from 0-255
+
+
+
+ +

+getLuminanceRow

+
+public int[] getLuminanceRow(int y,
+                             int[] row)
+
+
Description copied from class: BaseMonochromeBitmapSource
+
This is the main mechanism for retrieving luminance data. It is dramatically more efficient + than repeatedly calling getLuminance(). As above, this is not meant for decoders. +

+

+
Specified by:
getLuminanceRow in interface MonochromeBitmapSource
Specified by:
getLuminanceRow in class BaseMonochromeBitmapSource
+
+
+
Parameters:
y - The row to fetch
row - The array to write luminance values into. It is strongly suggested that you + allocate this yourself, making sure row.length >= getWidth(), and reuse the same + array on subsequent calls for performance. If you pass null, you will be flogged, + but then I will take pity on you and allocate a sufficient array internally. +
Returns:
The array containing the luminance data. This is the same as row if it was usable.
+
+
+
+ +

+getLuminanceColumn

+
+public int[] getLuminanceColumn(int x,
+                                int[] column)
+
+
Description copied from class: BaseMonochromeBitmapSource
+
The same as getLuminanceRow(), but for columns. +

+

+
Specified by:
getLuminanceColumn in interface MonochromeBitmapSource
Specified by:
getLuminanceColumn in class BaseMonochromeBitmapSource
+
+
+
Parameters:
x - The column to fetch
column - The array to write luminance values into. See above. +
Returns:
The array containing the luminance data.
+
+
+
+ +

+renderToBitmap

+
+public android.graphics.Bitmap renderToBitmap()
+
+
Create a greyscale Android Bitmap from the YUV data based on the crop rectangle. +

+

+ +
Returns:
An 8888 bitmap.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/package-frame.html b/docs/javadoc/com/google/zxing/client/android/package-frame.html new file mode 100644 index 000000000..cc3fd7987 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/package-frame.html @@ -0,0 +1,98 @@ + + + + + + +com.google.zxing.client.android + + + + + + + + + + + +com.google.zxing.client.android + + + + +
+Classes  + +
+AndroidHttpClient +
+BookmarkPickerActivity +
+CaptureActivity +
+CaptureActivityHandler +
+Contents +
+Contents.Format +
+Contents.Type +
+EncodeActivity +
+HelpActivity +
+Intents +
+Intents.Encode +
+Intents.Scan +
+Intents.SearchBookContents +
+Intents.Share +
+LocaleManager +
+PreferencesActivity +
+QRCodeEncoder +
+R +
+R.attr +
+R.color +
+R.drawable +
+R.id +
+R.layout +
+R.raw +
+R.string +
+R.styleable +
+R.xml +
+SearchBookContentsActivity +
+SearchBookContentsAdapter +
+SearchBookContentsListItem +
+SearchBookContentsResult +
+ShareActivity +
+ViewfinderView +
+YUVMonochromeBitmapSource
+ + + + diff --git a/docs/javadoc/com/google/zxing/client/android/package-summary.html b/docs/javadoc/com/google/zxing/client/android/package-summary.html new file mode 100644 index 000000000..f8e79e65d --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/package-summary.html @@ -0,0 +1,292 @@ + + + + + + +com.google.zxing.client.android + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.client.android +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AndroidHttpClientSubclass of the Apache DefaultHttpClient that is configured with + reasonable default settings and registered schemes for Android, and + also lets the user add HttpRequestInterceptor classes.
BookmarkPickerActivityThis class is only needed because I can't successfully send an ACTION_PICK intent to + com.android.browser.BrowserBookmarksPage.
CaptureActivityThe barcode reader activity itself.
CaptureActivityHandlerThis class handles all the messaging which comprises the state machine for capture.
Contents 
Contents.FormatAll the formats we know about.
Contents.Type 
EncodeActivityThis class encodes data from an Intent into a QR code, and then displays it full screen so that + another person can scan it with their device.
HelpActivity 
Intents 
Intents.Encode 
Intents.Scan 
Intents.SearchBookContents 
Intents.Share 
LocaleManagerHandles any locale-specific logic for the client.
PreferencesActivity 
QRCodeEncoder 
R 
R.attr 
R.color 
R.drawable 
R.id 
R.layout 
R.raw 
R.string 
R.styleable 
R.xml 
SearchBookContentsActivity 
SearchBookContentsAdapter 
SearchBookContentsListItem 
SearchBookContentsResult 
ShareActivity 
ViewfinderViewThis view is overlaid on top of the camera preview.
YUVMonochromeBitmapSourceThis object implements MonochromeBitmapSource around an array of YUV data, giving you the option + to crop to a rectangle within the full data.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/package-tree.html b/docs/javadoc/com/google/zxing/client/android/package-tree.html new file mode 100644 index 000000000..745fd60ac --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/package-tree.html @@ -0,0 +1,186 @@ + + + + + + +com.google.zxing.client.android Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.client.android +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/result/AddressBookResultHandler.html b/docs/javadoc/com/google/zxing/client/android/result/AddressBookResultHandler.html new file mode 100644 index 000000000..258b295ab --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/result/AddressBookResultHandler.html @@ -0,0 +1,390 @@ + + + + + + +AddressBookResultHandler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android.result +
+Class AddressBookResultHandler

+
+java.lang.Object
+  extended by com.google.zxing.client.android.result.ResultHandler
+      extended by com.google.zxing.client.android.result.AddressBookResultHandler
+
+
+
+
public final class AddressBookResultHandler
extends ResultHandler
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class com.google.zxing.client.android.result.ResultHandler
MAX_BUTTON_COUNT, mResult
+  + + + + + + + + + + +
+Constructor Summary
AddressBookResultHandler(android.app.Activity activity, + ParsedResult result) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetButtonCount() + +
+          Indicates how many buttons the derived class wants shown.
+ intgetButtonText(int index) + +
+          The text of the nth action button.
+ java.lang.CharSequencegetDisplayContents() + +
+          Create a possibly styled string for the contents of the current barcode.
+ intgetDisplayTitle() + +
+          A string describing the kind of barcode that was found, e.g.
+ voidhandleButtonPress(int index) + +
+          Execute the action which corresponds to the nth button.
+ + + + + + + +
Methods inherited from class com.google.zxing.client.android.result.ResultHandler
addCalendarEvent, addContact, dialPhone, dialPhoneFromUri, getDirections, getType, openBookSearch, openMap, openProductSearch, openURL, searchBookContents, searchMap, sendEmail, sendEmailFromUri, sendMMS, sendMMSFromUri, sendSMS, sendSMSFromUri, shareByEmail, shareBySMS, webSearch
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AddressBookResultHandler

+
+public AddressBookResultHandler(android.app.Activity activity,
+                                ParsedResult result)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getButtonCount

+
+public int getButtonCount()
+
+
Description copied from class: ResultHandler
+
Indicates how many buttons the derived class wants shown. +

+

+
Specified by:
getButtonCount in class ResultHandler
+
+
+ +
Returns:
The integer button count.
+
+
+
+ +

+getButtonText

+
+public int getButtonText(int index)
+
+
Description copied from class: ResultHandler
+
The text of the nth action button. +

+

+
Specified by:
getButtonText in class ResultHandler
+
+
+
Parameters:
index - From 0 to getButtonCount() - 1 +
Returns:
The button text as a resource ID
+
+
+
+ +

+handleButtonPress

+
+public void handleButtonPress(int index)
+
+
Description copied from class: ResultHandler
+
Execute the action which corresponds to the nth button. +

+

+
Specified by:
handleButtonPress in class ResultHandler
+
+
+
Parameters:
index - The button that was clicked.
+
+
+
+ +

+getDisplayContents

+
+public java.lang.CharSequence getDisplayContents()
+
+
Description copied from class: ResultHandler
+
Create a possibly styled string for the contents of the current barcode. +

+

+
Overrides:
getDisplayContents in class ResultHandler
+
+
+ +
Returns:
The text to be displayed.
+
+
+
+ +

+getDisplayTitle

+
+public int getDisplayTitle()
+
+
Description copied from class: ResultHandler
+
A string describing the kind of barcode that was found, e.g. "Found contact info". +

+

+
Specified by:
getDisplayTitle in class ResultHandler
+
+
+ +
Returns:
The resource ID of the string.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/result/AndroidIntentParsedResult.html b/docs/javadoc/com/google/zxing/client/android/result/AndroidIntentParsedResult.html new file mode 100644 index 000000000..7edd1b027 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/result/AndroidIntentParsedResult.html @@ -0,0 +1,273 @@ + + + + + + +AndroidIntentParsedResult + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android.result +
+Class AndroidIntentParsedResult

+
+java.lang.Object
+  extended by com.google.zxing.client.result.ParsedResult
+      extended by com.google.zxing.client.android.result.AndroidIntentParsedResult
+
+
+
+
public final class AndroidIntentParsedResult
extends ParsedResult
+ + +

+A ParsedResult derived from a URI that encodes an Android + Intent, and which should presumably trigger that intent on Android. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetDisplayResult() + +
+           
+ android.content.IntentgetIntent() + +
+           
+static AndroidIntentParsedResultparse(java.lang.String rawText) + +
+           
+ + + + + + + +
Methods inherited from class com.google.zxing.client.result.ParsedResult
getType, maybeAppend, maybeAppend, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+parse

+
+public static AndroidIntentParsedResult parse(java.lang.String rawText)
+
+
+
+
+
+
+ +

+getIntent

+
+public android.content.Intent getIntent()
+
+
+
+
+
+
+ +

+getDisplayResult

+
+public java.lang.String getDisplayResult()
+
+
+
Specified by:
getDisplayResult in class ParsedResult
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/result/CalendarResultHandler.html b/docs/javadoc/com/google/zxing/client/android/result/CalendarResultHandler.html new file mode 100644 index 000000000..62cb9c907 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/result/CalendarResultHandler.html @@ -0,0 +1,390 @@ + + + + + + +CalendarResultHandler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android.result +
+Class CalendarResultHandler

+
+java.lang.Object
+  extended by com.google.zxing.client.android.result.ResultHandler
+      extended by com.google.zxing.client.android.result.CalendarResultHandler
+
+
+
+
public final class CalendarResultHandler
extends ResultHandler
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class com.google.zxing.client.android.result.ResultHandler
MAX_BUTTON_COUNT, mResult
+  + + + + + + + + + + +
+Constructor Summary
CalendarResultHandler(android.app.Activity activity, + ParsedResult result) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetButtonCount() + +
+          Indicates how many buttons the derived class wants shown.
+ intgetButtonText(int index) + +
+          The text of the nth action button.
+ java.lang.CharSequencegetDisplayContents() + +
+          Create a possibly styled string for the contents of the current barcode.
+ intgetDisplayTitle() + +
+          A string describing the kind of barcode that was found, e.g.
+ voidhandleButtonPress(int index) + +
+          Execute the action which corresponds to the nth button.
+ + + + + + + +
Methods inherited from class com.google.zxing.client.android.result.ResultHandler
addCalendarEvent, addContact, dialPhone, dialPhoneFromUri, getDirections, getType, openBookSearch, openMap, openProductSearch, openURL, searchBookContents, searchMap, sendEmail, sendEmailFromUri, sendMMS, sendMMSFromUri, sendSMS, sendSMSFromUri, shareByEmail, shareBySMS, webSearch
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CalendarResultHandler

+
+public CalendarResultHandler(android.app.Activity activity,
+                             ParsedResult result)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getButtonCount

+
+public int getButtonCount()
+
+
Description copied from class: ResultHandler
+
Indicates how many buttons the derived class wants shown. +

+

+
Specified by:
getButtonCount in class ResultHandler
+
+
+ +
Returns:
The integer button count.
+
+
+
+ +

+getButtonText

+
+public int getButtonText(int index)
+
+
Description copied from class: ResultHandler
+
The text of the nth action button. +

+

+
Specified by:
getButtonText in class ResultHandler
+
+
+
Parameters:
index - From 0 to getButtonCount() - 1 +
Returns:
The button text as a resource ID
+
+
+
+ +

+handleButtonPress

+
+public void handleButtonPress(int index)
+
+
Description copied from class: ResultHandler
+
Execute the action which corresponds to the nth button. +

+

+
Specified by:
handleButtonPress in class ResultHandler
+
+
+
Parameters:
index - The button that was clicked.
+
+
+
+ +

+getDisplayContents

+
+public java.lang.CharSequence getDisplayContents()
+
+
Description copied from class: ResultHandler
+
Create a possibly styled string for the contents of the current barcode. +

+

+
Overrides:
getDisplayContents in class ResultHandler
+
+
+ +
Returns:
The text to be displayed.
+
+
+
+ +

+getDisplayTitle

+
+public int getDisplayTitle()
+
+
Description copied from class: ResultHandler
+
A string describing the kind of barcode that was found, e.g. "Found contact info". +

+

+
Specified by:
getDisplayTitle in class ResultHandler
+
+
+ +
Returns:
The resource ID of the string.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/result/EmailAddressResultHandler.html b/docs/javadoc/com/google/zxing/client/android/result/EmailAddressResultHandler.html new file mode 100644 index 000000000..c53d88c37 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/result/EmailAddressResultHandler.html @@ -0,0 +1,364 @@ + + + + + + +EmailAddressResultHandler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android.result +
+Class EmailAddressResultHandler

+
+java.lang.Object
+  extended by com.google.zxing.client.android.result.ResultHandler
+      extended by com.google.zxing.client.android.result.EmailAddressResultHandler
+
+
+
+
public final class EmailAddressResultHandler
extends ResultHandler
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class com.google.zxing.client.android.result.ResultHandler
MAX_BUTTON_COUNT, mResult
+  + + + + + + + + + + +
+Constructor Summary
EmailAddressResultHandler(android.app.Activity activity, + ParsedResult result) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetButtonCount() + +
+          Indicates how many buttons the derived class wants shown.
+ intgetButtonText(int index) + +
+          The text of the nth action button.
+ intgetDisplayTitle() + +
+          A string describing the kind of barcode that was found, e.g.
+ voidhandleButtonPress(int index) + +
+          Execute the action which corresponds to the nth button.
+ + + + + + + +
Methods inherited from class com.google.zxing.client.android.result.ResultHandler
addCalendarEvent, addContact, dialPhone, dialPhoneFromUri, getDirections, getDisplayContents, getType, openBookSearch, openMap, openProductSearch, openURL, searchBookContents, searchMap, sendEmail, sendEmailFromUri, sendMMS, sendMMSFromUri, sendSMS, sendSMSFromUri, shareByEmail, shareBySMS, webSearch
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+EmailAddressResultHandler

+
+public EmailAddressResultHandler(android.app.Activity activity,
+                                 ParsedResult result)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getButtonCount

+
+public int getButtonCount()
+
+
Description copied from class: ResultHandler
+
Indicates how many buttons the derived class wants shown. +

+

+
Specified by:
getButtonCount in class ResultHandler
+
+
+ +
Returns:
The integer button count.
+
+
+
+ +

+getButtonText

+
+public int getButtonText(int index)
+
+
Description copied from class: ResultHandler
+
The text of the nth action button. +

+

+
Specified by:
getButtonText in class ResultHandler
+
+
+
Parameters:
index - From 0 to getButtonCount() - 1 +
Returns:
The button text as a resource ID
+
+
+
+ +

+handleButtonPress

+
+public void handleButtonPress(int index)
+
+
Description copied from class: ResultHandler
+
Execute the action which corresponds to the nth button. +

+

+
Specified by:
handleButtonPress in class ResultHandler
+
+
+
Parameters:
index - The button that was clicked.
+
+
+
+ +

+getDisplayTitle

+
+public int getDisplayTitle()
+
+
Description copied from class: ResultHandler
+
A string describing the kind of barcode that was found, e.g. "Found contact info". +

+

+
Specified by:
getDisplayTitle in class ResultHandler
+
+
+ +
Returns:
The resource ID of the string.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/result/GeoResultHandler.html b/docs/javadoc/com/google/zxing/client/android/result/GeoResultHandler.html new file mode 100644 index 000000000..1ac7907f3 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/result/GeoResultHandler.html @@ -0,0 +1,364 @@ + + + + + + +GeoResultHandler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android.result +
+Class GeoResultHandler

+
+java.lang.Object
+  extended by com.google.zxing.client.android.result.ResultHandler
+      extended by com.google.zxing.client.android.result.GeoResultHandler
+
+
+
+
public final class GeoResultHandler
extends ResultHandler
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class com.google.zxing.client.android.result.ResultHandler
MAX_BUTTON_COUNT, mResult
+  + + + + + + + + + + +
+Constructor Summary
GeoResultHandler(android.app.Activity activity, + ParsedResult result) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetButtonCount() + +
+          Indicates how many buttons the derived class wants shown.
+ intgetButtonText(int index) + +
+          The text of the nth action button.
+ intgetDisplayTitle() + +
+          A string describing the kind of barcode that was found, e.g.
+ voidhandleButtonPress(int index) + +
+          Execute the action which corresponds to the nth button.
+ + + + + + + +
Methods inherited from class com.google.zxing.client.android.result.ResultHandler
addCalendarEvent, addContact, dialPhone, dialPhoneFromUri, getDirections, getDisplayContents, getType, openBookSearch, openMap, openProductSearch, openURL, searchBookContents, searchMap, sendEmail, sendEmailFromUri, sendMMS, sendMMSFromUri, sendSMS, sendSMSFromUri, shareByEmail, shareBySMS, webSearch
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+GeoResultHandler

+
+public GeoResultHandler(android.app.Activity activity,
+                        ParsedResult result)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getButtonCount

+
+public int getButtonCount()
+
+
Description copied from class: ResultHandler
+
Indicates how many buttons the derived class wants shown. +

+

+
Specified by:
getButtonCount in class ResultHandler
+
+
+ +
Returns:
The integer button count.
+
+
+
+ +

+getButtonText

+
+public int getButtonText(int index)
+
+
Description copied from class: ResultHandler
+
The text of the nth action button. +

+

+
Specified by:
getButtonText in class ResultHandler
+
+
+
Parameters:
index - From 0 to getButtonCount() - 1 +
Returns:
The button text as a resource ID
+
+
+
+ +

+handleButtonPress

+
+public void handleButtonPress(int index)
+
+
Description copied from class: ResultHandler
+
Execute the action which corresponds to the nth button. +

+

+
Specified by:
handleButtonPress in class ResultHandler
+
+
+
Parameters:
index - The button that was clicked.
+
+
+
+ +

+getDisplayTitle

+
+public int getDisplayTitle()
+
+
Description copied from class: ResultHandler
+
A string describing the kind of barcode that was found, e.g. "Found contact info". +

+

+
Specified by:
getDisplayTitle in class ResultHandler
+
+
+ +
Returns:
The resource ID of the string.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/result/ISBNResultHandler.html b/docs/javadoc/com/google/zxing/client/android/result/ISBNResultHandler.html new file mode 100644 index 000000000..a6ee024d7 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/result/ISBNResultHandler.html @@ -0,0 +1,364 @@ + + + + + + +ISBNResultHandler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android.result +
+Class ISBNResultHandler

+
+java.lang.Object
+  extended by com.google.zxing.client.android.result.ResultHandler
+      extended by com.google.zxing.client.android.result.ISBNResultHandler
+
+
+
+
public final class ISBNResultHandler
extends ResultHandler
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class com.google.zxing.client.android.result.ResultHandler
MAX_BUTTON_COUNT, mResult
+  + + + + + + + + + + +
+Constructor Summary
ISBNResultHandler(android.app.Activity activity, + ParsedResult result) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetButtonCount() + +
+          Indicates how many buttons the derived class wants shown.
+ intgetButtonText(int index) + +
+          The text of the nth action button.
+ intgetDisplayTitle() + +
+          A string describing the kind of barcode that was found, e.g.
+ voidhandleButtonPress(int index) + +
+          Execute the action which corresponds to the nth button.
+ + + + + + + +
Methods inherited from class com.google.zxing.client.android.result.ResultHandler
addCalendarEvent, addContact, dialPhone, dialPhoneFromUri, getDirections, getDisplayContents, getType, openBookSearch, openMap, openProductSearch, openURL, searchBookContents, searchMap, sendEmail, sendEmailFromUri, sendMMS, sendMMSFromUri, sendSMS, sendSMSFromUri, shareByEmail, shareBySMS, webSearch
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ISBNResultHandler

+
+public ISBNResultHandler(android.app.Activity activity,
+                         ParsedResult result)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getButtonCount

+
+public int getButtonCount()
+
+
Description copied from class: ResultHandler
+
Indicates how many buttons the derived class wants shown. +

+

+
Specified by:
getButtonCount in class ResultHandler
+
+
+ +
Returns:
The integer button count.
+
+
+
+ +

+getButtonText

+
+public int getButtonText(int index)
+
+
Description copied from class: ResultHandler
+
The text of the nth action button. +

+

+
Specified by:
getButtonText in class ResultHandler
+
+
+
Parameters:
index - From 0 to getButtonCount() - 1 +
Returns:
The button text as a resource ID
+
+
+
+ +

+handleButtonPress

+
+public void handleButtonPress(int index)
+
+
Description copied from class: ResultHandler
+
Execute the action which corresponds to the nth button. +

+

+
Specified by:
handleButtonPress in class ResultHandler
+
+
+
Parameters:
index - The button that was clicked.
+
+
+
+ +

+getDisplayTitle

+
+public int getDisplayTitle()
+
+
Description copied from class: ResultHandler
+
A string describing the kind of barcode that was found, e.g. "Found contact info". +

+

+
Specified by:
getDisplayTitle in class ResultHandler
+
+
+ +
Returns:
The resource ID of the string.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/result/ProductResultHandler.html b/docs/javadoc/com/google/zxing/client/android/result/ProductResultHandler.html new file mode 100644 index 000000000..80ca3dc99 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/result/ProductResultHandler.html @@ -0,0 +1,364 @@ + + + + + + +ProductResultHandler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android.result +
+Class ProductResultHandler

+
+java.lang.Object
+  extended by com.google.zxing.client.android.result.ResultHandler
+      extended by com.google.zxing.client.android.result.ProductResultHandler
+
+
+
+
public final class ProductResultHandler
extends ResultHandler
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class com.google.zxing.client.android.result.ResultHandler
MAX_BUTTON_COUNT, mResult
+  + + + + + + + + + + +
+Constructor Summary
ProductResultHandler(android.app.Activity activity, + ParsedResult result) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetButtonCount() + +
+          Indicates how many buttons the derived class wants shown.
+ intgetButtonText(int index) + +
+          The text of the nth action button.
+ intgetDisplayTitle() + +
+          A string describing the kind of barcode that was found, e.g.
+ voidhandleButtonPress(int index) + +
+          Execute the action which corresponds to the nth button.
+ + + + + + + +
Methods inherited from class com.google.zxing.client.android.result.ResultHandler
addCalendarEvent, addContact, dialPhone, dialPhoneFromUri, getDirections, getDisplayContents, getType, openBookSearch, openMap, openProductSearch, openURL, searchBookContents, searchMap, sendEmail, sendEmailFromUri, sendMMS, sendMMSFromUri, sendSMS, sendSMSFromUri, shareByEmail, shareBySMS, webSearch
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProductResultHandler

+
+public ProductResultHandler(android.app.Activity activity,
+                            ParsedResult result)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getButtonCount

+
+public int getButtonCount()
+
+
Description copied from class: ResultHandler
+
Indicates how many buttons the derived class wants shown. +

+

+
Specified by:
getButtonCount in class ResultHandler
+
+
+ +
Returns:
The integer button count.
+
+
+
+ +

+getButtonText

+
+public int getButtonText(int index)
+
+
Description copied from class: ResultHandler
+
The text of the nth action button. +

+

+
Specified by:
getButtonText in class ResultHandler
+
+
+
Parameters:
index - From 0 to getButtonCount() - 1 +
Returns:
The button text as a resource ID
+
+
+
+ +

+handleButtonPress

+
+public void handleButtonPress(int index)
+
+
Description copied from class: ResultHandler
+
Execute the action which corresponds to the nth button. +

+

+
Specified by:
handleButtonPress in class ResultHandler
+
+
+
Parameters:
index - The button that was clicked.
+
+
+
+ +

+getDisplayTitle

+
+public int getDisplayTitle()
+
+
Description copied from class: ResultHandler
+
A string describing the kind of barcode that was found, e.g. "Found contact info". +

+

+
Specified by:
getDisplayTitle in class ResultHandler
+
+
+ +
Returns:
The resource ID of the string.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/result/ResultButtonListener.html b/docs/javadoc/com/google/zxing/client/android/result/ResultButtonListener.html new file mode 100644 index 000000000..15fd2d184 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/result/ResultButtonListener.html @@ -0,0 +1,263 @@ + + + + + + +ResultButtonListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android.result +
+Class ResultButtonListener

+
+java.lang.Object
+  extended by com.google.zxing.client.android.result.ResultButtonListener
+
+
+
All Implemented Interfaces:
android.view.View.OnClickListener
+
+
+
+
public final class ResultButtonListener
extends java.lang.Object
implements android.view.View.OnClickListener
+ + +

+Handles the result of barcode decoding in the context of the Android platform, by dispatching the + proper intents to open other activities like GMail, Maps, etc. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ResultButtonListener(ResultHandler resultHandler, + int index) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidonClick(android.view.View view) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ResultButtonListener

+
+public ResultButtonListener(ResultHandler resultHandler,
+                            int index)
+
+
+ + + + + + + + +
+Method Detail
+ +

+onClick

+
+public void onClick(android.view.View view)
+
+
+
Specified by:
onClick in interface android.view.View.OnClickListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/result/ResultHandler.html b/docs/javadoc/com/google/zxing/client/android/result/ResultHandler.html new file mode 100644 index 000000000..f761117cd --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/result/ResultHandler.html @@ -0,0 +1,848 @@ + + + + + + +ResultHandler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android.result +
+Class ResultHandler

+
+java.lang.Object
+  extended by com.google.zxing.client.android.result.ResultHandler
+
+
+
Direct Known Subclasses:
AddressBookResultHandler, CalendarResultHandler, EmailAddressResultHandler, GeoResultHandler, ISBNResultHandler, ProductResultHandler, SMSResultHandler, TelResultHandler, TextResultHandler, URIResultHandler
+
+
+
+
public abstract class ResultHandler
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static intMAX_BUTTON_COUNT + +
+           
+protected  ParsedResultmResult + +
+           
+  + + + + + + + + + + + +
+Constructor Summary
+protected ResultHandler(android.app.Activity activity, + ParsedResult result) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddCalendarEvent(java.lang.String summary, + java.lang.String start, + java.lang.String end) + +
+          Sends an intent to create a new calendar event by prepopulating the Add Event UI.
+ voidaddContact(java.lang.String[] names, + java.lang.String[] phoneNumbers, + java.lang.String[] emails, + java.lang.String note, + java.lang.String address, + java.lang.String org, + java.lang.String title) + +
+           
+ voiddialPhone(java.lang.String phoneNumber) + +
+           
+ voiddialPhoneFromUri(java.lang.String uri) + +
+           
+abstract  intgetButtonCount() + +
+          Indicates how many buttons the derived class wants shown.
+abstract  intgetButtonText(int index) + +
+          The text of the nth action button.
+ voidgetDirections(double latitude, + double longitude) + +
+           
+ java.lang.CharSequencegetDisplayContents() + +
+          Create a possibly styled string for the contents of the current barcode.
+abstract  intgetDisplayTitle() + +
+          A string describing the kind of barcode that was found, e.g.
+ ParsedResultTypegetType() + +
+          A convenience method to get the parsed type.
+abstract  voidhandleButtonPress(int index) + +
+          Execute the action which corresponds to the nth button.
+ voidopenBookSearch(java.lang.String isbn) + +
+           
+ voidopenMap(java.lang.String geoURI) + +
+           
+ voidopenProductSearch(java.lang.String upc) + +
+           
+ voidopenURL(java.lang.String url) + +
+           
+ voidsearchBookContents(java.lang.String isbn) + +
+           
+ voidsearchMap(java.lang.String address, + java.lang.String title) + +
+          Do a geo search using the address as the query.
+ voidsendEmail(java.lang.String address, + java.lang.String subject, + java.lang.String body) + +
+           
+ voidsendEmailFromUri(java.lang.String uri, + java.lang.String subject, + java.lang.String body) + +
+           
+ voidsendMMS(java.lang.String phoneNumber, + java.lang.String subject, + java.lang.String body) + +
+           
+ voidsendMMSFromUri(java.lang.String uri, + java.lang.String subject, + java.lang.String body) + +
+           
+ voidsendSMS(java.lang.String phoneNumber, + java.lang.String body) + +
+           
+ voidsendSMSFromUri(java.lang.String uri, + java.lang.String body) + +
+           
+ voidshareByEmail(java.lang.String contents) + +
+           
+ voidshareBySMS(java.lang.String contents) + +
+           
+ voidwebSearch(java.lang.String query) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+MAX_BUTTON_COUNT

+
+public static final int MAX_BUTTON_COUNT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+mResult

+
+protected final ParsedResult mResult
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+ResultHandler

+
+protected ResultHandler(android.app.Activity activity,
+                        ParsedResult result)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getButtonCount

+
+public abstract int getButtonCount()
+
+
Indicates how many buttons the derived class wants shown. +

+

+ +
Returns:
The integer button count.
+
+
+
+ +

+getButtonText

+
+public abstract int getButtonText(int index)
+
+
The text of the nth action button. +

+

+
Parameters:
index - From 0 to getButtonCount() - 1 +
Returns:
The button text as a resource ID
+
+
+
+ +

+handleButtonPress

+
+public abstract void handleButtonPress(int index)
+
+
Execute the action which corresponds to the nth button. +

+

+
Parameters:
index - The button that was clicked.
+
+
+
+ +

+getDisplayContents

+
+public java.lang.CharSequence getDisplayContents()
+
+
Create a possibly styled string for the contents of the current barcode. +

+

+ +
Returns:
The text to be displayed.
+
+
+
+ +

+getDisplayTitle

+
+public abstract int getDisplayTitle()
+
+
A string describing the kind of barcode that was found, e.g. "Found contact info". +

+

+ +
Returns:
The resource ID of the string.
+
+
+
+ +

+getType

+
+public final ParsedResultType getType()
+
+
A convenience method to get the parsed type. Should not be overridden. +

+

+ +
Returns:
The parsed type, e.g. URI or ISBN
+
+
+
+ +

+addCalendarEvent

+
+public final void addCalendarEvent(java.lang.String summary,
+                                   java.lang.String start,
+                                   java.lang.String end)
+
+
Sends an intent to create a new calendar event by prepopulating the Add Event UI. Older + versions of the system have a bug where the event title will not be filled out. +

+

+
Parameters:
summary - A description of the event
start - The start time as yyyyMMdd or yyyyMMdd'T'HHmmss or yyyyMMdd'T'HHmmss'Z'
end - The end time as yyyyMMdd or yyyyMMdd'T'HHmmss or yyyyMMdd'T'HHmmss'Z'
+
+
+
+ +

+addContact

+
+public final void addContact(java.lang.String[] names,
+                             java.lang.String[] phoneNumbers,
+                             java.lang.String[] emails,
+                             java.lang.String note,
+                             java.lang.String address,
+                             java.lang.String org,
+                             java.lang.String title)
+
+
+
+
+
+
+ +

+shareByEmail

+
+public final void shareByEmail(java.lang.String contents)
+
+
+
+
+
+
+ +

+sendEmail

+
+public final void sendEmail(java.lang.String address,
+                            java.lang.String subject,
+                            java.lang.String body)
+
+
+
+
+
+
+ +

+sendEmailFromUri

+
+public final void sendEmailFromUri(java.lang.String uri,
+                                   java.lang.String subject,
+                                   java.lang.String body)
+
+
+
+
+
+
+ +

+shareBySMS

+
+public final void shareBySMS(java.lang.String contents)
+
+
+
+
+
+
+ +

+sendSMS

+
+public final void sendSMS(java.lang.String phoneNumber,
+                          java.lang.String body)
+
+
+
+
+
+
+ +

+sendSMSFromUri

+
+public final void sendSMSFromUri(java.lang.String uri,
+                                 java.lang.String body)
+
+
+
+
+
+
+ +

+sendMMS

+
+public final void sendMMS(java.lang.String phoneNumber,
+                          java.lang.String subject,
+                          java.lang.String body)
+
+
+
+
+
+
+ +

+sendMMSFromUri

+
+public final void sendMMSFromUri(java.lang.String uri,
+                                 java.lang.String subject,
+                                 java.lang.String body)
+
+
+
+
+
+
+ +

+dialPhone

+
+public final void dialPhone(java.lang.String phoneNumber)
+
+
+
+
+
+
+ +

+dialPhoneFromUri

+
+public final void dialPhoneFromUri(java.lang.String uri)
+
+
+
+
+
+
+ +

+openMap

+
+public final void openMap(java.lang.String geoURI)
+
+
+
+
+
+
+ +

+searchMap

+
+public final void searchMap(java.lang.String address,
+                            java.lang.String title)
+
+
Do a geo search using the address as the query. +

+

+
Parameters:
address - The address to find
title - An optional title, e.g. the name of the business at this address
+
+
+
+ +

+getDirections

+
+public final void getDirections(double latitude,
+                                double longitude)
+
+
+
+
+
+
+ +

+openProductSearch

+
+public final void openProductSearch(java.lang.String upc)
+
+
+
+
+
+
+ +

+openBookSearch

+
+public final void openBookSearch(java.lang.String isbn)
+
+
+
+
+
+
+ +

+searchBookContents

+
+public final void searchBookContents(java.lang.String isbn)
+
+
+
+
+
+
+ +

+openURL

+
+public final void openURL(java.lang.String url)
+
+
+
+
+
+
+ +

+webSearch

+
+public final void webSearch(java.lang.String query)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/result/ResultHandlerFactory.html b/docs/javadoc/com/google/zxing/client/android/result/ResultHandlerFactory.html new file mode 100644 index 000000000..56d0a3eff --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/result/ResultHandlerFactory.html @@ -0,0 +1,219 @@ + + + + + + +ResultHandlerFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android.result +
+Class ResultHandlerFactory

+
+java.lang.Object
+  extended by com.google.zxing.client.android.result.ResultHandlerFactory
+
+
+
+
public final class ResultHandlerFactory
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+static ResultHandlermakeResultHandler(android.app.Activity activity, + Result rawResult) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+makeResultHandler

+
+public static ResultHandler makeResultHandler(android.app.Activity activity,
+                                              Result rawResult)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/result/SMSResultHandler.html b/docs/javadoc/com/google/zxing/client/android/result/SMSResultHandler.html new file mode 100644 index 000000000..9f22c7a49 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/result/SMSResultHandler.html @@ -0,0 +1,390 @@ + + + + + + +SMSResultHandler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android.result +
+Class SMSResultHandler

+
+java.lang.Object
+  extended by com.google.zxing.client.android.result.ResultHandler
+      extended by com.google.zxing.client.android.result.SMSResultHandler
+
+
+
+
public final class SMSResultHandler
extends ResultHandler
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class com.google.zxing.client.android.result.ResultHandler
MAX_BUTTON_COUNT, mResult
+  + + + + + + + + + + +
+Constructor Summary
SMSResultHandler(android.app.Activity activity, + ParsedResult result) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetButtonCount() + +
+          Indicates how many buttons the derived class wants shown.
+ intgetButtonText(int index) + +
+          The text of the nth action button.
+ java.lang.CharSequencegetDisplayContents() + +
+          Create a possibly styled string for the contents of the current barcode.
+ intgetDisplayTitle() + +
+          A string describing the kind of barcode that was found, e.g.
+ voidhandleButtonPress(int index) + +
+          Execute the action which corresponds to the nth button.
+ + + + + + + +
Methods inherited from class com.google.zxing.client.android.result.ResultHandler
addCalendarEvent, addContact, dialPhone, dialPhoneFromUri, getDirections, getType, openBookSearch, openMap, openProductSearch, openURL, searchBookContents, searchMap, sendEmail, sendEmailFromUri, sendMMS, sendMMSFromUri, sendSMS, sendSMSFromUri, shareByEmail, shareBySMS, webSearch
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SMSResultHandler

+
+public SMSResultHandler(android.app.Activity activity,
+                        ParsedResult result)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getButtonCount

+
+public int getButtonCount()
+
+
Description copied from class: ResultHandler
+
Indicates how many buttons the derived class wants shown. +

+

+
Specified by:
getButtonCount in class ResultHandler
+
+
+ +
Returns:
The integer button count.
+
+
+
+ +

+getButtonText

+
+public int getButtonText(int index)
+
+
Description copied from class: ResultHandler
+
The text of the nth action button. +

+

+
Specified by:
getButtonText in class ResultHandler
+
+
+
Parameters:
index - From 0 to getButtonCount() - 1 +
Returns:
The button text as a resource ID
+
+
+
+ +

+handleButtonPress

+
+public void handleButtonPress(int index)
+
+
Description copied from class: ResultHandler
+
Execute the action which corresponds to the nth button. +

+

+
Specified by:
handleButtonPress in class ResultHandler
+
+
+
Parameters:
index - The button that was clicked.
+
+
+
+ +

+getDisplayContents

+
+public java.lang.CharSequence getDisplayContents()
+
+
Description copied from class: ResultHandler
+
Create a possibly styled string for the contents of the current barcode. +

+

+
Overrides:
getDisplayContents in class ResultHandler
+
+
+ +
Returns:
The text to be displayed.
+
+
+
+ +

+getDisplayTitle

+
+public int getDisplayTitle()
+
+
Description copied from class: ResultHandler
+
A string describing the kind of barcode that was found, e.g. "Found contact info". +

+

+
Specified by:
getDisplayTitle in class ResultHandler
+
+
+ +
Returns:
The resource ID of the string.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/result/TelResultHandler.html b/docs/javadoc/com/google/zxing/client/android/result/TelResultHandler.html new file mode 100644 index 000000000..c0fde21c3 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/result/TelResultHandler.html @@ -0,0 +1,390 @@ + + + + + + +TelResultHandler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android.result +
+Class TelResultHandler

+
+java.lang.Object
+  extended by com.google.zxing.client.android.result.ResultHandler
+      extended by com.google.zxing.client.android.result.TelResultHandler
+
+
+
+
public final class TelResultHandler
extends ResultHandler
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class com.google.zxing.client.android.result.ResultHandler
MAX_BUTTON_COUNT, mResult
+  + + + + + + + + + + +
+Constructor Summary
TelResultHandler(android.app.Activity activity, + ParsedResult result) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetButtonCount() + +
+          Indicates how many buttons the derived class wants shown.
+ intgetButtonText(int index) + +
+          The text of the nth action button.
+ java.lang.CharSequencegetDisplayContents() + +
+          Create a possibly styled string for the contents of the current barcode.
+ intgetDisplayTitle() + +
+          A string describing the kind of barcode that was found, e.g.
+ voidhandleButtonPress(int index) + +
+          Execute the action which corresponds to the nth button.
+ + + + + + + +
Methods inherited from class com.google.zxing.client.android.result.ResultHandler
addCalendarEvent, addContact, dialPhone, dialPhoneFromUri, getDirections, getType, openBookSearch, openMap, openProductSearch, openURL, searchBookContents, searchMap, sendEmail, sendEmailFromUri, sendMMS, sendMMSFromUri, sendSMS, sendSMSFromUri, shareByEmail, shareBySMS, webSearch
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TelResultHandler

+
+public TelResultHandler(android.app.Activity activity,
+                        ParsedResult result)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getButtonCount

+
+public int getButtonCount()
+
+
Description copied from class: ResultHandler
+
Indicates how many buttons the derived class wants shown. +

+

+
Specified by:
getButtonCount in class ResultHandler
+
+
+ +
Returns:
The integer button count.
+
+
+
+ +

+getButtonText

+
+public int getButtonText(int index)
+
+
Description copied from class: ResultHandler
+
The text of the nth action button. +

+

+
Specified by:
getButtonText in class ResultHandler
+
+
+
Parameters:
index - From 0 to getButtonCount() - 1 +
Returns:
The button text as a resource ID
+
+
+
+ +

+handleButtonPress

+
+public void handleButtonPress(int index)
+
+
Description copied from class: ResultHandler
+
Execute the action which corresponds to the nth button. +

+

+
Specified by:
handleButtonPress in class ResultHandler
+
+
+
Parameters:
index - The button that was clicked.
+
+
+
+ +

+getDisplayContents

+
+public java.lang.CharSequence getDisplayContents()
+
+
Description copied from class: ResultHandler
+
Create a possibly styled string for the contents of the current barcode. +

+

+
Overrides:
getDisplayContents in class ResultHandler
+
+
+ +
Returns:
The text to be displayed.
+
+
+
+ +

+getDisplayTitle

+
+public int getDisplayTitle()
+
+
Description copied from class: ResultHandler
+
A string describing the kind of barcode that was found, e.g. "Found contact info". +

+

+
Specified by:
getDisplayTitle in class ResultHandler
+
+
+ +
Returns:
The resource ID of the string.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/result/TextResultHandler.html b/docs/javadoc/com/google/zxing/client/android/result/TextResultHandler.html new file mode 100644 index 000000000..1163d377b --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/result/TextResultHandler.html @@ -0,0 +1,368 @@ + + + + + + +TextResultHandler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android.result +
+Class TextResultHandler

+
+java.lang.Object
+  extended by com.google.zxing.client.android.result.ResultHandler
+      extended by com.google.zxing.client.android.result.TextResultHandler
+
+
+
+
public final class TextResultHandler
extends ResultHandler
+ + +

+This class handles TextParsedResult as well as unknown formats. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class com.google.zxing.client.android.result.ResultHandler
MAX_BUTTON_COUNT, mResult
+  + + + + + + + + + + +
+Constructor Summary
TextResultHandler(android.app.Activity activity, + ParsedResult result) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetButtonCount() + +
+          Indicates how many buttons the derived class wants shown.
+ intgetButtonText(int index) + +
+          The text of the nth action button.
+ intgetDisplayTitle() + +
+          A string describing the kind of barcode that was found, e.g.
+ voidhandleButtonPress(int index) + +
+          Execute the action which corresponds to the nth button.
+ + + + + + + +
Methods inherited from class com.google.zxing.client.android.result.ResultHandler
addCalendarEvent, addContact, dialPhone, dialPhoneFromUri, getDirections, getDisplayContents, getType, openBookSearch, openMap, openProductSearch, openURL, searchBookContents, searchMap, sendEmail, sendEmailFromUri, sendMMS, sendMMSFromUri, sendSMS, sendSMSFromUri, shareByEmail, shareBySMS, webSearch
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TextResultHandler

+
+public TextResultHandler(android.app.Activity activity,
+                         ParsedResult result)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getButtonCount

+
+public int getButtonCount()
+
+
Description copied from class: ResultHandler
+
Indicates how many buttons the derived class wants shown. +

+

+
Specified by:
getButtonCount in class ResultHandler
+
+
+ +
Returns:
The integer button count.
+
+
+
+ +

+getButtonText

+
+public int getButtonText(int index)
+
+
Description copied from class: ResultHandler
+
The text of the nth action button. +

+

+
Specified by:
getButtonText in class ResultHandler
+
+
+
Parameters:
index - From 0 to getButtonCount() - 1 +
Returns:
The button text as a resource ID
+
+
+
+ +

+handleButtonPress

+
+public void handleButtonPress(int index)
+
+
Description copied from class: ResultHandler
+
Execute the action which corresponds to the nth button. +

+

+
Specified by:
handleButtonPress in class ResultHandler
+
+
+
Parameters:
index - The button that was clicked.
+
+
+
+ +

+getDisplayTitle

+
+public int getDisplayTitle()
+
+
Description copied from class: ResultHandler
+
A string describing the kind of barcode that was found, e.g. "Found contact info". +

+

+
Specified by:
getDisplayTitle in class ResultHandler
+
+
+ +
Returns:
The resource ID of the string.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/result/URIResultHandler.html b/docs/javadoc/com/google/zxing/client/android/result/URIResultHandler.html new file mode 100644 index 000000000..617ecde53 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/result/URIResultHandler.html @@ -0,0 +1,364 @@ + + + + + + +URIResultHandler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.android.result +
+Class URIResultHandler

+
+java.lang.Object
+  extended by com.google.zxing.client.android.result.ResultHandler
+      extended by com.google.zxing.client.android.result.URIResultHandler
+
+
+
+
public final class URIResultHandler
extends ResultHandler
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class com.google.zxing.client.android.result.ResultHandler
MAX_BUTTON_COUNT, mResult
+  + + + + + + + + + + +
+Constructor Summary
URIResultHandler(android.app.Activity activity, + ParsedResult result) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetButtonCount() + +
+          Indicates how many buttons the derived class wants shown.
+ intgetButtonText(int index) + +
+          The text of the nth action button.
+ intgetDisplayTitle() + +
+          A string describing the kind of barcode that was found, e.g.
+ voidhandleButtonPress(int index) + +
+          Execute the action which corresponds to the nth button.
+ + + + + + + +
Methods inherited from class com.google.zxing.client.android.result.ResultHandler
addCalendarEvent, addContact, dialPhone, dialPhoneFromUri, getDirections, getDisplayContents, getType, openBookSearch, openMap, openProductSearch, openURL, searchBookContents, searchMap, sendEmail, sendEmailFromUri, sendMMS, sendMMSFromUri, sendSMS, sendSMSFromUri, shareByEmail, shareBySMS, webSearch
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+URIResultHandler

+
+public URIResultHandler(android.app.Activity activity,
+                        ParsedResult result)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getButtonCount

+
+public int getButtonCount()
+
+
Description copied from class: ResultHandler
+
Indicates how many buttons the derived class wants shown. +

+

+
Specified by:
getButtonCount in class ResultHandler
+
+
+ +
Returns:
The integer button count.
+
+
+
+ +

+getButtonText

+
+public int getButtonText(int index)
+
+
Description copied from class: ResultHandler
+
The text of the nth action button. +

+

+
Specified by:
getButtonText in class ResultHandler
+
+
+
Parameters:
index - From 0 to getButtonCount() - 1 +
Returns:
The button text as a resource ID
+
+
+
+ +

+handleButtonPress

+
+public void handleButtonPress(int index)
+
+
Description copied from class: ResultHandler
+
Execute the action which corresponds to the nth button. +

+

+
Specified by:
handleButtonPress in class ResultHandler
+
+
+
Parameters:
index - The button that was clicked.
+
+
+
+ +

+getDisplayTitle

+
+public int getDisplayTitle()
+
+
Description copied from class: ResultHandler
+
A string describing the kind of barcode that was found, e.g. "Found contact info". +

+

+
Specified by:
getDisplayTitle in class ResultHandler
+
+
+ +
Returns:
The resource ID of the string.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/result/package-frame.html b/docs/javadoc/com/google/zxing/client/android/result/package-frame.html new file mode 100644 index 000000000..95b85e455 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/result/package-frame.html @@ -0,0 +1,58 @@ + + + + + + +com.google.zxing.client.android.result + + + + + + + + + + + +com.google.zxing.client.android.result + + + + +
+Classes  + +
+AddressBookResultHandler +
+AndroidIntentParsedResult +
+CalendarResultHandler +
+EmailAddressResultHandler +
+GeoResultHandler +
+ISBNResultHandler +
+ProductResultHandler +
+ResultButtonListener +
+ResultHandler +
+ResultHandlerFactory +
+SMSResultHandler +
+TelResultHandler +
+TextResultHandler +
+URIResultHandler
+ + + + diff --git a/docs/javadoc/com/google/zxing/client/android/result/package-summary.html b/docs/javadoc/com/google/zxing/client/android/result/package-summary.html new file mode 100644 index 000000000..2236d5f29 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/result/package-summary.html @@ -0,0 +1,209 @@ + + + + + + +com.google.zxing.client.android.result + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.client.android.result +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AddressBookResultHandler 
AndroidIntentParsedResultA ParsedResult derived from a URI that encodes an Android + Intent, and which should presumably trigger that intent on Android.
CalendarResultHandler 
EmailAddressResultHandler 
GeoResultHandler 
ISBNResultHandler 
ProductResultHandler 
ResultButtonListenerHandles the result of barcode decoding in the context of the Android platform, by dispatching the + proper intents to open other activities like GMail, Maps, etc.
ResultHandler 
ResultHandlerFactory 
SMSResultHandler 
TelResultHandler 
TextResultHandlerThis class handles TextParsedResult as well as unknown formats.
URIResultHandler 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/android/result/package-tree.html b/docs/javadoc/com/google/zxing/client/android/result/package-tree.html new file mode 100644 index 000000000..580b036c0 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/android/result/package-tree.html @@ -0,0 +1,156 @@ + + + + + + +com.google.zxing.client.android.result Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.client.android.result +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/bug/AWTImageMonochromeBitmapSource.html b/docs/javadoc/com/google/zxing/client/bug/AWTImageMonochromeBitmapSource.html new file mode 100644 index 000000000..3e9684d56 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/bug/AWTImageMonochromeBitmapSource.html @@ -0,0 +1,349 @@ + + + + + + +AWTImageMonochromeBitmapSource + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.bug +
+Class AWTImageMonochromeBitmapSource

+
+java.lang.Object
+  extended by com.google.zxing.common.BaseMonochromeBitmapSource
+      extended by com.google.zxing.client.bug.AWTImageMonochromeBitmapSource
+
+
+
All Implemented Interfaces:
MonochromeBitmapSource
+
+
+
+
public final class AWTImageMonochromeBitmapSource
extends BaseMonochromeBitmapSource
+ + +

+

An implementation based on AWT's Image representation. + This can be used on CDC devices or other devices that do not have access to the + Mobile Information Device Profile and thus do not have access to + javax.microedition.lcdui.Image.

+

+ +

+

+
Author:
+
David Albert, Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
AWTImageMonochromeBitmapSource(java.awt.Image image) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetLuminance(int x, + int y) + +
+          See com.google.zxing.client.j2me.LCDUIImageMonochromeBitmapSource for more explanation + of the computation used in this method.
+ int[]getLuminanceColumn(int x, + int[] column) + +
+          The same as getLuminanceRow(), but for columns.
+ int[]getLuminanceRow(int y, + int[] row) + +
+          This is the main mechanism for retrieving luminance data.
+ + + + + + + +
Methods inherited from class com.google.zxing.common.BaseMonochromeBitmapSource
estimateBlackPoint, getBlackColumn, getBlackDiagonal, getBlackRow, getHeight, getLastEstimationMethod, getWidth, isBlack, isRotateSupported, rotateCounterClockwise, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AWTImageMonochromeBitmapSource

+
+public AWTImageMonochromeBitmapSource(java.awt.Image image)
+                               throws ReaderException
+
+
+ +
Throws: +
ReaderException
+
+ + + + + + + + +
+Method Detail
+ +

+getLuminance

+
+public int getLuminance(int x,
+                        int y)
+
+
See com.google.zxing.client.j2me.LCDUIImageMonochromeBitmapSource for more explanation + of the computation used in this method. +

+

+
Specified by:
getLuminance in interface MonochromeBitmapSource
Specified by:
getLuminance in class BaseMonochromeBitmapSource
+
+
+
Parameters:
x - The x coordinate in the image.
y - The y coordinate in the image. +
Returns:
The luminance value between 0 and 255.
+
+
+
+ +

+getLuminanceRow

+
+public int[] getLuminanceRow(int y,
+                             int[] row)
+
+
Description copied from class: BaseMonochromeBitmapSource
+
This is the main mechanism for retrieving luminance data. It is dramatically more efficient + than repeatedly calling getLuminance(). As above, this is not meant for decoders. +

+

+
Specified by:
getLuminanceRow in interface MonochromeBitmapSource
Specified by:
getLuminanceRow in class BaseMonochromeBitmapSource
+
+
+
Parameters:
y - The row to fetch
row - The array to write luminance values into. It is strongly suggested that you + allocate this yourself, making sure row.length >= getWidth(), and reuse the same + array on subsequent calls for performance. If you pass null, you will be flogged, + but then I will take pity on you and allocate a sufficient array internally. +
Returns:
The array containing the luminance data. This is the same as row if it was usable.
+
+
+
+ +

+getLuminanceColumn

+
+public int[] getLuminanceColumn(int x,
+                                int[] column)
+
+
Description copied from class: BaseMonochromeBitmapSource
+
The same as getLuminanceRow(), but for columns. +

+

+
Specified by:
getLuminanceColumn in interface MonochromeBitmapSource
Specified by:
getLuminanceColumn in class BaseMonochromeBitmapSource
+
+
+
Parameters:
x - The column to fetch
column - The array to write luminance values into. See above. +
Returns:
The array containing the luminance data.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/bug/Activator.html b/docs/javadoc/com/google/zxing/client/bug/Activator.html new file mode 100644 index 000000000..bc5d38658 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/bug/Activator.html @@ -0,0 +1,289 @@ + + + + + + +Activator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.bug +
+Class Activator

+
+java.lang.Object
+  extended by com.google.zxing.client.bug.Activator
+
+
+
All Implemented Interfaces:
org.osgi.framework.BundleActivator
+
+
+
+
public final class Activator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
+ + +

+BundleActivator for BugBarcode. +

+ +

+

+
Author:
+
David Albert
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Activator() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidstart(org.osgi.framework.BundleContext context) + +
+           
+ voidstop(org.osgi.framework.BundleContext context) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Activator

+
+public Activator()
+
+
+ + + + + + + + +
+Method Detail
+ +

+start

+
+public void start(org.osgi.framework.BundleContext context)
+           throws org.osgi.framework.InvalidSyntaxException
+
+
+
Specified by:
start in interface org.osgi.framework.BundleActivator
+
+
+ +
Throws: +
org.osgi.framework.InvalidSyntaxException
+
+
+
+ +

+stop

+
+public void stop(org.osgi.framework.BundleContext context)
+
+
+
Specified by:
stop in interface org.osgi.framework.BundleActivator
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/bug/ImageCanvas.html b/docs/javadoc/com/google/zxing/client/bug/ImageCanvas.html new file mode 100644 index 000000000..03231919a --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/bug/ImageCanvas.html @@ -0,0 +1,440 @@ + + + + + + +ImageCanvas + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.bug +
+Class ImageCanvas

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Canvas
+          extended by com.google.zxing.client.bug.ImageCanvas
+
+
+
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible
+
+
+
+
public final class ImageCanvas
extends java.awt.Canvas
+ + +

+

+
Author:
+
John Connolly
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class java.awt.Canvas
java.awt.Canvas.AccessibleAWTCanvas
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
ImageCanvas(java.awt.Image image) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.awt.ImagegetImage() + +
+           
+ java.awt.DimensiongetMinimumSize() + +
+           
+ java.awt.DimensiongetPreferredSize() + +
+           
+ voidpaint(java.awt.Graphics g) + +
+           
+ voidsetImage(java.awt.Image image) + +
+           
+ voidupdate(java.awt.Graphics g) + +
+           
+ + + + + + + +
Methods inherited from class java.awt.Canvas
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ImageCanvas

+
+public ImageCanvas(java.awt.Image image)
+
+
+ + + + + + + + +
+Method Detail
+ +

+paint

+
+public void paint(java.awt.Graphics g)
+
+
+
Overrides:
paint in class java.awt.Canvas
+
+
+
+
+
+
+ +

+update

+
+public void update(java.awt.Graphics g)
+
+
+
Overrides:
update in class java.awt.Canvas
+
+
+
+
+
+
+ +

+getMinimumSize

+
+public java.awt.Dimension getMinimumSize()
+
+
+
Overrides:
getMinimumSize in class java.awt.Component
+
+
+
+
+
+
+ +

+getPreferredSize

+
+public java.awt.Dimension getPreferredSize()
+
+
+
Overrides:
getPreferredSize in class java.awt.Component
+
+
+
+
+
+
+ +

+getImage

+
+public java.awt.Image getImage()
+
+
+
+
+
+
+ +

+setImage

+
+public void setImage(java.awt.Image image)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/bug/app/BugBarcodeApp.html b/docs/javadoc/com/google/zxing/client/bug/app/BugBarcodeApp.html new file mode 100644 index 000000000..bdb61c165 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/bug/app/BugBarcodeApp.html @@ -0,0 +1,316 @@ + + + + + + +BugBarcodeApp + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.bug.app +
+Class BugBarcodeApp

+
+java.lang.Object
+  extended by com.google.zxing.client.bug.app.BugBarcodeApp
+
+
+
All Implemented Interfaces:
com.buglabs.device.IButtonEventListener, java.awt.image.ImageObserver
+
+
+
+
public final class BugBarcodeApp
extends java.lang.Object
implements com.buglabs.device.IButtonEventListener, java.awt.image.ImageObserver
+ + +

+

+
Author:
+
David Albert
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
BugBarcodeApp(java.awt.Frame frame, + com.buglabs.bug.module.camera.pub.ICameraDevice camera, + com.buglabs.bug.module.camera.pub.ICameraModuleControl cameraControl, + com.buglabs.device.IButtonEventProvider buttonProvider) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidbuttonEvent(com.buglabs.device.ButtonEvent event) + +
+           
+ booleanimageUpdate(java.awt.Image img, + int infoflags, + int x, + int y, + int width, + int height) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BugBarcodeApp

+
+public BugBarcodeApp(java.awt.Frame frame,
+                     com.buglabs.bug.module.camera.pub.ICameraDevice camera,
+                     com.buglabs.bug.module.camera.pub.ICameraModuleControl cameraControl,
+                     com.buglabs.device.IButtonEventProvider buttonProvider)
+
+
+ + + + + + + + +
+Method Detail
+ +

+buttonEvent

+
+public void buttonEvent(com.buglabs.device.ButtonEvent event)
+
+
+
Specified by:
buttonEvent in interface com.buglabs.device.IButtonEventListener
+
+
+
+
+
+
+ +

+imageUpdate

+
+public boolean imageUpdate(java.awt.Image img,
+                           int infoflags,
+                           int x,
+                           int y,
+                           int width,
+                           int height)
+
+
+
Specified by:
imageUpdate in interface java.awt.image.ImageObserver
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/bug/app/package-frame.html b/docs/javadoc/com/google/zxing/client/bug/app/package-frame.html new file mode 100644 index 000000000..7fbac0291 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/bug/app/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +com.google.zxing.client.bug.app + + + + + + + + + + + +com.google.zxing.client.bug.app + + + + +
+Classes  + +
+BugBarcodeApp
+ + + + diff --git a/docs/javadoc/com/google/zxing/client/bug/app/package-summary.html b/docs/javadoc/com/google/zxing/client/bug/app/package-summary.html new file mode 100644 index 000000000..21a2bedf1 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/bug/app/package-summary.html @@ -0,0 +1,155 @@ + + + + + + +com.google.zxing.client.bug.app + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.client.bug.app +

+ + + + + + + + + +
+Class Summary
BugBarcodeApp 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/bug/app/package-tree.html b/docs/javadoc/com/google/zxing/client/bug/app/package-tree.html new file mode 100644 index 000000000..b28d0c003 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/bug/app/package-tree.html @@ -0,0 +1,152 @@ + + + + + + +com.google.zxing.client.bug.app Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.client.bug.app +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/bug/package-frame.html b/docs/javadoc/com/google/zxing/client/bug/package-frame.html new file mode 100644 index 000000000..e34b82715 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/bug/package-frame.html @@ -0,0 +1,36 @@ + + + + + + +com.google.zxing.client.bug + + + + + + + + + + + +com.google.zxing.client.bug + + + + +
+Classes  + +
+Activator +
+AWTImageMonochromeBitmapSource +
+ImageCanvas
+ + + + diff --git a/docs/javadoc/com/google/zxing/client/bug/package-summary.html b/docs/javadoc/com/google/zxing/client/bug/package-summary.html new file mode 100644 index 000000000..5c3fa3195 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/bug/package-summary.html @@ -0,0 +1,163 @@ + + + + + + +com.google.zxing.client.bug + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.client.bug +

+ + + + + + + + + + + + + + + + + +
+Class Summary
ActivatorBundleActivator for BugBarcode.
AWTImageMonochromeBitmapSourceAn implementation based on AWT's Image representation.
ImageCanvas 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/bug/package-tree.html b/docs/javadoc/com/google/zxing/client/bug/package-tree.html new file mode 100644 index 000000000..7677496bd --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/bug/package-tree.html @@ -0,0 +1,161 @@ + + + + + + +com.google.zxing.client.bug Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.client.bug +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/bug/servicetracker/BugBarcodeServiceTracker.html b/docs/javadoc/com/google/zxing/client/bug/servicetracker/BugBarcodeServiceTracker.html new file mode 100644 index 000000000..53b09b4cb --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/bug/servicetracker/BugBarcodeServiceTracker.html @@ -0,0 +1,343 @@ + + + + + + +BugBarcodeServiceTracker + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.bug.servicetracker +
+Class BugBarcodeServiceTracker

+
+java.lang.Object
+  extended by com.buglabs.application.AbstractServiceTracker
+      extended by com.google.zxing.client.bug.servicetracker.BugBarcodeServiceTracker
+
+
+
All Implemented Interfaces:
com.buglabs.application.IServiceProvider, org.osgi.util.tracker.ServiceTrackerCustomizer
+
+
+
+
public final class BugBarcodeServiceTracker
extends com.buglabs.application.AbstractServiceTracker
+ + +

+Service tracker for the BugApp Bundle +

+ +

+

+
Author:
+
David Albert
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class com.buglabs.application.AbstractServiceTracker
context, services
+  + + + + + + + + + + +
+Constructor Summary
BugBarcodeServiceTracker(org.osgi.framework.BundleContext context) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoStart() + +
+           
+ voiddoStop() + +
+          Called when a service that this application depends is unregistered.
+ voidinitServices() + +
+          Allows the user to set the service dependencies by + adding them to services list returned by getServices().
+ + + + + + + +
Methods inherited from class com.buglabs.application.AbstractServiceTracker
addingService, canStart, getBundleContext, getService, getServices, hasStarted, modifiedService, removedService, stop
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BugBarcodeServiceTracker

+
+public BugBarcodeServiceTracker(org.osgi.framework.BundleContext context)
+
+
+ + + + + + + + +
+Method Detail
+ +

+doStart

+
+public void doStart()
+
+
+
Specified by:
doStart in class com.buglabs.application.AbstractServiceTracker
+
+
+
+
+
+
+ +

+doStop

+
+public void doStop()
+
+
Called when a service that this application depends is unregistered. +

+

+
Specified by:
doStop in class com.buglabs.application.AbstractServiceTracker
+
+
+
+
+
+
+ +

+initServices

+
+public void initServices()
+
+
Allows the user to set the service dependencies by + adding them to services list returned by getServices(). + i.e.nl getServices().add(MyService.class.getName()); +

+

+
Overrides:
initServices in class com.buglabs.application.AbstractServiceTracker
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/bug/servicetracker/package-frame.html b/docs/javadoc/com/google/zxing/client/bug/servicetracker/package-frame.html new file mode 100644 index 000000000..be6003164 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/bug/servicetracker/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +com.google.zxing.client.bug.servicetracker + + + + + + + + + + + +com.google.zxing.client.bug.servicetracker + + + + +
+Classes  + +
+BugBarcodeServiceTracker
+ + + + diff --git a/docs/javadoc/com/google/zxing/client/bug/servicetracker/package-summary.html b/docs/javadoc/com/google/zxing/client/bug/servicetracker/package-summary.html new file mode 100644 index 000000000..7a6bcbba7 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/bug/servicetracker/package-summary.html @@ -0,0 +1,155 @@ + + + + + + +com.google.zxing.client.bug.servicetracker + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.client.bug.servicetracker +

+ + + + + + + + + +
+Class Summary
BugBarcodeServiceTrackerService tracker for the BugApp Bundle
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/bug/servicetracker/package-tree.html b/docs/javadoc/com/google/zxing/client/bug/servicetracker/package-tree.html new file mode 100644 index 000000000..0981d716a --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/bug/servicetracker/package-tree.html @@ -0,0 +1,154 @@ + + + + + + +com.google.zxing.client.bug.servicetracker Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.client.bug.servicetracker +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/j2me/LCDUIImageMonochromeBitmapSource.html b/docs/javadoc/com/google/zxing/client/j2me/LCDUIImageMonochromeBitmapSource.html new file mode 100644 index 000000000..2ba41c750 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/j2me/LCDUIImageMonochromeBitmapSource.html @@ -0,0 +1,342 @@ + + + + + + +LCDUIImageMonochromeBitmapSource + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.j2me +
+Class LCDUIImageMonochromeBitmapSource

+
+java.lang.Object
+  extended by com.google.zxing.common.BaseMonochromeBitmapSource
+      extended by com.google.zxing.client.j2me.LCDUIImageMonochromeBitmapSource
+
+
+
All Implemented Interfaces:
MonochromeBitmapSource
+
+
+
+
public final class LCDUIImageMonochromeBitmapSource
extends BaseMonochromeBitmapSource
+ + +

+

An implementation based on Java ME's Image representation.

+

+ +

+

+
Author:
+
Sean Owen, Daniel Switkin (dswitkin@google.com)
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
LCDUIImageMonochromeBitmapSource(javax.microedition.lcdui.Image image) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetLuminance(int x, + int y) + +
+          Retrieves the luminance at the pixel x,y in the bitmap.
+ int[]getLuminanceColumn(int x, + int[] column) + +
+          The same as getLuminanceRow(), but for columns.
+ int[]getLuminanceRow(int y, + int[] row) + +
+          This is the main mechanism for retrieving luminance data.
+ + + + + + + +
Methods inherited from class com.google.zxing.common.BaseMonochromeBitmapSource
estimateBlackPoint, getBlackColumn, getBlackDiagonal, getBlackRow, getHeight, getLastEstimationMethod, getWidth, isBlack, isRotateSupported, rotateCounterClockwise, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LCDUIImageMonochromeBitmapSource

+
+public LCDUIImageMonochromeBitmapSource(javax.microedition.lcdui.Image image)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLuminance

+
+public int getLuminance(int x,
+                        int y)
+
+
Description copied from class: BaseMonochromeBitmapSource
+
Retrieves the luminance at the pixel x,y in the bitmap. This method is only used for estimating + the black point and implementing getBlackRow() - it is not meant for decoding, hence it is not + part of MonochromeBitmapSource itself, and is protected. +

+

+
Specified by:
getLuminance in interface MonochromeBitmapSource
Specified by:
getLuminance in class BaseMonochromeBitmapSource
+
+
+
Parameters:
x - The x coordinate in the image.
y - The y coordinate in the image. +
Returns:
The luminance value between 0 and 255.
+
+
+
+ +

+getLuminanceRow

+
+public int[] getLuminanceRow(int y,
+                             int[] row)
+
+
Description copied from class: BaseMonochromeBitmapSource
+
This is the main mechanism for retrieving luminance data. It is dramatically more efficient + than repeatedly calling getLuminance(). As above, this is not meant for decoders. +

+

+
Specified by:
getLuminanceRow in interface MonochromeBitmapSource
Specified by:
getLuminanceRow in class BaseMonochromeBitmapSource
+
+
+
Parameters:
y - The row to fetch
row - The array to write luminance values into. It is strongly suggested that you + allocate this yourself, making sure row.length >= getWidth(), and reuse the same + array on subsequent calls for performance. If you pass null, you will be flogged, + but then I will take pity on you and allocate a sufficient array internally. +
Returns:
The array containing the luminance data. This is the same as row if it was usable.
+
+
+
+ +

+getLuminanceColumn

+
+public int[] getLuminanceColumn(int x,
+                                int[] column)
+
+
Description copied from class: BaseMonochromeBitmapSource
+
The same as getLuminanceRow(), but for columns. +

+

+
Specified by:
getLuminanceColumn in interface MonochromeBitmapSource
Specified by:
getLuminanceColumn in class BaseMonochromeBitmapSource
+
+
+
Parameters:
x - The column to fetch
column - The array to write luminance values into. See above. +
Returns:
The array containing the luminance data.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/j2me/ZXingMIDlet.html b/docs/javadoc/com/google/zxing/client/j2me/ZXingMIDlet.html new file mode 100644 index 000000000..7521a51db --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/j2me/ZXingMIDlet.html @@ -0,0 +1,318 @@ + + + + + + +ZXingMIDlet + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.j2me +
+Class ZXingMIDlet

+
+java.lang.Object
+  extended by javax.microedition.midlet.MIDlet
+      extended by com.google.zxing.client.j2me.ZXingMIDlet
+
+
+
+
public final class ZXingMIDlet
extends javax.microedition.midlet.MIDlet
+ + +

+

The actual reader application MIDlet.

+

+ +

+

+
Author:
+
Sean Owen, Simon Flannery
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ZXingMIDlet() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voiddestroyApp(boolean unconditional) + +
+           
+protected  voidpauseApp() + +
+           
+protected  voidstartApp() + +
+           
+ + + + + + + +
Methods inherited from class javax.microedition.midlet.MIDlet
checkPermission, getAppProperty, notifyDestroyed, notifyPaused, platformRequest, resumeRequest
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ZXingMIDlet

+
+public ZXingMIDlet()
+
+
+ + + + + + + + +
+Method Detail
+ +

+startApp

+
+protected void startApp()
+                 throws javax.microedition.midlet.MIDletStateChangeException
+
+
+
Specified by:
startApp in class javax.microedition.midlet.MIDlet
+
+
+ +
Throws: +
javax.microedition.midlet.MIDletStateChangeException
+
+
+
+ +

+pauseApp

+
+protected void pauseApp()
+
+
+
Specified by:
pauseApp in class javax.microedition.midlet.MIDlet
+
+
+
+
+
+
+ +

+destroyApp

+
+protected void destroyApp(boolean unconditional)
+
+
+
Specified by:
destroyApp in class javax.microedition.midlet.MIDlet
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/j2me/package-frame.html b/docs/javadoc/com/google/zxing/client/j2me/package-frame.html new file mode 100644 index 000000000..55d3dc9aa --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/j2me/package-frame.html @@ -0,0 +1,34 @@ + + + + + + +com.google.zxing.client.j2me + + + + + + + + + + + +com.google.zxing.client.j2me + + + + +
+Classes  + +
+LCDUIImageMonochromeBitmapSource +
+ZXingMIDlet
+ + + + diff --git a/docs/javadoc/com/google/zxing/client/j2me/package-summary.html b/docs/javadoc/com/google/zxing/client/j2me/package-summary.html new file mode 100644 index 000000000..34ac0210d --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/j2me/package-summary.html @@ -0,0 +1,159 @@ + + + + + + +com.google.zxing.client.j2me + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.client.j2me +

+ + + + + + + + + + + + + +
+Class Summary
LCDUIImageMonochromeBitmapSourceAn implementation based on Java ME's Image representation.
ZXingMIDletThe actual reader application MIDlet.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/j2me/package-tree.html b/docs/javadoc/com/google/zxing/client/j2me/package-tree.html new file mode 100644 index 000000000..556a44831 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/j2me/package-tree.html @@ -0,0 +1,156 @@ + + + + + + +com.google.zxing.client.j2me Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.client.j2me +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/j2se/BufferedImageMonochromeBitmapSource.html b/docs/javadoc/com/google/zxing/client/j2se/BufferedImageMonochromeBitmapSource.html new file mode 100644 index 000000000..424552254 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/j2se/BufferedImageMonochromeBitmapSource.html @@ -0,0 +1,460 @@ + + + + + + +BufferedImageMonochromeBitmapSource + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.j2se +
+Class BufferedImageMonochromeBitmapSource

+
+java.lang.Object
+  extended by com.google.zxing.common.BaseMonochromeBitmapSource
+      extended by com.google.zxing.client.j2se.BufferedImageMonochromeBitmapSource
+
+
+
All Implemented Interfaces:
MonochromeBitmapSource
+
+
+
+
public final class BufferedImageMonochromeBitmapSource
extends BaseMonochromeBitmapSource
+ + +

+

An implementation based upon BufferedImage. This provides access to the + underlying image as if it were a monochrome image. Behind the scenes, it is evaluating + the luminance of the underlying image by retrieving its pixels' RGB values.

+ +

This may also be used to construct a MonochromeBitmapSource + based on a region of a BufferedImage; see + BufferedImageMonochromeBitmapSource(BufferedImage, int, int, int, int).

+

+ +

+

+
Author:
+
Sean Owen, Daniel Switkin (dswitkin@google.com)
+
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
BufferedImageMonochromeBitmapSource(java.awt.image.BufferedImage image) + +
+          Creates an instance that uses the entire given image as a source of pixels to decode.
BufferedImageMonochromeBitmapSource(java.awt.image.BufferedImage image, + int left, + int top, + int right, + int bottom) + +
+          Creates an instance that uses only a region of the given image as a source of pixels to decode.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.awt.image.BufferedImagegetImage() + +
+           
+ intgetLuminance(int x, + int y) + +
+          Extracts luminance from a pixel from this source.
+ int[]getLuminanceColumn(int x, + int[] column) + +
+          The same as getLuminanceRow(), but for columns.
+ int[]getLuminanceRow(int y, + int[] row) + +
+          This is the main mechanism for retrieving luminance data.
+ booleanisRotateSupported() + +
+           
+ MonochromeBitmapSourcerotateCounterClockwise() + +
+          Optional operation which returns an implementation based on the same underlying + image, but which behaves as if the underlying image had been rotated 90 degrees + counterclockwise.
+ + + + + + + +
Methods inherited from class com.google.zxing.common.BaseMonochromeBitmapSource
estimateBlackPoint, getBlackColumn, getBlackDiagonal, getBlackRow, getHeight, getLastEstimationMethod, getWidth, isBlack, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BufferedImageMonochromeBitmapSource

+
+public BufferedImageMonochromeBitmapSource(java.awt.image.BufferedImage image)
+
+
Creates an instance that uses the entire given image as a source of pixels to decode. +

+

+
Parameters:
image - image to decode
+
+
+ +

+BufferedImageMonochromeBitmapSource

+
+public BufferedImageMonochromeBitmapSource(java.awt.image.BufferedImage image,
+                                           int left,
+                                           int top,
+                                           int right,
+                                           int bottom)
+
+
Creates an instance that uses only a region of the given image as a source of pixels to decode. +

+

+
Parameters:
image - image to decode a region of
left - x coordinate of leftmost pixels to decode
top - y coordinate of topmost pixels to decode
right - one more than the x coordinate of rightmost pixels to decode, i.e. we will decode + pixels whose x coordinate is in [left,right)
bottom - likewise, one more than the y coordinate of the bottommost pixels to decode
+
+ + + + + + + + +
+Method Detail
+ +

+getImage

+
+public java.awt.image.BufferedImage getImage()
+
+
+ +
Returns:
underlying BufferedImage behind this instance. Note that even if this instance + only uses a subset of the full image, the returned value here represents the entire backing + image.
+
+
+
+ +

+rotateCounterClockwise

+
+public MonochromeBitmapSource rotateCounterClockwise()
+
+
Description copied from interface: MonochromeBitmapSource
+

Optional operation which returns an implementation based on the same underlying + image, but which behaves as if the underlying image had been rotated 90 degrees + counterclockwise. This is useful in the context of 1D barcodes and the + DecodeHintType.TRY_HARDER decode hint, and is only intended to be + used in non-resource-constrained environments. Hence, implementations + of this class which are only used in resource-constrained mobile environments + don't have a need to implement this.

+

+

+
Specified by:
rotateCounterClockwise in interface MonochromeBitmapSource
Overrides:
rotateCounterClockwise in class BaseMonochromeBitmapSource
+
+
+
+
+
+
+ +

+isRotateSupported

+
+public boolean isRotateSupported()
+
+
+
Specified by:
isRotateSupported in interface MonochromeBitmapSource
Overrides:
isRotateSupported in class BaseMonochromeBitmapSource
+
+
+ +
Returns:
true iff rotation is supported
See Also:
MonochromeBitmapSource.rotateCounterClockwise()
+
+
+
+ +

+getLuminance

+
+public int getLuminance(int x,
+                        int y)
+
+
Extracts luminance from a pixel from this source. By default, the source is assumed to use RGB, + so this implementation computes luminance is a function of a red, green and blue components as + follows: + + Y = 0.299R + 0.587G + 0.114B + + where R, G, and B are values in [0,1]. +

+

+
Specified by:
getLuminance in interface MonochromeBitmapSource
Specified by:
getLuminance in class BaseMonochromeBitmapSource
+
+
+
Parameters:
x - The x coordinate in the image.
y - The y coordinate in the image. +
Returns:
The luminance value between 0 and 255.
+
+
+
+ +

+getLuminanceRow

+
+public int[] getLuminanceRow(int y,
+                             int[] row)
+
+
Description copied from class: BaseMonochromeBitmapSource
+
This is the main mechanism for retrieving luminance data. It is dramatically more efficient + than repeatedly calling getLuminance(). As above, this is not meant for decoders. +

+

+
Specified by:
getLuminanceRow in interface MonochromeBitmapSource
Specified by:
getLuminanceRow in class BaseMonochromeBitmapSource
+
+
+
Parameters:
y - The row to fetch
row - The array to write luminance values into. It is strongly suggested that you + allocate this yourself, making sure row.length >= getWidth(), and reuse the same + array on subsequent calls for performance. If you pass null, you will be flogged, + but then I will take pity on you and allocate a sufficient array internally. +
Returns:
The array containing the luminance data. This is the same as row if it was usable.
+
+
+
+ +

+getLuminanceColumn

+
+public int[] getLuminanceColumn(int x,
+                                int[] column)
+
+
Description copied from class: BaseMonochromeBitmapSource
+
The same as getLuminanceRow(), but for columns. +

+

+
Specified by:
getLuminanceColumn in interface MonochromeBitmapSource
Specified by:
getLuminanceColumn in class BaseMonochromeBitmapSource
+
+
+
Parameters:
x - The column to fetch
column - The array to write luminance values into. See above. +
Returns:
The array containing the luminance data.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/j2se/CommandLineRunner.html b/docs/javadoc/com/google/zxing/client/j2se/CommandLineRunner.html new file mode 100644 index 000000000..285265f63 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/j2se/CommandLineRunner.html @@ -0,0 +1,231 @@ + + + + + + +CommandLineRunner + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.j2se +
+Class CommandLineRunner

+
+java.lang.Object
+  extended by com.google.zxing.client.j2se.CommandLineRunner
+
+
+
+
public final class CommandLineRunner
extends java.lang.Object
+ + +

+

This simple command line utility decodes files, directories of files, or URIs which are passed + as arguments. By default it uses the normal decoding algorithms, but you can pass --try_harder to + request that hint. The raw text of each barcode is printed, and when running against directories, + summary statistics are also displayed.

+

+ +

+

+
Author:
+
Sean Owen, dswitkin@google.com (Daniel Switkin)
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+static voidmain(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/j2se/GUIRunner.html b/docs/javadoc/com/google/zxing/client/j2se/GUIRunner.html new file mode 100644 index 000000000..684ed8fdc --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/j2se/GUIRunner.html @@ -0,0 +1,404 @@ + + + + + + +GUIRunner + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.j2se +
+Class GUIRunner

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by java.awt.Window
+              extended by java.awt.Frame
+                  extended by javax.swing.JFrame
+                      extended by com.google.zxing.client.j2se.GUIRunner
+
+
+
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants
+
+
+
+
public final class GUIRunner
extends javax.swing.JFrame
+ + +

+

Simple GUI frontend to the library. Right now, only decodes a local file. + This definitely needs some improvement. Just throwing something down to start.

+

+ +

+

+
Author:
+
Sean Owen
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Frame
java.awt.Frame.AccessibleAWTFrame
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JFrame
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
+ + + + + + + +
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
+ + + + + + + +
Methods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
+ + + + + + + +
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
+  +

+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.net.MalformedURLException
+
+
+ +
Throws: +
java.net.MalformedURLException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/j2se/ImageConverter.html b/docs/javadoc/com/google/zxing/client/j2se/ImageConverter.html new file mode 100644 index 000000000..aaaf5a4c0 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/j2se/ImageConverter.html @@ -0,0 +1,231 @@ + + + + + + +ImageConverter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.j2se +
+Class ImageConverter

+
+java.lang.Object
+  extended by com.google.zxing.client.j2se.ImageConverter
+
+
+
+
public final class ImageConverter
extends java.lang.Object
+ + +

+Utility application for evaluating the effectiveness of the BlackPointEstimator used by + MonochromeBitmapSource. Given a set of images on the command line, it converts each to a + black-and-white PNG. The result is placed in a file based on the input name, with either + "_converted_row" or "_converted_2d" appended. +

+ +

+

+
Author:
+
alasdair@google.com (Alasdair Mackintosh), dswitkin@google.com (Daniel Switkin)
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+static voidmain(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(java.lang.String[] args)
+                 throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/j2se/package-frame.html b/docs/javadoc/com/google/zxing/client/j2se/package-frame.html new file mode 100644 index 000000000..173a1c269 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/j2se/package-frame.html @@ -0,0 +1,38 @@ + + + + + + +com.google.zxing.client.j2se + + + + + + + + + + + +com.google.zxing.client.j2se + + + + +
+Classes  + +
+BufferedImageMonochromeBitmapSource +
+CommandLineRunner +
+GUIRunner +
+ImageConverter
+ + + + diff --git a/docs/javadoc/com/google/zxing/client/j2se/package-summary.html b/docs/javadoc/com/google/zxing/client/j2se/package-summary.html new file mode 100644 index 000000000..a38ef3a5f --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/j2se/package-summary.html @@ -0,0 +1,169 @@ + + + + + + +com.google.zxing.client.j2se + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.client.j2se +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
BufferedImageMonochromeBitmapSourceAn implementation based upon BufferedImage.
CommandLineRunnerThis simple command line utility decodes files, directories of files, or URIs which are passed + as arguments.
GUIRunnerSimple GUI frontend to the library.
ImageConverterUtility application for evaluating the effectiveness of the BlackPointEstimator used by + MonochromeBitmapSource.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/j2se/package-tree.html b/docs/javadoc/com/google/zxing/client/j2se/package-tree.html new file mode 100644 index 000000000..87712f2ce --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/j2se/package-tree.html @@ -0,0 +1,168 @@ + + + + + + +com.google.zxing.client.j2se Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.client.j2se +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/result/AddressBookParsedResult.html b/docs/javadoc/com/google/zxing/client/result/AddressBookParsedResult.html new file mode 100644 index 000000000..edf9445da --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/AddressBookParsedResult.html @@ -0,0 +1,480 @@ + + + + + + +AddressBookParsedResult + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.result +
+Class AddressBookParsedResult

+
+java.lang.Object
+  extended by com.google.zxing.client.result.ParsedResult
+      extended by com.google.zxing.client.result.AddressBookParsedResult
+
+
+
+
public final class AddressBookParsedResult
extends ParsedResult
+ + +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
AddressBookParsedResult(java.lang.String[] names, + java.lang.String pronunciation, + java.lang.String[] phoneNumbers, + java.lang.String[] emails, + java.lang.String note, + java.lang.String address, + java.lang.String org, + java.lang.String birthday, + java.lang.String title, + java.lang.String url) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetAddress() + +
+           
+ java.lang.StringgetBirthday() + +
+           
+ java.lang.StringgetDisplayResult() + +
+           
+ java.lang.String[]getEmails() + +
+           
+ java.lang.String[]getNames() + +
+           
+ java.lang.StringgetNote() + +
+           
+ java.lang.StringgetOrg() + +
+           
+ java.lang.String[]getPhoneNumbers() + +
+           
+ java.lang.StringgetPronunciation() + +
+          In Japanese, the name is written in kanji, which can have multiple readings.
+ java.lang.StringgetTitle() + +
+           
+ java.lang.StringgetURL() + +
+           
+ + + + + + + +
Methods inherited from class com.google.zxing.client.result.ParsedResult
getType, maybeAppend, maybeAppend, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AddressBookParsedResult

+
+public AddressBookParsedResult(java.lang.String[] names,
+                               java.lang.String pronunciation,
+                               java.lang.String[] phoneNumbers,
+                               java.lang.String[] emails,
+                               java.lang.String note,
+                               java.lang.String address,
+                               java.lang.String org,
+                               java.lang.String birthday,
+                               java.lang.String title,
+                               java.lang.String url)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getNames

+
+public java.lang.String[] getNames()
+
+
+
+
+
+
+ +

+getPronunciation

+
+public java.lang.String getPronunciation()
+
+
In Japanese, the name is written in kanji, which can have multiple readings. Therefore a hint + is often provided, called furigana, which spells the name phonetically. +

+

+ +
Returns:
The pronunciation of the getNames() field, often in hiragana or katakana.
+
+
+
+ +

+getPhoneNumbers

+
+public java.lang.String[] getPhoneNumbers()
+
+
+
+
+
+
+ +

+getEmails

+
+public java.lang.String[] getEmails()
+
+
+
+
+
+
+ +

+getNote

+
+public java.lang.String getNote()
+
+
+
+
+
+
+ +

+getAddress

+
+public java.lang.String getAddress()
+
+
+
+
+
+
+ +

+getTitle

+
+public java.lang.String getTitle()
+
+
+
+
+
+
+ +

+getOrg

+
+public java.lang.String getOrg()
+
+
+
+
+
+
+ +

+getURL

+
+public java.lang.String getURL()
+
+
+
+
+
+
+ +

+getBirthday

+
+public java.lang.String getBirthday()
+
+
+ +
Returns:
birthday formatted as yyyyMMdd (e.g. 19780917)
+
+
+
+ +

+getDisplayResult

+
+public java.lang.String getDisplayResult()
+
+
+
Specified by:
getDisplayResult in class ParsedResult
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/result/CalendarParsedResult.html b/docs/javadoc/com/google/zxing/client/result/CalendarParsedResult.html new file mode 100644 index 000000000..073ac8772 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/CalendarParsedResult.html @@ -0,0 +1,398 @@ + + + + + + +CalendarParsedResult + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.result +
+Class CalendarParsedResult

+
+java.lang.Object
+  extended by com.google.zxing.client.result.ParsedResult
+      extended by com.google.zxing.client.result.CalendarParsedResult
+
+
+
+
public final class CalendarParsedResult
extends ParsedResult
+ + +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
CalendarParsedResult(java.lang.String summary, + java.lang.String start, + java.lang.String end, + java.lang.String location, + java.lang.String attendee, + java.lang.String title) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetAttendee() + +
+           
+ java.lang.StringgetDisplayResult() + +
+           
+ java.lang.StringgetEnd() + +
+           
+ java.lang.StringgetLocation() + +
+           
+ java.lang.StringgetStart() + +
+          We would return the start and end date as a Date except that this code + needs to work under JavaME / MIDP and there is no date parsing library available there, such + as java.text.SimpleDateFormat.
+ java.lang.StringgetSummary() + +
+           
+ java.lang.StringgetTitle() + +
+           
+ + + + + + + +
Methods inherited from class com.google.zxing.client.result.ParsedResult
getType, maybeAppend, maybeAppend, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CalendarParsedResult

+
+public CalendarParsedResult(java.lang.String summary,
+                            java.lang.String start,
+                            java.lang.String end,
+                            java.lang.String location,
+                            java.lang.String attendee,
+                            java.lang.String title)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getSummary

+
+public java.lang.String getSummary()
+
+
+
+
+
+
+ +

+getStart

+
+public java.lang.String getStart()
+
+

We would return the start and end date as a Date except that this code + needs to work under JavaME / MIDP and there is no date parsing library available there, such + as java.text.SimpleDateFormat.

See validateDate() for the return format. +

+

+ +
Returns:
start time formatted as a RFC 2445 DATE or DATE-TIME.

+
+
+
+ +

+getEnd

+
+public java.lang.String getEnd()
+
+
+
See Also:
May return null if the event has no duration.
+
+
+
+ +

+getLocation

+
+public java.lang.String getLocation()
+
+
+
+
+
+
+ +

+getAttendee

+
+public java.lang.String getAttendee()
+
+
+
+
+
+
+ +

+getTitle

+
+public java.lang.String getTitle()
+
+
+
+
+
+
+ +

+getDisplayResult

+
+public java.lang.String getDisplayResult()
+
+
+
Specified by:
getDisplayResult in class ParsedResult
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/result/EmailAddressParsedResult.html b/docs/javadoc/com/google/zxing/client/result/EmailAddressParsedResult.html new file mode 100644 index 000000000..0eca01f38 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/EmailAddressParsedResult.html @@ -0,0 +1,310 @@ + + + + + + +EmailAddressParsedResult + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.result +
+Class EmailAddressParsedResult

+
+java.lang.Object
+  extended by com.google.zxing.client.result.ParsedResult
+      extended by com.google.zxing.client.result.EmailAddressParsedResult
+
+
+
+
public final class EmailAddressParsedResult
extends ParsedResult
+ + +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetBody() + +
+           
+ java.lang.StringgetDisplayResult() + +
+           
+ java.lang.StringgetEmailAddress() + +
+           
+ java.lang.StringgetMailtoURI() + +
+           
+ java.lang.StringgetSubject() + +
+           
+ + + + + + + +
Methods inherited from class com.google.zxing.client.result.ParsedResult
getType, maybeAppend, maybeAppend, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getEmailAddress

+
+public java.lang.String getEmailAddress()
+
+
+
+
+
+
+ +

+getSubject

+
+public java.lang.String getSubject()
+
+
+
+
+
+
+ +

+getBody

+
+public java.lang.String getBody()
+
+
+
+
+
+
+ +

+getMailtoURI

+
+public java.lang.String getMailtoURI()
+
+
+
+
+
+
+ +

+getDisplayResult

+
+public java.lang.String getDisplayResult()
+
+
+
Specified by:
getDisplayResult in class ParsedResult
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/result/GeoParsedResult.html b/docs/javadoc/com/google/zxing/client/result/GeoParsedResult.html new file mode 100644 index 000000000..ab986b087 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/GeoParsedResult.html @@ -0,0 +1,313 @@ + + + + + + +GeoParsedResult + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.result +
+Class GeoParsedResult

+
+java.lang.Object
+  extended by com.google.zxing.client.result.ParsedResult
+      extended by com.google.zxing.client.result.GeoParsedResult
+
+
+
+
public final class GeoParsedResult
extends ParsedResult
+ + +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ doublegetAltitude() + +
+           
+ java.lang.StringgetDisplayResult() + +
+           
+ java.lang.StringgetGeoURI() + +
+           
+ doublegetLatitude() + +
+           
+ doublegetLongitude() + +
+           
+ + + + + + + +
Methods inherited from class com.google.zxing.client.result.ParsedResult
getType, maybeAppend, maybeAppend, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getGeoURI

+
+public java.lang.String getGeoURI()
+
+
+
+
+
+
+ +

+getLatitude

+
+public double getLatitude()
+
+
+ +
Returns:
latitude in degrees
+
+
+
+ +

+getLongitude

+
+public double getLongitude()
+
+
+ +
Returns:
longitude in degrees
+
+
+
+ +

+getAltitude

+
+public double getAltitude()
+
+
+ +
Returns:
altitude in meters. If not specified, in the geo URI, returns 0.0
+
+
+
+ +

+getDisplayResult

+
+public java.lang.String getDisplayResult()
+
+
+
Specified by:
getDisplayResult in class ParsedResult
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/result/ISBNParsedResult.html b/docs/javadoc/com/google/zxing/client/result/ISBNParsedResult.html new file mode 100644 index 000000000..080719dec --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/ISBNParsedResult.html @@ -0,0 +1,253 @@ + + + + + + +ISBNParsedResult + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.result +
+Class ISBNParsedResult

+
+java.lang.Object
+  extended by com.google.zxing.client.result.ParsedResult
+      extended by com.google.zxing.client.result.ISBNParsedResult
+
+
+
+
public final class ISBNParsedResult
extends ParsedResult
+ + +

+

+
Author:
+
jbreiden@google.com (Jeff Breidenbach)
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetDisplayResult() + +
+           
+ java.lang.StringgetISBN() + +
+           
+ + + + + + + +
Methods inherited from class com.google.zxing.client.result.ParsedResult
getType, maybeAppend, maybeAppend, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getISBN

+
+public java.lang.String getISBN()
+
+
+
+
+
+
+ +

+getDisplayResult

+
+public java.lang.String getDisplayResult()
+
+
+
Specified by:
getDisplayResult in class ParsedResult
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/result/ISBNResultParser.html b/docs/javadoc/com/google/zxing/client/result/ISBNResultParser.html new file mode 100644 index 000000000..a28f26446 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/ISBNResultParser.html @@ -0,0 +1,235 @@ + + + + + + +ISBNResultParser + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.result +
+Class ISBNResultParser

+
+java.lang.Object
+  extended by com.google.zxing.client.result.ResultParser
+      extended by com.google.zxing.client.result.ISBNResultParser
+
+
+
+
public class ISBNResultParser
extends ResultParser
+ + +

+Parses strings of digits that represent a ISBN. +

+ +

+

+
Author:
+
jbreiden@google.com (Jeff Breidenbach)
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+static ISBNParsedResultparse(Result result) + +
+           
+ + + + + + + +
Methods inherited from class com.google.zxing.client.result.ResultParser
isStringOfDigits, maybeAppend, maybeAppend, maybeWrap, parseResult, unescapeBackslash
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+parse

+
+public static ISBNParsedResult parse(Result result)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/result/ParsedResult.html b/docs/javadoc/com/google/zxing/client/result/ParsedResult.html new file mode 100644 index 000000000..34068c957 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/ParsedResult.html @@ -0,0 +1,352 @@ + + + + + + +ParsedResult + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.result +
+Class ParsedResult

+
+java.lang.Object
+  extended by com.google.zxing.client.result.ParsedResult
+
+
+
Direct Known Subclasses:
AddressBookParsedResult, AndroidIntentParsedResult, CalendarParsedResult, EmailAddressParsedResult, GeoParsedResult, ISBNParsedResult, MobileTagRichWebParsedResult, NDEFSmartPosterParsedResult, ProductParsedResult, SMSParsedResult, TelParsedResult, TextParsedResult, URIParsedResult
+
+
+
+
public abstract class ParsedResult
extends java.lang.Object
+ + +

+

Abstract class representing the result of decoding a barcode, as more than + a String -- as some type of structured data. This might be a subclass which represents + a URL, or an e-mail address. ResultParser.parseResult(Result) will turn a raw + decoded string into the most appropriate type of structured representation.

+ +

Thanks to Jeff Griffin for proposing rewrite of these classes that relies less + on exception-based mechanisms during parsing.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + +
+Constructor Summary
+protected ParsedResult(ParsedResultType type) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+abstract  java.lang.StringgetDisplayResult() + +
+           
+ ParsedResultTypegetType() + +
+           
+static voidmaybeAppend(java.lang.String[] value, + java.lang.StringBuffer result) + +
+           
+static voidmaybeAppend(java.lang.String value, + java.lang.StringBuffer result) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ParsedResult

+
+protected ParsedResult(ParsedResultType type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getType

+
+public ParsedResultType getType()
+
+
+
+
+
+
+ +

+getDisplayResult

+
+public abstract java.lang.String getDisplayResult()
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+maybeAppend

+
+public static void maybeAppend(java.lang.String value,
+                               java.lang.StringBuffer result)
+
+
+
+
+
+
+ +

+maybeAppend

+
+public static void maybeAppend(java.lang.String[] value,
+                               java.lang.StringBuffer result)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/result/ParsedResultType.html b/docs/javadoc/com/google/zxing/client/result/ParsedResultType.html new file mode 100644 index 000000000..6269b13c3 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/ParsedResultType.html @@ -0,0 +1,481 @@ + + + + + + +ParsedResultType + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.result +
+Class ParsedResultType

+
+java.lang.Object
+  extended by com.google.zxing.client.result.ParsedResultType
+
+
+
+
public final class ParsedResultType
extends java.lang.Object
+ + +

+Represents the type of data encoded by a barcode -- from plain text, to a + URI, to an e-mail address, etc. +

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static ParsedResultTypeADDRESSBOOK + +
+           
+static ParsedResultTypeANDROID_INTENT + +
+           
+static ParsedResultTypeCALENDAR + +
+           
+static ParsedResultTypeEMAIL_ADDRESS + +
+           
+static ParsedResultTypeGEO + +
+           
+static ParsedResultTypeISBN + +
+           
+static ParsedResultTypeMOBILETAG_RICH_WEB + +
+           
+static ParsedResultTypeNDEF_SMART_POSTER + +
+           
+static ParsedResultTypePRODUCT + +
+           
+static ParsedResultTypeSMS + +
+           
+static ParsedResultTypeTEL + +
+           
+static ParsedResultTypeTEXT + +
+           
+static ParsedResultTypeURI + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ADDRESSBOOK

+
+public static final ParsedResultType ADDRESSBOOK
+
+
+
+
+
+ +

+EMAIL_ADDRESS

+
+public static final ParsedResultType EMAIL_ADDRESS
+
+
+
+
+
+ +

+PRODUCT

+
+public static final ParsedResultType PRODUCT
+
+
+
+
+
+ +

+URI

+
+public static final ParsedResultType URI
+
+
+
+
+
+ +

+TEXT

+
+public static final ParsedResultType TEXT
+
+
+
+
+
+ +

+ANDROID_INTENT

+
+public static final ParsedResultType ANDROID_INTENT
+
+
+
+
+
+ +

+GEO

+
+public static final ParsedResultType GEO
+
+
+
+
+
+ +

+TEL

+
+public static final ParsedResultType TEL
+
+
+
+
+
+ +

+SMS

+
+public static final ParsedResultType SMS
+
+
+
+
+
+ +

+CALENDAR

+
+public static final ParsedResultType CALENDAR
+
+
+
+
+
+ +

+NDEF_SMART_POSTER

+
+public static final ParsedResultType NDEF_SMART_POSTER
+
+
+
+
+
+ +

+MOBILETAG_RICH_WEB

+
+public static final ParsedResultType MOBILETAG_RICH_WEB
+
+
+
+
+
+ +

+ISBN

+
+public static final ParsedResultType ISBN
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/result/ProductParsedResult.html b/docs/javadoc/com/google/zxing/client/result/ProductParsedResult.html new file mode 100644 index 000000000..bce5bfe5f --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/ProductParsedResult.html @@ -0,0 +1,272 @@ + + + + + + +ProductParsedResult + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.result +
+Class ProductParsedResult

+
+java.lang.Object
+  extended by com.google.zxing.client.result.ParsedResult
+      extended by com.google.zxing.client.result.ProductParsedResult
+
+
+
+
public final class ProductParsedResult
extends ParsedResult
+ + +

+

+
Author:
+
dswitkin@google.com (Daniel Switkin)
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetDisplayResult() + +
+           
+ java.lang.StringgetNormalizedProductID() + +
+           
+ java.lang.StringgetProductID() + +
+           
+ + + + + + + +
Methods inherited from class com.google.zxing.client.result.ParsedResult
getType, maybeAppend, maybeAppend, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getProductID

+
+public java.lang.String getProductID()
+
+
+
+
+
+
+ +

+getNormalizedProductID

+
+public java.lang.String getNormalizedProductID()
+
+
+
+
+
+
+ +

+getDisplayResult

+
+public java.lang.String getDisplayResult()
+
+
+
Specified by:
getDisplayResult in class ParsedResult
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/result/ResultParser.html b/docs/javadoc/com/google/zxing/client/result/ResultParser.html new file mode 100644 index 000000000..e4eac2f85 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/ResultParser.html @@ -0,0 +1,368 @@ + + + + + + +ResultParser + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.result +
+Class ResultParser

+
+java.lang.Object
+  extended by com.google.zxing.client.result.ResultParser
+
+
+
Direct Known Subclasses:
ISBNResultParser
+
+
+
+
public abstract class ResultParser
extends java.lang.Object
+ + +

+

Abstract class representing the result of decoding a barcode, as more than + a String -- as some type of structured data. This might be a subclass which represents + a URL, or an e-mail address. parseResult(com.google.zxing.Result) will turn a raw + decoded string into the most appropriate type of structured representation.

+ +

Thanks to Jeff Griffin for proposing rewrite of these classes that relies less + on exception-based mechanisms during parsing.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ResultParser() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected static booleanisStringOfDigits(java.lang.String value, + int length) + +
+           
+protected static voidmaybeAppend(java.lang.String[] value, + java.lang.StringBuffer result) + +
+           
+protected static voidmaybeAppend(java.lang.String value, + java.lang.StringBuffer result) + +
+           
+protected static java.lang.String[]maybeWrap(java.lang.String value) + +
+           
+static ParsedResultparseResult(Result theResult) + +
+           
+protected static java.lang.StringunescapeBackslash(java.lang.String escaped) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ResultParser

+
+public ResultParser()
+
+
+ + + + + + + + +
+Method Detail
+ +

+parseResult

+
+public static ParsedResult parseResult(Result theResult)
+
+
+
+
+
+
+ +

+maybeAppend

+
+protected static void maybeAppend(java.lang.String value,
+                                  java.lang.StringBuffer result)
+
+
+
+
+
+
+ +

+maybeAppend

+
+protected static void maybeAppend(java.lang.String[] value,
+                                  java.lang.StringBuffer result)
+
+
+
+
+
+
+ +

+maybeWrap

+
+protected static java.lang.String[] maybeWrap(java.lang.String value)
+
+
+
+
+
+
+ +

+unescapeBackslash

+
+protected static java.lang.String unescapeBackslash(java.lang.String escaped)
+
+
+
+
+
+
+ +

+isStringOfDigits

+
+protected static boolean isStringOfDigits(java.lang.String value,
+                                          int length)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/result/SMSParsedResult.html b/docs/javadoc/com/google/zxing/client/result/SMSParsedResult.html new file mode 100644 index 000000000..451597258 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/SMSParsedResult.html @@ -0,0 +1,391 @@ + + + + + + +SMSParsedResult + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.result +
+Class SMSParsedResult

+
+java.lang.Object
+  extended by com.google.zxing.client.result.ParsedResult
+      extended by com.google.zxing.client.result.SMSParsedResult
+
+
+
+
public final class SMSParsedResult
extends ParsedResult
+ + +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
SMSParsedResult(java.lang.String smsURI, + java.lang.String number, + java.lang.String via, + java.lang.String subject, + java.lang.String body, + java.lang.String title) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetBody() + +
+           
+ java.lang.StringgetDisplayResult() + +
+           
+ java.lang.StringgetNumber() + +
+           
+ java.lang.StringgetSMSURI() + +
+           
+ java.lang.StringgetSubject() + +
+           
+ java.lang.StringgetTitle() + +
+           
+ java.lang.StringgetVia() + +
+           
+ + + + + + + +
Methods inherited from class com.google.zxing.client.result.ParsedResult
getType, maybeAppend, maybeAppend, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SMSParsedResult

+
+public SMSParsedResult(java.lang.String smsURI,
+                       java.lang.String number,
+                       java.lang.String via,
+                       java.lang.String subject,
+                       java.lang.String body,
+                       java.lang.String title)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getSMSURI

+
+public java.lang.String getSMSURI()
+
+
+
+
+
+
+ +

+getNumber

+
+public java.lang.String getNumber()
+
+
+
+
+
+
+ +

+getVia

+
+public java.lang.String getVia()
+
+
+
+
+
+
+ +

+getSubject

+
+public java.lang.String getSubject()
+
+
+
+
+
+
+ +

+getBody

+
+public java.lang.String getBody()
+
+
+
+
+
+
+ +

+getTitle

+
+public java.lang.String getTitle()
+
+
+
+
+
+
+ +

+getDisplayResult

+
+public java.lang.String getDisplayResult()
+
+
+
Specified by:
getDisplayResult in class ParsedResult
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/result/TelParsedResult.html b/docs/javadoc/com/google/zxing/client/result/TelParsedResult.html new file mode 100644 index 000000000..4a2e1b457 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/TelParsedResult.html @@ -0,0 +1,328 @@ + + + + + + +TelParsedResult + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.result +
+Class TelParsedResult

+
+java.lang.Object
+  extended by com.google.zxing.client.result.ParsedResult
+      extended by com.google.zxing.client.result.TelParsedResult
+
+
+
+
public final class TelParsedResult
extends ParsedResult
+ + +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
TelParsedResult(java.lang.String number, + java.lang.String telURI, + java.lang.String title) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetDisplayResult() + +
+           
+ java.lang.StringgetNumber() + +
+           
+ java.lang.StringgetTelURI() + +
+           
+ java.lang.StringgetTitle() + +
+           
+ + + + + + + +
Methods inherited from class com.google.zxing.client.result.ParsedResult
getType, maybeAppend, maybeAppend, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TelParsedResult

+
+public TelParsedResult(java.lang.String number,
+                       java.lang.String telURI,
+                       java.lang.String title)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getNumber

+
+public java.lang.String getNumber()
+
+
+
+
+
+
+ +

+getTelURI

+
+public java.lang.String getTelURI()
+
+
+
+
+
+
+ +

+getTitle

+
+public java.lang.String getTitle()
+
+
+
+
+
+
+ +

+getDisplayResult

+
+public java.lang.String getDisplayResult()
+
+
+
Specified by:
getDisplayResult in class ParsedResult
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/result/TextParsedResult.html b/docs/javadoc/com/google/zxing/client/result/TextParsedResult.html new file mode 100644 index 000000000..b129007d8 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/TextParsedResult.html @@ -0,0 +1,312 @@ + + + + + + +TextParsedResult + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.result +
+Class TextParsedResult

+
+java.lang.Object
+  extended by com.google.zxing.client.result.ParsedResult
+      extended by com.google.zxing.client.result.TextParsedResult
+
+
+
+
public final class TextParsedResult
extends ParsedResult
+ + +

+A simple result type encapsulating a string that has no further + interpretation. +

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
TextParsedResult(java.lang.String text, + java.lang.String language) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetDisplayResult() + +
+           
+ java.lang.StringgetLanguage() + +
+           
+ java.lang.StringgetText() + +
+           
+ + + + + + + +
Methods inherited from class com.google.zxing.client.result.ParsedResult
getType, maybeAppend, maybeAppend, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TextParsedResult

+
+public TextParsedResult(java.lang.String text,
+                        java.lang.String language)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getText

+
+public java.lang.String getText()
+
+
+
+
+
+
+ +

+getLanguage

+
+public java.lang.String getLanguage()
+
+
+
+
+
+
+ +

+getDisplayResult

+
+public java.lang.String getDisplayResult()
+
+
+
Specified by:
getDisplayResult in class ParsedResult
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/result/URIParsedResult.html b/docs/javadoc/com/google/zxing/client/result/URIParsedResult.html new file mode 100644 index 000000000..a6f27828f --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/URIParsedResult.html @@ -0,0 +1,332 @@ + + + + + + +URIParsedResult + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.result +
+Class URIParsedResult

+
+java.lang.Object
+  extended by com.google.zxing.client.result.ParsedResult
+      extended by com.google.zxing.client.result.URIParsedResult
+
+
+
+
public final class URIParsedResult
extends ParsedResult
+ + +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
URIParsedResult(java.lang.String uri, + java.lang.String title) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetDisplayResult() + +
+           
+ java.lang.StringgetTitle() + +
+           
+ java.lang.StringgetURI() + +
+           
+ booleanisPossiblyMaliciousURI() + +
+           
+ + + + + + + +
Methods inherited from class com.google.zxing.client.result.ParsedResult
getType, maybeAppend, maybeAppend, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+URIParsedResult

+
+public URIParsedResult(java.lang.String uri,
+                       java.lang.String title)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getURI

+
+public java.lang.String getURI()
+
+
+
+
+
+
+ +

+getTitle

+
+public java.lang.String getTitle()
+
+
+
+
+
+
+ +

+isPossiblyMaliciousURI

+
+public boolean isPossiblyMaliciousURI()
+
+
+ +
Returns:
true if the URI contains suspicious patterns that may suggest it intends to + mislead the user about its true nature. At the moment this looks for the presence + of user/password syntax in the host/authority portion of a URI which may be used + in attempts to make the URI's host appear to be other than it is. Example: + http://yourbank.com@phisher.com This URI connects to phisher.com but may appear + to connect to yourbank.com at first glance.
+
+
+
+ +

+getDisplayResult

+
+public java.lang.String getDisplayResult()
+
+
+
Specified by:
getDisplayResult in class ParsedResult
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/result/optional/MobileTagRichWebParsedResult.html b/docs/javadoc/com/google/zxing/client/result/optional/MobileTagRichWebParsedResult.html new file mode 100644 index 000000000..3f63e15d4 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/optional/MobileTagRichWebParsedResult.html @@ -0,0 +1,310 @@ + + + + + + +MobileTagRichWebParsedResult + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.result.optional +
+Class MobileTagRichWebParsedResult

+
+java.lang.Object
+  extended by com.google.zxing.client.result.ParsedResult
+      extended by com.google.zxing.client.result.optional.MobileTagRichWebParsedResult
+
+
+
+
public final class MobileTagRichWebParsedResult
extends ParsedResult
+ + +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetAction() + +
+           
+ java.lang.StringgetDisplayResult() + +
+           
+ java.lang.StringgetId() + +
+           
+ java.lang.StringgetTagserverURI() + +
+           
+static java.lang.StringgetTagserverURIPrefix() + +
+           
+ + + + + + + +
Methods inherited from class com.google.zxing.client.result.ParsedResult
getType, maybeAppend, maybeAppend, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getTagserverURIPrefix

+
+public static java.lang.String getTagserverURIPrefix()
+
+
+
+
+
+
+ +

+getId

+
+public java.lang.String getId()
+
+
+
+
+
+
+ +

+getAction

+
+public int getAction()
+
+
+
+
+
+
+ +

+getTagserverURI

+
+public java.lang.String getTagserverURI()
+
+
+
+
+
+
+ +

+getDisplayResult

+
+public java.lang.String getDisplayResult()
+
+
+
Specified by:
getDisplayResult in class ParsedResult
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/result/optional/NDEFSmartPosterParsedResult.html b/docs/javadoc/com/google/zxing/client/result/optional/NDEFSmartPosterParsedResult.html new file mode 100644 index 000000000..7aecda337 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/optional/NDEFSmartPosterParsedResult.html @@ -0,0 +1,381 @@ + + + + + + +NDEFSmartPosterParsedResult + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.result.optional +
+Class NDEFSmartPosterParsedResult

+
+java.lang.Object
+  extended by com.google.zxing.client.result.ParsedResult
+      extended by com.google.zxing.client.result.optional.NDEFSmartPosterParsedResult
+
+
+
+
public final class NDEFSmartPosterParsedResult
extends ParsedResult
+ + +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intACTION_DO + +
+           
+static intACTION_OPEN + +
+           
+static intACTION_SAVE + +
+           
+static intACTION_UNSPECIFIED + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetAction() + +
+           
+ java.lang.StringgetDisplayResult() + +
+           
+ java.lang.StringgetTitle() + +
+           
+ java.lang.StringgetURI() + +
+           
+ + + + + + + +
Methods inherited from class com.google.zxing.client.result.ParsedResult
getType, maybeAppend, maybeAppend, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ACTION_UNSPECIFIED

+
+public static final int ACTION_UNSPECIFIED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ACTION_DO

+
+public static final int ACTION_DO
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ACTION_SAVE

+
+public static final int ACTION_SAVE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ACTION_OPEN

+
+public static final int ACTION_OPEN
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+getTitle

+
+public java.lang.String getTitle()
+
+
+
+
+
+
+ +

+getURI

+
+public java.lang.String getURI()
+
+
+
+
+
+
+ +

+getAction

+
+public int getAction()
+
+
+
+
+
+
+ +

+getDisplayResult

+
+public java.lang.String getDisplayResult()
+
+
+
Specified by:
getDisplayResult in class ParsedResult
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/result/optional/package-frame.html b/docs/javadoc/com/google/zxing/client/result/optional/package-frame.html new file mode 100644 index 000000000..8a64687e0 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/optional/package-frame.html @@ -0,0 +1,34 @@ + + + + + + +com.google.zxing.client.result.optional + + + + + + + + + + + +com.google.zxing.client.result.optional + + + + +
+Classes  + +
+MobileTagRichWebParsedResult +
+NDEFSmartPosterParsedResult
+ + + + diff --git a/docs/javadoc/com/google/zxing/client/result/optional/package-summary.html b/docs/javadoc/com/google/zxing/client/result/optional/package-summary.html new file mode 100644 index 000000000..0ce818248 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/optional/package-summary.html @@ -0,0 +1,159 @@ + + + + + + +com.google.zxing.client.result.optional + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.client.result.optional +

+ + + + + + + + + + + + + +
+Class Summary
MobileTagRichWebParsedResult 
NDEFSmartPosterParsedResult 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/result/optional/package-tree.html b/docs/javadoc/com/google/zxing/client/result/optional/package-tree.html new file mode 100644 index 000000000..649da1142 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/optional/package-tree.html @@ -0,0 +1,153 @@ + + + + + + +com.google.zxing.client.result.optional Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.client.result.optional +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/result/package-frame.html b/docs/javadoc/com/google/zxing/client/result/package-frame.html new file mode 100644 index 000000000..fa90e0c02 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/package-frame.html @@ -0,0 +1,58 @@ + + + + + + +com.google.zxing.client.result + + + + + + + + + + + +com.google.zxing.client.result + + + + +
+Classes  + +
+AddressBookParsedResult +
+CalendarParsedResult +
+EmailAddressParsedResult +
+GeoParsedResult +
+ISBNParsedResult +
+ISBNResultParser +
+ParsedResult +
+ParsedResultType +
+ProductParsedResult +
+ResultParser +
+SMSParsedResult +
+TelParsedResult +
+TextParsedResult +
+URIParsedResult
+ + + + diff --git a/docs/javadoc/com/google/zxing/client/result/package-summary.html b/docs/javadoc/com/google/zxing/client/result/package-summary.html new file mode 100644 index 000000000..7526a0bbb --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/package-summary.html @@ -0,0 +1,211 @@ + + + + + + +com.google.zxing.client.result + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.client.result +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AddressBookParsedResult 
CalendarParsedResult 
EmailAddressParsedResult 
GeoParsedResult 
ISBNParsedResult 
ISBNResultParserParses strings of digits that represent a ISBN.
ParsedResultAbstract class representing the result of decoding a barcode, as more than + a String -- as some type of structured data.
ParsedResultTypeRepresents the type of data encoded by a barcode -- from plain text, to a + URI, to an e-mail address, etc.
ProductParsedResult 
ResultParserAbstract class representing the result of decoding a barcode, as more than + a String -- as some type of structured data.
SMSParsedResult 
TelParsedResult 
TextParsedResultA simple result type encapsulating a string that has no further + interpretation.
URIParsedResult 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/result/package-tree.html b/docs/javadoc/com/google/zxing/client/result/package-tree.html new file mode 100644 index 000000000..4aa4ca59c --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/result/package-tree.html @@ -0,0 +1,155 @@ + + + + + + +com.google.zxing.client.result Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.client.result +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/rim/ZXingUiApplication.html b/docs/javadoc/com/google/zxing/client/rim/ZXingUiApplication.html new file mode 100644 index 000000000..038d0e899 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/rim/ZXingUiApplication.html @@ -0,0 +1,287 @@ + + + + + + +ZXingUiApplication + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.rim +
+Class ZXingUiApplication

+
+java.lang.Object
+  extended by net.rim.device.api.system.Application
+      extended by net.rim.device.api.ui.UiApplication
+          extended by com.google.zxing.client.rim.ZXingUiApplication
+
+
+
All Implemented Interfaces:
net.rim.device.api.ui.UiEngine
+
+
+
+
public final class ZXingUiApplication
extends net.rim.device.api.ui.UiApplication
+ + +

+Starts the application with the MenuScreen screen on the stack. + As well, the required permissions are requested and the history and app settings are initialized. + + This code was contributed by LifeMarks. +

+ +

+

+
Author:
+
Matt York (matt@lifemarks.mobi)
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class net.rim.device.api.ui.UiApplication
STYLE_NO_SCREEN_CAPABLE
+ + + + + + + +
Fields inherited from class net.rim.device.api.system.Application
_currentEventThread
+ + + + + + + +
Fields inherited from interface net.rim.device.api.ui.UiEngine
GLOBAL_MODAL, GLOBAL_QUEUE, GLOBAL_SHOW_LOWER, GUID_JVM_REFRESH_DISPLAY, PUSH_SCREEN_METHOD, QUEUE_STATUS_METHOD
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(java.lang.String[] args) + +
+           
+ + + + + + + +
Methods inherited from class net.rim.device.api.ui.UiApplication
acceptsForeground, activate, addUserInputEventListener, dismissStatus, doPainting, getActiveScreen, getGlobalPriority, getLayoutGeneration, getScreenCount, getStyle, getStylusX, getStylusY, getTopmostGlobalPriority, getUiApplication, isPaintingSuspended, isTopmostGlobal, popScreen, popScreen, publicProcessMessage, pushGlobalScreen, pushGlobalScreen, pushModalScreen, pushScreen, queueStatus, relayout, removeUserInputEventListener, repaint, setStyle, setStylusPos, suspendPainting, updateDisplay
+ + + + + + + +
Methods inherited from class net.rim.device.api.system.Application
acceptLaunchRequest, acceptsKeyUpEvents, addAlertListener, addFileSystemJournalListener, addFileSystemListener, addGlobalEventListener, addGlobalEventListenerInternal, addHolsterListener, addIOPortListener, addKeyListener, addListener, addLockedKeyListener, addPeripheralListener, addRadioListener, addRadioListener, addRealtimeClockListener, addStylusListener, addSystemListener, addTrackwheelListener, allowKeyEventFromPreviousApp, cancelInvokeLater, deactivate, dispatchInvokeLater, enableKeyUpEvents, enterEventDispatcher, getAppEventLock, getApplication, getEventLock, getListeners, getMessageQueueSize, getProcessId, hasEventThread, invokeAndWait, invokeLater, invokeLater, invokeLaterInternal, invokeLaterSpecial, isAlive, isEventDispatchThread, isEventThread, isForeground, isForegroundRequestInProgress, isHandlingEvents, removeAlertListener, removeFileSystemJournalListener, removeFileSystemListener, removeGlobalEventListener, removeHolsterListener, removeIOPortListener, removeKeyListener, removeListener, removeLockedKeyListener, removePeripheralListener, removeRadioListener, removeRealtimeClockListener, removeStylusListener, removeSystemListener, removeTrackwheelListener, requestBackground, requestForeground, setAcceptEvents, setAcceptEventsForProcess, setMessageListener, startModalEventThread
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(java.lang.String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/rim/package-frame.html b/docs/javadoc/com/google/zxing/client/rim/package-frame.html new file mode 100644 index 000000000..023241dfc --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/rim/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +com.google.zxing.client.rim + + + + + + + + + + + +com.google.zxing.client.rim + + + + +
+Classes  + +
+ZXingUiApplication
+ + + + diff --git a/docs/javadoc/com/google/zxing/client/rim/package-summary.html b/docs/javadoc/com/google/zxing/client/rim/package-summary.html new file mode 100644 index 000000000..2b583689c --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/rim/package-summary.html @@ -0,0 +1,155 @@ + + + + + + +com.google.zxing.client.rim + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.client.rim +

+ + + + + + + + + +
+Class Summary
ZXingUiApplicationStarts the application with the MenuScreen screen on the stack.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/rim/package-tree.html b/docs/javadoc/com/google/zxing/client/rim/package-tree.html new file mode 100644 index 000000000..379c5318d --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/rim/package-tree.html @@ -0,0 +1,156 @@ + + + + + + +com.google.zxing.client.rim Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.client.rim +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/rim/persistence/AppSettings.html b/docs/javadoc/com/google/zxing/client/rim/persistence/AppSettings.html new file mode 100644 index 000000000..9ccce7f89 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/rim/persistence/AppSettings.html @@ -0,0 +1,370 @@ + + + + + + +AppSettings + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.rim.persistence +
+Class AppSettings

+
+java.lang.Object
+  extended by com.google.zxing.client.rim.persistence.AppSettings
+
+
+
+
public final class AppSettings
extends java.lang.Object
+ + +

+Singleton object that represents the persistent application settings data. + + This code was contributed by LifeMarks. +

+ +

+

+
Author:
+
Matt York (matt@lifemarks.mobi)
+
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static java.lang.StringSETTING_CAM_RES_MSG + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddItem(java.lang.String itemName, + java.lang.Object itemValue) + +
+          Adds a setting object.
+ java.lang.BooleangetBooleanItem(java.lang.String itemName) + +
+          Gets a particular boolean type settings object by name.
+static AppSettingsgetInstance() + +
+           
+ java.util.HashtablegetItems() + +
+          Returns all settings objects.
+ intgetNumItems() + +
+          Returns the number of settings.
+ voidpersist() + +
+          Persists the settings to the device.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+SETTING_CAM_RES_MSG

+
+public static final java.lang.String SETTING_CAM_RES_MSG
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public static AppSettings getInstance()
+
+
+
+
+
+
+ +

+addItem

+
+public void addItem(java.lang.String itemName,
+                    java.lang.Object itemValue)
+
+
Adds a setting object. +

+

+
+
+
+
+ +

+getItems

+
+public java.util.Hashtable getItems()
+
+
Returns all settings objects. +

+

+
+
+
+
+ +

+getBooleanItem

+
+public java.lang.Boolean getBooleanItem(java.lang.String itemName)
+
+
Gets a particular boolean type settings object by name. +

+

+
+
+
+
+ +

+getNumItems

+
+public int getNumItems()
+
+
Returns the number of settings. +

+

+
+
+
+
+ +

+persist

+
+public void persist()
+
+
Persists the settings to the device. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/rim/persistence/history/DecodeHistory.html b/docs/javadoc/com/google/zxing/client/rim/persistence/history/DecodeHistory.html new file mode 100644 index 000000000..97eca1e61 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/rim/persistence/history/DecodeHistory.html @@ -0,0 +1,355 @@ + + + + + + +DecodeHistory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.rim.persistence.history +
+Class DecodeHistory

+
+java.lang.Object
+  extended by com.google.zxing.client.rim.persistence.history.DecodeHistory
+
+
+
+
public class DecodeHistory
extends java.lang.Object
+ + +

+Singleton used to persist the history of qrcode URLs decoded by the client. + + This code was contributed by LifeMarks. +

+ +

+

+
Author:
+
Matt York (matt@lifemarks.mobi)
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddHistoryItem(DecodeHistoryItem item) + +
+          Adds a history object.
+ voidclear() + +
+          Clears the history.
+static DecodeHistorygetInstance() + +
+          Returns the single instance of this class.
+ DecodeHistoryItemgetItemAt(int index) + +
+          Gets a particular history object at a given index.
+ java.util.VectorgetItems() + +
+          Returns all history objects.
+ intgetNumItems() + +
+          Returns the number of history objects.
+ voidpersist() + +
+          Persists the history to the device.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public static DecodeHistory getInstance()
+
+
Returns the single instance of this class. +

+

+
+
+
+
+ +

+addHistoryItem

+
+public void addHistoryItem(DecodeHistoryItem item)
+
+
Adds a history object. +

+

+
+
+
+
+ +

+getItems

+
+public java.util.Vector getItems()
+
+
Returns all history objects. +

+

+
+
+
+
+ +

+getItemAt

+
+public DecodeHistoryItem getItemAt(int index)
+
+
Gets a particular history object at a given index. +

+

+
+
+
+
+ +

+getNumItems

+
+public int getNumItems()
+
+
Returns the number of history objects. +

+

+
+
+
+
+ +

+clear

+
+public void clear()
+
+
Clears the history. +

+

+
+
+
+
+ +

+persist

+
+public void persist()
+
+
Persists the history to the device. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/rim/persistence/history/DecodeHistoryItem.html b/docs/javadoc/com/google/zxing/client/rim/persistence/history/DecodeHistoryItem.html new file mode 100644 index 000000000..f8cb56d46 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/rim/persistence/history/DecodeHistoryItem.html @@ -0,0 +1,332 @@ + + + + + + +DecodeHistoryItem + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.rim.persistence.history +
+Class DecodeHistoryItem

+
+java.lang.Object
+  extended by com.google.zxing.client.rim.persistence.history.DecodeHistoryItem
+
+
+
All Implemented Interfaces:
net.rim.vm.Persistable
+
+
+
+
public final class DecodeHistoryItem
extends java.lang.Object
implements net.rim.device.api.util.Persistable
+ + +

+A single decoded history item that is stored by the decode history. + + This code was contributed by LifeMarks. +

+ +

+

+
Author:
+
Matt York (matt@lifemarks.mobi)
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DecodeHistoryItem(java.lang.String uri) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetDate() + +
+           
+ java.lang.StringgetURI() + +
+           
+ voidsetDate(java.lang.String date) + +
+           
+ voidsetURI(java.lang.String uri) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DecodeHistoryItem

+
+public DecodeHistoryItem(java.lang.String uri)
+
+
+ + + + + + + + +
+Method Detail
+ +

+setDate

+
+public void setDate(java.lang.String date)
+
+
+
+
+
+
+
+
+
+ +

+getDate

+
+public java.lang.String getDate()
+
+
+
+
+
+
+
+
+
+ +

+setURI

+
+public void setURI(java.lang.String uri)
+
+
+
+
+
+
+
+
+
+ +

+getURI

+
+public java.lang.String getURI()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/rim/persistence/history/package-frame.html b/docs/javadoc/com/google/zxing/client/rim/persistence/history/package-frame.html new file mode 100644 index 000000000..98f1d907a --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/rim/persistence/history/package-frame.html @@ -0,0 +1,34 @@ + + + + + + +com.google.zxing.client.rim.persistence.history + + + + + + + + + + + +com.google.zxing.client.rim.persistence.history + + + + +
+Classes  + +
+DecodeHistory +
+DecodeHistoryItem
+ + + + diff --git a/docs/javadoc/com/google/zxing/client/rim/persistence/history/package-summary.html b/docs/javadoc/com/google/zxing/client/rim/persistence/history/package-summary.html new file mode 100644 index 000000000..817593392 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/rim/persistence/history/package-summary.html @@ -0,0 +1,159 @@ + + + + + + +com.google.zxing.client.rim.persistence.history + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.client.rim.persistence.history +

+ + + + + + + + + + + + + +
+Class Summary
DecodeHistorySingleton used to persist the history of qrcode URLs decoded by the client.
DecodeHistoryItemA single decoded history item that is stored by the decode history.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/rim/persistence/history/package-tree.html b/docs/javadoc/com/google/zxing/client/rim/persistence/history/package-tree.html new file mode 100644 index 000000000..3f34122b3 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/rim/persistence/history/package-tree.html @@ -0,0 +1,152 @@ + + + + + + +com.google.zxing.client.rim.persistence.history Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.client.rim.persistence.history +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/rim/persistence/package-frame.html b/docs/javadoc/com/google/zxing/client/rim/persistence/package-frame.html new file mode 100644 index 000000000..31ed4a939 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/rim/persistence/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +com.google.zxing.client.rim.persistence + + + + + + + + + + + +com.google.zxing.client.rim.persistence + + + + +
+Classes  + +
+AppSettings
+ + + + diff --git a/docs/javadoc/com/google/zxing/client/rim/persistence/package-summary.html b/docs/javadoc/com/google/zxing/client/rim/persistence/package-summary.html new file mode 100644 index 000000000..0a308942a --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/rim/persistence/package-summary.html @@ -0,0 +1,155 @@ + + + + + + +com.google.zxing.client.rim.persistence + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.client.rim.persistence +

+ + + + + + + + + +
+Class Summary
AppSettingsSingleton object that represents the persistent application settings data.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/rim/persistence/package-tree.html b/docs/javadoc/com/google/zxing/client/rim/persistence/package-tree.html new file mode 100644 index 000000000..c4ff0630f --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/rim/persistence/package-tree.html @@ -0,0 +1,151 @@ + + + + + + +com.google.zxing.client.rim.persistence Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.client.rim.persistence +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/rim/util/Log.html b/docs/javadoc/com/google/zxing/client/rim/util/Log.html new file mode 100644 index 000000000..b5ac7afcc --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/rim/util/Log.html @@ -0,0 +1,273 @@ + + + + + + +Log + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.rim.util +
+Class Log

+
+java.lang.Object
+  extended by com.google.zxing.client.rim.util.Log
+
+
+
+
public final class Log
extends java.lang.Object
+ + +

+Used to write logging messages. When debugging, System.out is used to write to the simulator. + When running on a real device, the EventLogger is used. To access the event log on a real device, + go to the home screen, hold down ALT and type lglg. + + This code was contributed by LifeMarks. +

+ +

+

+
Author:
+
Matt York (matt@lifemarks.mobi)
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voiddebug(java.lang.String message) + +
+          Logs the given message at the debug level.
+static voiderror(java.lang.String message) + +
+          Logs the given message at the error level.
+static voidinfo(java.lang.String message) + +
+          Logs the given message at the info level.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+debug

+
+public static void debug(java.lang.String message)
+
+
Logs the given message at the debug level. +

+

+
+
+
+
+ +

+info

+
+public static void info(java.lang.String message)
+
+
Logs the given message at the info level. +

+

+
+
+
+
+ +

+error

+
+public static void error(java.lang.String message)
+
+
Logs the given message at the error level. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/rim/util/ReasonableTimer.html b/docs/javadoc/com/google/zxing/client/rim/util/ReasonableTimer.html new file mode 100644 index 000000000..6b9ae6e88 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/rim/util/ReasonableTimer.html @@ -0,0 +1,341 @@ + + + + + + +ReasonableTimer + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.rim.util +
+Class ReasonableTimer

+
+java.lang.Object
+  extended by com.google.zxing.client.rim.util.ReasonableTimer
+
+
+
+
public final class ReasonableTimer
extends java.lang.Object
+ + +

+Used to determine if something happend within a specified amount of time. + For example, if a QR code was decoded in a resonable amount of time. + If not, perhaps the user should lower their camera resolution. + + This code was contributed by LifeMarks. +

+ +

+

+
Author:
+
Matt York (matt@lifemarks.mobi)
+
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
ReasonableTimer() + +
+           
ReasonableTimer(long reasonableTime) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidfinished() + +
+          Stops the timing.
+ longgetResonableTime() + +
+          Returns the reasonable time.
+ voidsetResonableTime(long reasonableTime) + +
+          Sets the reasonable time to the given time
+ booleanwasResonableTime() + +
+          Returns true if the timer finished in a reasonable amount of time.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ReasonableTimer

+
+public ReasonableTimer()
+
+
+
+ +

+ReasonableTimer

+
+public ReasonableTimer(long reasonableTime)
+
+
+ + + + + + + + +
+Method Detail
+ +

+finished

+
+public void finished()
+
+
Stops the timing. +

+

+
+
+
+
+ +

+wasResonableTime

+
+public boolean wasResonableTime()
+
+
Returns true if the timer finished in a reasonable amount of time. +

+

+
+
+
+
+ +

+setResonableTime

+
+public void setResonableTime(long reasonableTime)
+
+
Sets the reasonable time to the given time +

+

+
+
+
+
+ +

+getResonableTime

+
+public long getResonableTime()
+
+
Returns the reasonable time. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/rim/util/URLDecoder.html b/docs/javadoc/com/google/zxing/client/rim/util/URLDecoder.html new file mode 100644 index 000000000..53832db2f --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/rim/util/URLDecoder.html @@ -0,0 +1,227 @@ + + + + + + +URLDecoder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.client.rim.util +
+Class URLDecoder

+
+java.lang.Object
+  extended by com.google.zxing.client.rim.util.URLDecoder
+
+
+
+
public final class URLDecoder
extends java.lang.Object
+ + +

+Used to decode URL encoded characters. + + This code was contributed by LifeMarks. +

+ +

+

+
Author:
+
Matt York (matt@lifemarks.mobi)
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+static java.lang.Stringdecode(java.lang.String uri) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+decode

+
+public static java.lang.String decode(java.lang.String uri)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/rim/util/package-frame.html b/docs/javadoc/com/google/zxing/client/rim/util/package-frame.html new file mode 100644 index 000000000..71060b0b8 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/rim/util/package-frame.html @@ -0,0 +1,36 @@ + + + + + + +com.google.zxing.client.rim.util + + + + + + + + + + + +com.google.zxing.client.rim.util + + + + +
+Classes  + +
+Log +
+ReasonableTimer +
+URLDecoder
+ + + + diff --git a/docs/javadoc/com/google/zxing/client/rim/util/package-summary.html b/docs/javadoc/com/google/zxing/client/rim/util/package-summary.html new file mode 100644 index 000000000..315429f2e --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/rim/util/package-summary.html @@ -0,0 +1,163 @@ + + + + + + +com.google.zxing.client.rim.util + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.client.rim.util +

+ + + + + + + + + + + + + + + + + +
+Class Summary
LogUsed to write logging messages.
ReasonableTimerUsed to determine if something happend within a specified amount of time.
URLDecoderUsed to decode URL encoded characters.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/client/rim/util/package-tree.html b/docs/javadoc/com/google/zxing/client/rim/util/package-tree.html new file mode 100644 index 000000000..03e4fadb6 --- /dev/null +++ b/docs/javadoc/com/google/zxing/client/rim/util/package-tree.html @@ -0,0 +1,151 @@ + + + + + + +com.google.zxing.client.rim.util Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.client.rim.util +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/BaseMonochromeBitmapSource.html b/docs/javadoc/com/google/zxing/common/BaseMonochromeBitmapSource.html new file mode 100644 index 000000000..26a8f0e0f --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/BaseMonochromeBitmapSource.html @@ -0,0 +1,639 @@ + + + + + + +BaseMonochromeBitmapSource + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common +
+Class BaseMonochromeBitmapSource

+
+java.lang.Object
+  extended by com.google.zxing.common.BaseMonochromeBitmapSource
+
+
+
All Implemented Interfaces:
MonochromeBitmapSource
+
+
+
Direct Known Subclasses:
AWTImageMonochromeBitmapSource, BufferedImageMonochromeBitmapSource, LCDUIImageMonochromeBitmapSource, YUVMonochromeBitmapSource
+
+
+
+
public abstract class BaseMonochromeBitmapSource
extends java.lang.Object
implements MonochromeBitmapSource
+ + +

+

+
Author:
+
dswitkin@google.com (Daniel Switkin)
+
+
+ +

+ + + + + + + + + + + + +
+Constructor Summary
+protected BaseMonochromeBitmapSource(int width, + int height) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidestimateBlackPoint(BlackPointEstimationMethod method, + int argument) + +
+          Estimates black point according to the given method, which is optionally parameterized by + a single int argument.
+ BitArraygetBlackColumn(int x, + BitArray column, + int startY, + int getHeight) + +
+          Entirely analogous to MonochromeBitmapSource.getBlackRow(int, BitArray, int, int) but gets a column.
+ BitArraygetBlackDiagonal(int x, + int y, + int dx, + int dy, + BitArray diagonal, + int size) + +
+           
+ BitArraygetBlackRow(int y, + BitArray row, + int startX, + int getWidth) + +
+          Returns an entire row of black/white pixels as an array of bits, where "true" means "black".
+ intgetHeight() + +
+           
+ BlackPointEstimationMethodgetLastEstimationMethod() + +
+           
+abstract  intgetLuminance(int x, + int y) + +
+          Retrieves the luminance at the pixel x,y in the bitmap.
+abstract  int[]getLuminanceColumn(int x, + int[] column) + +
+          The same as getLuminanceRow(), but for columns.
+abstract  int[]getLuminanceRow(int y, + int[] row) + +
+          This is the main mechanism for retrieving luminance data.
+ intgetWidth() + +
+           
+ booleanisBlack(int x, + int y) + +
+           
+ booleanisRotateSupported() + +
+           
+ MonochromeBitmapSourcerotateCounterClockwise() + +
+          Optional operation which returns an implementation based on the same underlying + image, but which behaves as if the underlying image had been rotated 90 degrees + counterclockwise.
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BaseMonochromeBitmapSource

+
+protected BaseMonochromeBitmapSource(int width,
+                                     int height)
+
+
+ + + + + + + + +
+Method Detail
+ +

+isBlack

+
+public boolean isBlack(int x,
+                       int y)
+
+
+
Specified by:
isBlack in interface MonochromeBitmapSource
+
+
+
Parameters:
x - horizontal offset, from left, of the pixel
y - vertical offset, from top, of the pixel +
Returns:
true iff the pixel at (x,y) is black
+
+
+
+ +

+getBlackRow

+
+public BitArray getBlackRow(int y,
+                            BitArray row,
+                            int startX,
+                            int getWidth)
+
+
Description copied from interface: MonochromeBitmapSource
+

Returns an entire row of black/white pixels as an array of bits, where "true" means "black". + This is a sort of "bulk get" operation intended to enable efficient access in + certain situations.

+

+

+
Specified by:
getBlackRow in interface MonochromeBitmapSource
+
+
+
Parameters:
y - vertical offset, from top, of the row of pixels
row - if not null, BitArray to write pixels into. If null, a new BitArray + is allocated and returned.
startX - horizontal offset, from left, from which to start getting pixels
getWidth - number of pixels to get from the row +
Returns:
BitArray representing the (subset of the) row of pixels. If row parameter + was not null, it is returned.
+
+
+
+ +

+getBlackColumn

+
+public BitArray getBlackColumn(int x,
+                               BitArray column,
+                               int startY,
+                               int getHeight)
+
+
Description copied from interface: MonochromeBitmapSource
+
Entirely analogous to MonochromeBitmapSource.getBlackRow(int, BitArray, int, int) but gets a column. +

+

+
Specified by:
getBlackColumn in interface MonochromeBitmapSource
+
+
+
+
+
+
+ +

+getBlackDiagonal

+
+public BitArray getBlackDiagonal(int x,
+                                 int y,
+                                 int dx,
+                                 int dy,
+                                 BitArray diagonal,
+                                 int size)
+
+
+
Specified by:
getBlackDiagonal in interface MonochromeBitmapSource
+
+
+
+
+
+
+ +

+estimateBlackPoint

+
+public void estimateBlackPoint(BlackPointEstimationMethod method,
+                               int argument)
+                        throws ReaderException
+
+
Description copied from interface: MonochromeBitmapSource
+

Estimates black point according to the given method, which is optionally parameterized by + a single int argument. For BlackPointEstimationMethod.ROW_SAMPLING, this + specifies the row to sample.

+ +

The estimated value will be used in subsequent computations that rely on an estimated black + point.

+

+

+
Specified by:
estimateBlackPoint in interface MonochromeBitmapSource
+
+
+
Parameters:
method - black point estimation method
argument - method-specific argument +
Throws: +
ReaderException
+
+
+
+ +

+getLastEstimationMethod

+
+public BlackPointEstimationMethod getLastEstimationMethod()
+
+
+
Specified by:
getLastEstimationMethod in interface MonochromeBitmapSource
+
+
+ +
Returns:
BlackPointEstimationMethod representing last sampling method used
+
+
+
+ +

+rotateCounterClockwise

+
+public MonochromeBitmapSource rotateCounterClockwise()
+
+
Description copied from interface: MonochromeBitmapSource
+

Optional operation which returns an implementation based on the same underlying + image, but which behaves as if the underlying image had been rotated 90 degrees + counterclockwise. This is useful in the context of 1D barcodes and the + DecodeHintType.TRY_HARDER decode hint, and is only intended to be + used in non-resource-constrained environments. Hence, implementations + of this class which are only used in resource-constrained mobile environments + don't have a need to implement this.

+

+

+
Specified by:
rotateCounterClockwise in interface MonochromeBitmapSource
+
+
+
+
+
+
+ +

+isRotateSupported

+
+public boolean isRotateSupported()
+
+
+
Specified by:
isRotateSupported in interface MonochromeBitmapSource
+
+
+ +
Returns:
true iff rotation is supported
See Also:
MonochromeBitmapSource.rotateCounterClockwise()
+
+
+
+ +

+getHeight

+
+public final int getHeight()
+
+
+
Specified by:
getHeight in interface MonochromeBitmapSource
+
+
+ +
Returns:
height of underlying image
+
+
+
+ +

+getWidth

+
+public final int getWidth()
+
+
+
Specified by:
getWidth in interface MonochromeBitmapSource
+
+
+ +
Returns:
width of underlying image
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+getLuminance

+
+public abstract int getLuminance(int x,
+                                 int y)
+
+
Retrieves the luminance at the pixel x,y in the bitmap. This method is only used for estimating + the black point and implementing getBlackRow() - it is not meant for decoding, hence it is not + part of MonochromeBitmapSource itself, and is protected. +

+

+
Specified by:
getLuminance in interface MonochromeBitmapSource
+
+
+
Parameters:
x - The x coordinate in the image.
y - The y coordinate in the image. +
Returns:
The luminance value between 0 and 255.
+
+
+
+ +

+getLuminanceRow

+
+public abstract int[] getLuminanceRow(int y,
+                                      int[] row)
+
+
This is the main mechanism for retrieving luminance data. It is dramatically more efficient + than repeatedly calling getLuminance(). As above, this is not meant for decoders. +

+

+
Specified by:
getLuminanceRow in interface MonochromeBitmapSource
+
+
+
Parameters:
y - The row to fetch
row - The array to write luminance values into. It is strongly suggested that you + allocate this yourself, making sure row.length >= getWidth(), and reuse the same + array on subsequent calls for performance. If you pass null, you will be flogged, + but then I will take pity on you and allocate a sufficient array internally. +
Returns:
The array containing the luminance data. This is the same as row if it was usable.
+
+
+
+ +

+getLuminanceColumn

+
+public abstract int[] getLuminanceColumn(int x,
+                                         int[] column)
+
+
The same as getLuminanceRow(), but for columns. +

+

+
Specified by:
getLuminanceColumn in interface MonochromeBitmapSource
+
+
+
Parameters:
x - The column to fetch
column - The array to write luminance values into. See above. +
Returns:
The array containing the luminance data.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/BitArray.html b/docs/javadoc/com/google/zxing/common/BitArray.html new file mode 100644 index 000000000..74e85bf3f --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/BitArray.html @@ -0,0 +1,511 @@ + + + + + + +BitArray + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common +
+Class BitArray

+
+java.lang.Object
+  extended by com.google.zxing.common.BitArray
+
+
+
+
public final class BitArray
extends java.lang.Object
+ + +

+

A simple, fast array of bits, represented compactly by an array of ints internally.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+ int[]bits + +
+           
+ intsize + +
+           
+  + + + + + + + + + + +
+Constructor Summary
BitArray(int size) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclear() + +
+          Clears all bits (sets to false).
+ voidflip(int i) + +
+          Flips bit i.
+ booleanget(int i) + +
+           
+ int[]getBitArray() + +
+           
+ intgetSize() + +
+           
+ booleanisRange(int start, + int end, + boolean value) + +
+          Efficient method to check if a range of bits is set, or not set.
+ voidreverse() + +
+          Reverses all bits in the array.
+ voidset(int i) + +
+          Sets bit i.
+ voidsetBulk(int i, + int newBits) + +
+          Sets a block of 32 bits, starting at bit i.
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+bits

+
+public int[] bits
+
+
+
+
+
+ +

+size

+
+public final int size
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+BitArray

+
+public BitArray(int size)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getSize

+
+public int getSize()
+
+
+
+
+
+
+ +

+get

+
+public boolean get(int i)
+
+
+
Parameters:
i - bit to get +
Returns:
true iff bit i is set
+
+
+
+ +

+set

+
+public void set(int i)
+
+
Sets bit i. +

+

+
Parameters:
i - bit to set
+
+
+
+ +

+flip

+
+public void flip(int i)
+
+
Flips bit i. +

+

+
Parameters:
i - bit to set
+
+
+
+ +

+setBulk

+
+public void setBulk(int i,
+                    int newBits)
+
+
Sets a block of 32 bits, starting at bit i. +

+

+
Parameters:
i - first bit to set
newBits - the new value of the next 32 bits. Note again that the least-significant bit + corresponds to bit i, the next-least-significant to i+1, and so on.
+
+
+
+ +

+clear

+
+public void clear()
+
+
Clears all bits (sets to false). +

+

+
+
+
+
+ +

+isRange

+
+public boolean isRange(int start,
+                       int end,
+                       boolean value)
+
+
Efficient method to check if a range of bits is set, or not set. +

+

+
Parameters:
start - start of range, inclusive.
end - end of range, exclusive
value - if true, checks that bits in range are set, otherwise checks that they are not set +
Returns:
true iff all bits are set or not set in range, according to value argument +
Throws: +
java.lang.IllegalArgumentException - if end is less than or equal to start
+
+
+
+ +

+getBitArray

+
+public int[] getBitArray()
+
+
+ +
Returns:
underlying array of ints. The first element holds the first 32 bits, and the least + significant bit is bit 0.
+
+
+
+ +

+reverse

+
+public void reverse()
+
+
Reverses all bits in the array. +

+

+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/BitMatrix.html b/docs/javadoc/com/google/zxing/common/BitMatrix.html new file mode 100644 index 000000000..803f62e0f --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/BitMatrix.html @@ -0,0 +1,557 @@ + + + + + + +BitMatrix + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common +
+Class BitMatrix

+
+java.lang.Object
+  extended by com.google.zxing.common.BitMatrix
+
+
+
+
public final class BitMatrix
extends java.lang.Object
+ + +

+

Represents a 2D matrix of bits. In function arguments below, and throughout the common + module, x is the column position, and y is the row position. The ordering is always x, y. + The origin is at the top-left.

+ +

Internally the bits are represented in a 1-D array of 32-bit ints. However, each row begins + with a new int. This is done intentionally so that we can copy out a row into a BitArray very + efficiently.

+ +

The ordering of bits is row-major. Within each int, the least significant bits are used first, + meaning they represent lower x values. This is compatible with BitArray's implementation.

+

+ +

+

+
Author:
+
Sean Owen, dswitkin@google.com (Daniel Switkin)
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+ int[]bits + +
+           
+ intheight + +
+           
+ introwSize + +
+           
+ intwidth + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
BitMatrix(int dimension) + +
+           
BitMatrix(int width, + int height) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclear() + +
+          Clears all bits (sets to false).
+ voidflip(int x, + int y) + +
+          Flips the given bit.
+ booleanget(int x, + int y) + +
+          Gets the requested bit, where true means black.
+ intgetDimension() + +
+          This method is for compatibility with older code.
+ intgetHeight() + +
+           
+ intgetWidth() + +
+           
+ voidset(int x, + int y) + +
+          Sets the given bit to true.
+ voidsetRegion(int left, + int top, + int width, + int height) + +
+          Sets a square region of the bit matrix to true.
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+width

+
+public final int width
+
+
+
+
+
+ +

+height

+
+public final int height
+
+
+
+
+
+ +

+rowSize

+
+public final int rowSize
+
+
+
+
+
+ +

+bits

+
+public final int[] bits
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+BitMatrix

+
+public BitMatrix(int dimension)
+
+
+
+ +

+BitMatrix

+
+public BitMatrix(int width,
+                 int height)
+
+
+ + + + + + + + +
+Method Detail
+ +

+get

+
+public boolean get(int x,
+                   int y)
+
+

Gets the requested bit, where true means black.

+

+

+
Parameters:
x - The horizontal component (i.e. which column)
y - The vertical component (i.e. which row) +
Returns:
value of given bit in matrix
+
+
+
+ +

+set

+
+public void set(int x,
+                int y)
+
+

Sets the given bit to true.

+

+

+
Parameters:
x - The horizontal component (i.e. which column)
y - The vertical component (i.e. which row)
+
+
+
+ +

+flip

+
+public void flip(int x,
+                 int y)
+
+

Flips the given bit.

+

+

+
Parameters:
x - The horizontal component (i.e. which column)
y - The vertical component (i.e. which row)
+
+
+
+ +

+clear

+
+public void clear()
+
+
Clears all bits (sets to false). +

+

+
+
+
+
+ +

+setRegion

+
+public void setRegion(int left,
+                      int top,
+                      int width,
+                      int height)
+
+

Sets a square region of the bit matrix to true.

+

+

+
Parameters:
left - The horizontal position to begin at (inclusive)
top - The vertical position to begin at (inclusive)
width - The width of the region
height - The height of the region
+
+
+
+ +

+getWidth

+
+public int getWidth()
+
+
+ +
Returns:
The width of the matrix
+
+
+
+ +

+getHeight

+
+public int getHeight()
+
+
+ +
Returns:
The height of the matrix
+
+
+
+ +

+getDimension

+
+public int getDimension()
+
+
This method is for compatibility with older code. It's only logical to call if the matrix + is square, so I'm throwing if that's not the case. +

+

+ +
Returns:
row/column dimension of this matrix
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/BitSource.html b/docs/javadoc/com/google/zxing/common/BitSource.html new file mode 100644 index 000000000..660f36dd1 --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/BitSource.html @@ -0,0 +1,289 @@ + + + + + + +BitSource + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common +
+Class BitSource

+
+java.lang.Object
+  extended by com.google.zxing.common.BitSource
+
+
+
+
public final class BitSource
extends java.lang.Object
+ + +

+

This provides an easy abstraction to read bits at a time from a sequence of bytes, where the + number of bits read is not often a multiple of 8.

+ +

This class is thread-safe but not reentrant. Unless the caller modifies the bytes array + it passed in, in which case all bets are off.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
BitSource(byte[] bytes) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ intavailable() + +
+           
+ intreadBits(int numBits) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BitSource

+
+public BitSource(byte[] bytes)
+
+
+
Parameters:
bytes - bytes from which this will read bits. Bits will be read from the first byte first. + Bits are read within a byte from most-significant to least-significant bit.
+
+ + + + + + + + +
+Method Detail
+ +

+readBits

+
+public int readBits(int numBits)
+
+
+
Parameters:
numBits - number of bits to read +
Returns:
int representing the bits read. The bits will appear as the least-significant + bits of the int +
Throws: +
java.lang.IllegalArgumentException - if numBits isn't in [1,32]
+
+
+
+ +

+available

+
+public int available()
+
+
+ +
Returns:
number of bits that can be read successfully
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/BlackPointEstimator.html b/docs/javadoc/com/google/zxing/common/BlackPointEstimator.html new file mode 100644 index 000000000..f7c3e2265 --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/BlackPointEstimator.html @@ -0,0 +1,269 @@ + + + + + + +BlackPointEstimator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common +
+Class BlackPointEstimator

+
+java.lang.Object
+  extended by com.google.zxing.common.BlackPointEstimator
+
+
+
+
public final class BlackPointEstimator
extends java.lang.Object
+ + +

+

Encapsulates logic that estimates the optimal "black point", the luminance value + which is the best line between "white" and "black" in a grayscale image.

+ +

For an interesting discussion of this issue, see + this paper.

+ + NOTE: This class is not thread-safe. +

+ +

+

+
Author:
+
Sean Owen, dswitkin@google.com (Daniel Switkin)
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+static intestimate(MonochromeBitmapSource source, + BlackPointEstimationMethod method, + int argument) + +
+          Calculates the black point for the supplied bitmap.
+static intfindBestValley(int[] buckets) + +
+          Given an array of counts of luminance values (i.e.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+estimate

+
+public static int estimate(MonochromeBitmapSource source,
+                           BlackPointEstimationMethod method,
+                           int argument)
+                    throws ReaderException
+
+
Calculates the black point for the supplied bitmap. +

+

+
Parameters:
source - The bitmap to analyze.
method - The pixel sampling technique to use.
argument - The row index in the case of ROW_SAMPLING, otherwise ignored. +
Returns:
The black point as an integer 0-255. +
Throws: +
ReaderException - An exception thrown if the blackpoint cannot be determined.
+
+
+
+ +

+findBestValley

+
+public static int findBestValley(int[] buckets)
+                          throws ReaderException
+
+

Given an array of counts of luminance values (i.e. a histogram), this method + decides which bucket of values corresponds to the black point -- which bucket contains the + count of the brightest luminance values that should be considered "black".

+

+

+
Parameters:
buckets - an array of counts of luminance values +
Returns:
index within argument of bucket corresponding to brightest values which should be + considered "black" +
Throws: +
ReaderException - if "black" and "white" appear to be very close in luminance
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/ByteArray.html b/docs/javadoc/com/google/zxing/common/ByteArray.html new file mode 100644 index 000000000..88375d53d --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/ByteArray.html @@ -0,0 +1,409 @@ + + + + + + +ByteArray + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common +
+Class ByteArray

+
+java.lang.Object
+  extended by com.google.zxing.common.ByteArray
+
+
+
+
public final class ByteArray
extends java.lang.Object
+ + +

+This class implements an array of unsigned bytes. +

+ +

+

+
Author:
+
dswitkin@google.com (Daniel Switkin)
+
+
+ +

+ + + + + + + + + + + + + + + + + +
+Constructor Summary
ByteArray() + +
+           
ByteArray(byte[] byteArray) + +
+           
ByteArray(int size) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidappendByte(int value) + +
+           
+ intat(int index) + +
+          Access an unsigned byte at location index.
+ booleanempty() + +
+           
+ voidreserve(int capacity) + +
+           
+ voidset(byte[] source, + int offset, + int count) + +
+           
+ voidset(int index, + int value) + +
+           
+ intsize() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ByteArray

+
+public ByteArray()
+
+
+
+ +

+ByteArray

+
+public ByteArray(int size)
+
+
+
+ +

+ByteArray

+
+public ByteArray(byte[] byteArray)
+
+
+ + + + + + + + +
+Method Detail
+ +

+at

+
+public int at(int index)
+
+
Access an unsigned byte at location index. +

+

+
Parameters:
index - The index in the array to access. +
Returns:
The unsigned value of the byte as an int.
+
+
+
+ +

+set

+
+public void set(int index,
+                int value)
+
+
+
+
+
+
+ +

+size

+
+public int size()
+
+
+
+
+
+
+ +

+empty

+
+public boolean empty()
+
+
+
+
+
+
+ +

+appendByte

+
+public void appendByte(int value)
+
+
+
+
+
+
+ +

+reserve

+
+public void reserve(int capacity)
+
+
+
+
+
+
+ +

+set

+
+public void set(byte[] source,
+                int offset,
+                int count)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/ByteMatrix.html b/docs/javadoc/com/google/zxing/common/ByteMatrix.html new file mode 100644 index 000000000..d4fc47dc1 --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/ByteMatrix.html @@ -0,0 +1,410 @@ + + + + + + +ByteMatrix + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common +
+Class ByteMatrix

+
+java.lang.Object
+  extended by com.google.zxing.common.ByteMatrix
+
+
+
+
public final class ByteMatrix
extends java.lang.Object
+ + +

+A class which wraps a 2D array of bytes. The default usage is signed. If you want to use it as a + unsigned container, it's up to you to do byteValue & 0xff at each location. + + JAVAPORT: The original code was a 2D array of ints, but since it only ever gets assigned + -1, 0, and 1, I'm going to use less memory and go with bytes. +

+ +

+

+
Author:
+
dswitkin@google.com (Daniel Switkin)
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ByteMatrix(int width, + int height) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclear(byte value) + +
+           
+ byteget(int x, + int y) + +
+           
+ byte[][]getArray() + +
+           
+ intheight() + +
+           
+ voidset(int x, + int y, + byte value) + +
+           
+ voidset(int x, + int y, + int value) + +
+           
+ java.lang.StringtoString() + +
+           
+ intwidth() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ByteMatrix

+
+public ByteMatrix(int width,
+                  int height)
+
+
+ + + + + + + + +
+Method Detail
+ +

+height

+
+public int height()
+
+
+
+
+
+
+ +

+width

+
+public int width()
+
+
+
+
+
+
+ +

+get

+
+public byte get(int x,
+                int y)
+
+
+
+
+
+
+ +

+getArray

+
+public byte[][] getArray()
+
+
+
+
+
+
+ +

+set

+
+public void set(int x,
+                int y,
+                byte value)
+
+
+
+
+
+
+ +

+set

+
+public void set(int x,
+                int y,
+                int value)
+
+
+
+
+
+
+ +

+clear

+
+public void clear(byte value)
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/CharacterSetECI.html b/docs/javadoc/com/google/zxing/common/CharacterSetECI.html new file mode 100644 index 000000000..2bb545de5 --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/CharacterSetECI.html @@ -0,0 +1,280 @@ + + + + + + +CharacterSetECI + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common +
+Class CharacterSetECI

+
+java.lang.Object
+  extended by com.google.zxing.common.ECI
+      extended by com.google.zxing.common.CharacterSetECI
+
+
+
+
public final class CharacterSetECI
extends ECI
+ + +

+Encapsulates a Character Set ECI, according to "Extended Channel Interpretations" 5.3.1.1 + of ISO 18004. +

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static CharacterSetECIgetCharacterSetECIByName(java.lang.String name) + +
+           
+static CharacterSetECIgetCharacterSetECIByValue(int value) + +
+           
+ java.lang.StringgetEncodingName() + +
+           
+ + + + + + + +
Methods inherited from class com.google.zxing.common.ECI
getECIByValue, getValue
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getEncodingName

+
+public java.lang.String getEncodingName()
+
+
+
+
+
+
+ +

+getCharacterSetECIByValue

+
+public static CharacterSetECI getCharacterSetECIByValue(int value)
+
+
+
Parameters:
value - character set ECI value +
Returns:
CharacterSetECI representing ECI of given value, or null if it is legal but + unsupported +
Throws: +
java.lang.IllegalArgumentException - if ECI value is invalid
+
+
+
+ +

+getCharacterSetECIByName

+
+public static CharacterSetECI getCharacterSetECIByName(java.lang.String name)
+
+
+
Parameters:
name - character set ECI encoding name +
Returns:
CharacterSetECI representing ECI for character encoding, or null if it is legal + but unsupported
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/Collections.html b/docs/javadoc/com/google/zxing/common/Collections.html new file mode 100644 index 000000000..e79f27f7a --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/Collections.html @@ -0,0 +1,232 @@ + + + + + + +Collections + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common +
+Class Collections

+
+java.lang.Object
+  extended by com.google.zxing.common.Collections
+
+
+
+
public final class Collections
extends java.lang.Object
+ + +

+

This is basically a substitute for java.util.Collections, which is not + present in MIDP 2.0 / CLDC 1.1.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+static voidinsertionSort(java.util.Vector vector, + Comparator comparator) + +
+          Sorts its argument (destructively) using insert sort; in the context of this package + insertion sort is simple and efficient given its relatively small inputs.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+insertionSort

+
+public static void insertionSort(java.util.Vector vector,
+                                 Comparator comparator)
+
+
Sorts its argument (destructively) using insert sort; in the context of this package + insertion sort is simple and efficient given its relatively small inputs. +

+

+
Parameters:
vector - vector to sort
comparator - comparator to define sort ordering
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/Comparator.html b/docs/javadoc/com/google/zxing/common/Comparator.html new file mode 100644 index 000000000..9f5b0996a --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/Comparator.html @@ -0,0 +1,211 @@ + + + + + + +Comparator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common +
+Interface Comparator

+
+
+
public interface Comparator
+ + +

+This is merely a clone of Comparator since it is not available in + CLDC 1.1 / MIDP 2.0. +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ intcompare(java.lang.Object o1, + java.lang.Object o2) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+compare

+
+int compare(java.lang.Object o1,
+            java.lang.Object o2)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/CroppedMonochromeBitmapSource.html b/docs/javadoc/com/google/zxing/common/CroppedMonochromeBitmapSource.html new file mode 100644 index 000000000..6624a0908 --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/CroppedMonochromeBitmapSource.html @@ -0,0 +1,630 @@ + + + + + + +CroppedMonochromeBitmapSource + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common +
+Class CroppedMonochromeBitmapSource

+
+java.lang.Object
+  extended by com.google.zxing.common.CroppedMonochromeBitmapSource
+
+
+
All Implemented Interfaces:
MonochromeBitmapSource
+
+
+
+
public final class CroppedMonochromeBitmapSource
extends java.lang.Object
implements MonochromeBitmapSource
+ + +

+Encapulates a cropped region of another MonochromeBitmapSource. +

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
CroppedMonochromeBitmapSource(MonochromeBitmapSource delegate, + int left, + int top, + int right, + int bottom) + +
+          Creates an instance that uses only a region of the given image as a source of pixels to decode.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidestimateBlackPoint(BlackPointEstimationMethod method, + int argument) + +
+          Estimates black point according to the given method, which is optionally parameterized by + a single int argument.
+ BitArraygetBlackColumn(int x, + BitArray column, + int startY, + int getHeight) + +
+          Entirely analogous to MonochromeBitmapSource.getBlackRow(int, BitArray, int, int) but gets a column.
+ BitArraygetBlackDiagonal(int x, + int y, + int dx, + int dy, + BitArray diagonal, + int size) + +
+           
+ BitArraygetBlackRow(int y, + BitArray row, + int startX, + int getWidth) + +
+          Returns an entire row of black/white pixels as an array of bits, where "true" means "black".
+ intgetHeight() + +
+           
+ BlackPointEstimationMethodgetLastEstimationMethod() + +
+           
+ intgetLuminance(int x, + int y) + +
+          Retrieves the luminance at the pixel x,y in the bitmap.
+ int[]getLuminanceColumn(int x, + int[] column) + +
+          The same as getLuminanceRow(), but for columns.
+ int[]getLuminanceRow(int y, + int[] row) + +
+          This is the main mechanism for retrieving luminance data.
+ intgetWidth() + +
+           
+ booleanisBlack(int x, + int y) + +
+           
+ booleanisRotateSupported() + +
+           
+ MonochromeBitmapSourcerotateCounterClockwise() + +
+          Optional operation which returns an implementation based on the same underlying + image, but which behaves as if the underlying image had been rotated 90 degrees + counterclockwise.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CroppedMonochromeBitmapSource

+
+public CroppedMonochromeBitmapSource(MonochromeBitmapSource delegate,
+                                     int left,
+                                     int top,
+                                     int right,
+                                     int bottom)
+
+
Creates an instance that uses only a region of the given image as a source of pixels to decode. +

+

+
Parameters:
delegate - image to decode a region of
left - x coordinate of leftmost pixels to decode
top - y coordinate of topmost pixels to decode
right - one more than the x coordinate of rightmost pixels to decode, i.e. we will decode + pixels whose x coordinate is in [left,right)
bottom - likewise, one more than the y coordinate of the bottommost pixels to decode
+
+ + + + + + + + +
+Method Detail
+ +

+isBlack

+
+public boolean isBlack(int x,
+                       int y)
+
+
+
Specified by:
isBlack in interface MonochromeBitmapSource
+
+
+
Parameters:
x - horizontal offset, from left, of the pixel
y - vertical offset, from top, of the pixel +
Returns:
true iff the pixel at (x,y) is black
+
+
+
+ +

+getBlackRow

+
+public BitArray getBlackRow(int y,
+                            BitArray row,
+                            int startX,
+                            int getWidth)
+
+
Description copied from interface: MonochromeBitmapSource
+

Returns an entire row of black/white pixels as an array of bits, where "true" means "black". + This is a sort of "bulk get" operation intended to enable efficient access in + certain situations.

+

+

+
Specified by:
getBlackRow in interface MonochromeBitmapSource
+
+
+
Parameters:
y - vertical offset, from top, of the row of pixels
row - if not null, BitArray to write pixels into. If null, a new BitArray + is allocated and returned.
startX - horizontal offset, from left, from which to start getting pixels
getWidth - number of pixels to get from the row +
Returns:
BitArray representing the (subset of the) row of pixels. If row parameter + was not null, it is returned.
+
+
+
+ +

+getBlackColumn

+
+public BitArray getBlackColumn(int x,
+                               BitArray column,
+                               int startY,
+                               int getHeight)
+
+
Description copied from interface: MonochromeBitmapSource
+
Entirely analogous to MonochromeBitmapSource.getBlackRow(int, BitArray, int, int) but gets a column. +

+

+
Specified by:
getBlackColumn in interface MonochromeBitmapSource
+
+
+
+
+
+
+ +

+getHeight

+
+public int getHeight()
+
+
+
Specified by:
getHeight in interface MonochromeBitmapSource
+
+
+ +
Returns:
height of underlying image
+
+
+
+ +

+getWidth

+
+public int getWidth()
+
+
+
Specified by:
getWidth in interface MonochromeBitmapSource
+
+
+ +
Returns:
width of underlying image
+
+
+
+ +

+getBlackDiagonal

+
+public BitArray getBlackDiagonal(int x,
+                                 int y,
+                                 int dx,
+                                 int dy,
+                                 BitArray diagonal,
+                                 int size)
+
+
+
Specified by:
getBlackDiagonal in interface MonochromeBitmapSource
+
+
+
+
+
+
+ +

+estimateBlackPoint

+
+public void estimateBlackPoint(BlackPointEstimationMethod method,
+                               int argument)
+                        throws ReaderException
+
+
Description copied from interface: MonochromeBitmapSource
+

Estimates black point according to the given method, which is optionally parameterized by + a single int argument. For BlackPointEstimationMethod.ROW_SAMPLING, this + specifies the row to sample.

+ +

The estimated value will be used in subsequent computations that rely on an estimated black + point.

+

+

+
Specified by:
estimateBlackPoint in interface MonochromeBitmapSource
+
+
+
Parameters:
method - black point estimation method
argument - method-specific argument +
Throws: +
ReaderException
+
+
+
+ +

+getLastEstimationMethod

+
+public BlackPointEstimationMethod getLastEstimationMethod()
+
+
+
Specified by:
getLastEstimationMethod in interface MonochromeBitmapSource
+
+
+ +
Returns:
BlackPointEstimationMethod representing last sampling method used
+
+
+
+ +

+rotateCounterClockwise

+
+public MonochromeBitmapSource rotateCounterClockwise()
+
+
Description copied from interface: MonochromeBitmapSource
+

Optional operation which returns an implementation based on the same underlying + image, but which behaves as if the underlying image had been rotated 90 degrees + counterclockwise. This is useful in the context of 1D barcodes and the + DecodeHintType.TRY_HARDER decode hint, and is only intended to be + used in non-resource-constrained environments. Hence, implementations + of this class which are only used in resource-constrained mobile environments + don't have a need to implement this.

+

+

+
Specified by:
rotateCounterClockwise in interface MonochromeBitmapSource
+
+
+
+
+
+
+ +

+isRotateSupported

+
+public boolean isRotateSupported()
+
+
+
Specified by:
isRotateSupported in interface MonochromeBitmapSource
+
+
+ +
Returns:
true iff rotation is supported
See Also:
MonochromeBitmapSource.rotateCounterClockwise()
+
+
+
+ +

+getLuminance

+
+public int getLuminance(int x,
+                        int y)
+
+
Description copied from interface: MonochromeBitmapSource
+
Retrieves the luminance at the pixel x,y in the bitmap. This method is only used for estimating + the black point and implementing getBlackRow() - it is not meant for decoding, hence it is not + part of MonochromeBitmapSource itself, and is protected. +

+

+
Specified by:
getLuminance in interface MonochromeBitmapSource
+
+
+
Parameters:
x - The x coordinate in the image.
y - The y coordinate in the image. +
Returns:
The luminance value between 0 and 255.
+
+
+
+ +

+getLuminanceRow

+
+public int[] getLuminanceRow(int y,
+                             int[] row)
+
+
Description copied from interface: MonochromeBitmapSource
+
This is the main mechanism for retrieving luminance data. It is dramatically more efficient + than repeatedly calling getLuminance(). As above, this is not meant for decoders. +

+

+
Specified by:
getLuminanceRow in interface MonochromeBitmapSource
+
+
+
Parameters:
y - The row to fetch
row - The array to write luminance values into. It is strongly suggested that you + allocate this yourself, making sure row.length >= getWidth(), and reuse the same + array on subsequent calls for performance. If you pass null, you will be flogged, + but then I will take pity on you and allocate a sufficient array internally. +
Returns:
The array containing the luminance data. This is the same as row if it was usable.
+
+
+
+ +

+getLuminanceColumn

+
+public int[] getLuminanceColumn(int x,
+                                int[] column)
+
+
Description copied from interface: MonochromeBitmapSource
+
The same as getLuminanceRow(), but for columns. +

+

+
Specified by:
getLuminanceColumn in interface MonochromeBitmapSource
+
+
+
Parameters:
x - The column to fetch
column - The array to write luminance values into. See above. +
Returns:
The array containing the luminance data.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/DecoderResult.html b/docs/javadoc/com/google/zxing/common/DecoderResult.html new file mode 100644 index 000000000..5a00e9657 --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/DecoderResult.html @@ -0,0 +1,302 @@ + + + + + + +DecoderResult + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common +
+Class DecoderResult

+
+java.lang.Object
+  extended by com.google.zxing.common.DecoderResult
+
+
+
+
public final class DecoderResult
extends java.lang.Object
+ + +

+

Encapsulates the result of decoding a matrix of bits. This typically + applies to 2D barcode formats. For now it contains the raw bytes obtained, + as well as a String interpretation of those bytes, if applicable.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DecoderResult(byte[] rawBytes, + java.lang.String text, + java.util.Vector byteSegments) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.util.VectorgetByteSegments() + +
+           
+ byte[]getRawBytes() + +
+           
+ java.lang.StringgetText() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DecoderResult

+
+public DecoderResult(byte[] rawBytes,
+                     java.lang.String text,
+                     java.util.Vector byteSegments)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getRawBytes

+
+public byte[] getRawBytes()
+
+
+
+
+
+
+ +

+getText

+
+public java.lang.String getText()
+
+
+
+
+
+
+ +

+getByteSegments

+
+public java.util.Vector getByteSegments()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/DefaultGridSampler.html b/docs/javadoc/com/google/zxing/common/DefaultGridSampler.html new file mode 100644 index 000000000..34fe485a9 --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/DefaultGridSampler.html @@ -0,0 +1,323 @@ + + + + + + +DefaultGridSampler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common +
+Class DefaultGridSampler

+
+java.lang.Object
+  extended by com.google.zxing.common.GridSampler
+      extended by com.google.zxing.common.DefaultGridSampler
+
+
+
+
public final class DefaultGridSampler
extends GridSampler
+ + +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DefaultGridSampler() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ BitMatrixsampleGrid(MonochromeBitmapSource image, + int dimension, + float p1ToX, + float p1ToY, + float p2ToX, + float p2ToY, + float p3ToX, + float p3ToY, + float p4ToX, + float p4ToY, + float p1FromX, + float p1FromY, + float p2FromX, + float p2FromY, + float p3FromX, + float p3FromY, + float p4FromX, + float p4FromY) + +
+          Samples an image for a square matrix of bits of the given dimension.
+ + + + + + + +
Methods inherited from class com.google.zxing.common.GridSampler
checkAndNudgePoints, getInstance, setGridSampler
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DefaultGridSampler

+
+public DefaultGridSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+sampleGrid

+
+public BitMatrix sampleGrid(MonochromeBitmapSource image,
+                            int dimension,
+                            float p1ToX,
+                            float p1ToY,
+                            float p2ToX,
+                            float p2ToY,
+                            float p3ToX,
+                            float p3ToY,
+                            float p4ToX,
+                            float p4ToY,
+                            float p1FromX,
+                            float p1FromY,
+                            float p2FromX,
+                            float p2FromY,
+                            float p3FromX,
+                            float p3FromY,
+                            float p4FromX,
+                            float p4FromY)
+                     throws ReaderException
+
+
Description copied from class: GridSampler
+

Samples an image for a square matrix of bits of the given dimension. This is used to extract + the black/white modules of a 2D barcode like a QR Code found in an image. Because this barcode + may be rotated or perspective-distorted, the caller supplies four points in the source image + that define known points in the barcode, so that the image may be sampled appropriately.

+ +

The last eight "from" parameters are four X/Y coordinate pairs of locations of points in + the image that define some significant points in the image to be sample. For example, + these may be the location of finder pattern in a QR Code.

+ +

The first eight "to" parameters are four X/Y coordinate pairs measured in the destination + BitMatrix, from the top left, where the known points in the image given by the "from" + parameters map to.

+ +

These 16 parameters define the transformation needed to sample the image.

+

+

+
Specified by:
sampleGrid in class GridSampler
+
+
+
Parameters:
image - image to sample
dimension - width/height of BitMatrix to sample from iamge +
Returns:
BitMatrix representing a grid of points sampled from the image within a region + defined by the "from" parameters +
Throws: +
ReaderException - if image can't be sampled, for example, if the transformation defined + by the given points is invalid or results in sampling outside the image boundaries
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/DetectorResult.html b/docs/javadoc/com/google/zxing/common/DetectorResult.html new file mode 100644 index 000000000..df6d8f201 --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/DetectorResult.html @@ -0,0 +1,281 @@ + + + + + + +DetectorResult + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common +
+Class DetectorResult

+
+java.lang.Object
+  extended by com.google.zxing.common.DetectorResult
+
+
+
+
public final class DetectorResult
extends java.lang.Object
+ + +

+

Encapsulates the result of detecting a barcode in an image. This includes the raw + matrix of black/white pixels corresponding to the barcode, and possibly points of interest + in the image, like the location of finder patterns or corners of the barcode in the image.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DetectorResult(BitMatrix bits, + ResultPoint[] points) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ BitMatrixgetBits() + +
+           
+ ResultPoint[]getPoints() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DetectorResult

+
+public DetectorResult(BitMatrix bits,
+                      ResultPoint[] points)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getBits

+
+public BitMatrix getBits()
+
+
+
+
+
+
+ +

+getPoints

+
+public ResultPoint[] getPoints()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/ECI.html b/docs/javadoc/com/google/zxing/common/ECI.html new file mode 100644 index 000000000..aef7e6d06 --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/ECI.html @@ -0,0 +1,251 @@ + + + + + + +ECI + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common +
+Class ECI

+
+java.lang.Object
+  extended by com.google.zxing.common.ECI
+
+
+
Direct Known Subclasses:
CharacterSetECI
+
+
+
+
public abstract class ECI
extends java.lang.Object
+ + +

+Superclass of classes encapsulating types ECIs, according to "Extended Channel Interpretations" + 5.3 of ISO 18004. +

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+static ECIgetECIByValue(int value) + +
+           
+ intgetValue() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getValue

+
+public int getValue()
+
+
+
+
+
+
+ +

+getECIByValue

+
+public static ECI getECIByValue(int value)
+
+
+
Parameters:
value - ECI value +
Returns:
ECI representing ECI of given value, or null if it is legal but unsupported +
Throws: +
java.lang.IllegalArgumentException - if ECI value is invalid
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/GridSampler.html b/docs/javadoc/com/google/zxing/common/GridSampler.html new file mode 100644 index 000000000..9233d6801 --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/GridSampler.html @@ -0,0 +1,404 @@ + + + + + + +GridSampler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common +
+Class GridSampler

+
+java.lang.Object
+  extended by com.google.zxing.common.GridSampler
+
+
+
Direct Known Subclasses:
DefaultGridSampler
+
+
+
+
public abstract class GridSampler
extends java.lang.Object
+ + +

+Implementations of this class can, given locations of finder patterns for a QR code in an + image, sample the right points in the image to reconstruct the QR code, accounting for + perspective distortion. It is abstracted since it is relatively expensive and should be allowed + to take advantage of platform-specific optimized implementations, like Sun's Java Advanced + Imaging library, but which may not be available in other environments such as J2ME, and vice + versa. + + The implementation used can be controlled by calling setGridSampler(GridSampler) + with an instance of a class which implements this interface. +

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
GridSampler() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected static voidcheckAndNudgePoints(MonochromeBitmapSource image, + float[] points) + +
+          Checks a set of points that have been transformed to sample points on an image against + the image's dimensions to see if the point are even within the image.
+static GridSamplergetInstance() + +
+           
+abstract  BitMatrixsampleGrid(MonochromeBitmapSource image, + int dimension, + float p1ToX, + float p1ToY, + float p2ToX, + float p2ToY, + float p3ToX, + float p3ToY, + float p4ToX, + float p4ToY, + float p1FromX, + float p1FromY, + float p2FromX, + float p2FromY, + float p3FromX, + float p3FromY, + float p4FromX, + float p4FromY) + +
+          Samples an image for a square matrix of bits of the given dimension.
+static voidsetGridSampler(GridSampler newGridSampler) + +
+          Sets the implementation of GridSampler used by the library.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+GridSampler

+
+public GridSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setGridSampler

+
+public static void setGridSampler(GridSampler newGridSampler)
+
+
Sets the implementation of GridSampler used by the library. One global + instance is stored, which may sound problematic. But, the implementation provided + ought to be appropriate for the entire platform, and all uses of this library + in the whole lifetime of the JVM. For instance, an Android activity can swap in + an implementation that takes advantage of native platform libraries. +

+

+
Parameters:
newGridSampler - The platform-specific object to install.
+
+
+
+ +

+getInstance

+
+public static GridSampler getInstance()
+
+
+ +
Returns:
the current implementation of GridSampler
+
+
+
+ +

+sampleGrid

+
+public abstract BitMatrix sampleGrid(MonochromeBitmapSource image,
+                                     int dimension,
+                                     float p1ToX,
+                                     float p1ToY,
+                                     float p2ToX,
+                                     float p2ToY,
+                                     float p3ToX,
+                                     float p3ToY,
+                                     float p4ToX,
+                                     float p4ToY,
+                                     float p1FromX,
+                                     float p1FromY,
+                                     float p2FromX,
+                                     float p2FromY,
+                                     float p3FromX,
+                                     float p3FromY,
+                                     float p4FromX,
+                                     float p4FromY)
+                              throws ReaderException
+
+

Samples an image for a square matrix of bits of the given dimension. This is used to extract + the black/white modules of a 2D barcode like a QR Code found in an image. Because this barcode + may be rotated or perspective-distorted, the caller supplies four points in the source image + that define known points in the barcode, so that the image may be sampled appropriately.

+ +

The last eight "from" parameters are four X/Y coordinate pairs of locations of points in + the image that define some significant points in the image to be sample. For example, + these may be the location of finder pattern in a QR Code.

+ +

The first eight "to" parameters are four X/Y coordinate pairs measured in the destination + BitMatrix, from the top left, where the known points in the image given by the "from" + parameters map to.

+ +

These 16 parameters define the transformation needed to sample the image.

+

+

+
Parameters:
image - image to sample
dimension - width/height of BitMatrix to sample from iamge +
Returns:
BitMatrix representing a grid of points sampled from the image within a region + defined by the "from" parameters +
Throws: +
ReaderException - if image can't be sampled, for example, if the transformation defined + by the given points is invalid or results in sampling outside the image boundaries
+
+
+
+ +

+checkAndNudgePoints

+
+protected static void checkAndNudgePoints(MonochromeBitmapSource image,
+                                          float[] points)
+                                   throws ReaderException
+
+

Checks a set of points that have been transformed to sample points on an image against + the image's dimensions to see if the point are even within the image.

+ +

This method will actually "nudge" the endpoints back onto the image if they are found to be + barely (less than 1 pixel) off the image. This accounts for imperfect detection of finder + patterns in an image where the QR Code runs all the way to the image border.

+ +

For efficiency, the method will check points from either end of the line until one is found + to be within the image. Because the set of points are assumed to be linear, this is valid.

+

+

+
Parameters:
image - image into which the points should map
points - actual points in x1,y1,...,xn,yn form +
Throws: +
ReaderException - if an endpoint is lies outside the image boundaries
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/detector/MonochromeRectangleDetector.html b/docs/javadoc/com/google/zxing/common/detector/MonochromeRectangleDetector.html new file mode 100644 index 000000000..49944b101 --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/detector/MonochromeRectangleDetector.html @@ -0,0 +1,270 @@ + + + + + + +MonochromeRectangleDetector + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common.detector +
+Class MonochromeRectangleDetector

+
+java.lang.Object
+  extended by com.google.zxing.common.detector.MonochromeRectangleDetector
+
+
+
+
public final class MonochromeRectangleDetector
extends java.lang.Object
+ + +

+

A somewhat generic detector that looks for a barcode-like rectangular region within an image. + It looks within a mostly white region of an image for a region of black and white, but mostly black. + It returns the four corners of the region, as best it can determine.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
MonochromeRectangleDetector(MonochromeBitmapSource image) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ ResultPoint[]detect() + +
+          Detects a rectangular region of black and white -- mostly black -- with a region of mostly + white, in an image.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MonochromeRectangleDetector

+
+public MonochromeRectangleDetector(MonochromeBitmapSource image)
+
+
+ + + + + + + + +
+Method Detail
+ +

+detect

+
+public ResultPoint[] detect()
+                     throws ReaderException
+
+

Detects a rectangular region of black and white -- mostly black -- with a region of mostly + white, in an image.

+

+

+ +
Returns:
ResultPoint[] describing the corners of the rectangular region. The first and last points + are opposed on the diagonal, as are the second and third. The first point will be the topmost point and + the last, the bottommost. The second point will be leftmost and the third, the rightmost +
Throws: +
ReaderException - if no Data Matrix Code can be found
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/detector/package-frame.html b/docs/javadoc/com/google/zxing/common/detector/package-frame.html new file mode 100644 index 000000000..cbabf00ec --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/detector/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +com.google.zxing.common.detector + + + + + + + + + + + +com.google.zxing.common.detector + + + + +
+Classes  + +
+MonochromeRectangleDetector
+ + + + diff --git a/docs/javadoc/com/google/zxing/common/detector/package-summary.html b/docs/javadoc/com/google/zxing/common/detector/package-summary.html new file mode 100644 index 000000000..29d2b560e --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/detector/package-summary.html @@ -0,0 +1,155 @@ + + + + + + +com.google.zxing.common.detector + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.common.detector +

+ + + + + + + + + +
+Class Summary
MonochromeRectangleDetectorA somewhat generic detector that looks for a barcode-like rectangular region within an image.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/detector/package-tree.html b/docs/javadoc/com/google/zxing/common/detector/package-tree.html new file mode 100644 index 000000000..e82d0e2a1 --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/detector/package-tree.html @@ -0,0 +1,151 @@ + + + + + + +com.google.zxing.common.detector Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.common.detector +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/package-frame.html b/docs/javadoc/com/google/zxing/common/package-frame.html new file mode 100644 index 000000000..8d01d265c --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/package-frame.html @@ -0,0 +1,71 @@ + + + + + + +com.google.zxing.common + + + + + + + + + + + +com.google.zxing.common + + + + +
+Interfaces  + +
+Comparator
+ + + + + + +
+Classes  + +
+BaseMonochromeBitmapSource +
+BitArray +
+BitMatrix +
+BitSource +
+BlackPointEstimator +
+ByteArray +
+ByteMatrix +
+CharacterSetECI +
+Collections +
+CroppedMonochromeBitmapSource +
+DecoderResult +
+DefaultGridSampler +
+DetectorResult +
+ECI +
+GridSampler
+ + + + diff --git a/docs/javadoc/com/google/zxing/common/package-summary.html b/docs/javadoc/com/google/zxing/common/package-summary.html new file mode 100644 index 000000000..904ef97f4 --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/package-summary.html @@ -0,0 +1,233 @@ + + + + + + +com.google.zxing.common + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.common +

+ + + + + + + + + +
+Interface Summary
ComparatorThis is merely a clone of Comparator since it is not available in + CLDC 1.1 / MIDP 2.0.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
BaseMonochromeBitmapSource 
BitArrayA simple, fast array of bits, represented compactly by an array of ints internally.
BitMatrixRepresents a 2D matrix of bits.
BitSourceThis provides an easy abstraction to read bits at a time from a sequence of bytes, where the + number of bits read is not often a multiple of 8.
BlackPointEstimatorEncapsulates logic that estimates the optimal "black point", the luminance value + which is the best line between "white" and "black" in a grayscale image.
ByteArrayThis class implements an array of unsigned bytes.
ByteMatrixA class which wraps a 2D array of bytes.
CharacterSetECIEncapsulates a Character Set ECI, according to "Extended Channel Interpretations" 5.3.1.1 + of ISO 18004.
CollectionsThis is basically a substitute for java.util.Collections, which is not + present in MIDP 2.0 / CLDC 1.1.
CroppedMonochromeBitmapSourceEncapulates a cropped region of another MonochromeBitmapSource.
DecoderResultEncapsulates the result of decoding a matrix of bits.
DefaultGridSampler 
DetectorResultEncapsulates the result of detecting a barcode in an image.
ECISuperclass of classes encapsulating types ECIs, according to "Extended Channel Interpretations" + 5.3 of ISO 18004.
GridSamplerImplementations of this class can, given locations of finder patterns for a QR code in an + image, sample the right points in the image to reconstruct the QR code, accounting for + perspective distortion.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/package-tree.html b/docs/javadoc/com/google/zxing/common/package-tree.html new file mode 100644 index 000000000..c30b65349 --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/package-tree.html @@ -0,0 +1,162 @@ + + + + + + +com.google.zxing.common Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.common +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/reedsolomon/GF256.html b/docs/javadoc/com/google/zxing/common/reedsolomon/GF256.html new file mode 100644 index 000000000..8e308491c --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/reedsolomon/GF256.html @@ -0,0 +1,256 @@ + + + + + + +GF256 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common.reedsolomon +
+Class GF256

+
+java.lang.Object
+  extended by com.google.zxing.common.reedsolomon.GF256
+
+
+
+
public final class GF256
extends java.lang.Object
+ + +

+

This class contains utility methods for performing mathematical operations over + the Galois Field GF(256). Operations use a given primitive polynomial in calculations.

+ +

Throughout this package, elements of GF(256) are represented as an int + for convenience and speed (but at the cost of memory). + Only the bottom 8 bits are really used.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static GF256DATA_MATRIX_FIELD + +
+           
+static GF256QR_CODE_FIELD + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+QR_CODE_FIELD

+
+public static final GF256 QR_CODE_FIELD
+
+
+
+
+
+ +

+DATA_MATRIX_FIELD

+
+public static final GF256 DATA_MATRIX_FIELD
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/reedsolomon/ReedSolomonDecoder.html b/docs/javadoc/com/google/zxing/common/reedsolomon/ReedSolomonDecoder.html new file mode 100644 index 000000000..5281a553d --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/reedsolomon/ReedSolomonDecoder.html @@ -0,0 +1,283 @@ + + + + + + +ReedSolomonDecoder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common.reedsolomon +
+Class ReedSolomonDecoder

+
+java.lang.Object
+  extended by com.google.zxing.common.reedsolomon.ReedSolomonDecoder
+
+
+
+
public final class ReedSolomonDecoder
extends java.lang.Object
+ + +

+

Implements Reed-Solomon decoding, as the name implies.

+ +

The algorithm will not be explained here, but the following references were helpful + in creating this implementation:

+ + + +

Much credit is due to William Rucklidge since portions of this code are an indirect + port of his C++ Reed-Solomon implementation.

+

+ +

+

+
Author:
+
Sean Owen, William Rucklidge, sanfordsquires
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ReedSolomonDecoder(GF256 field) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voiddecode(int[] received, + int twoS) + +
+          Decodes given set of received codewords, which include both data and error-correction + codewords.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ReedSolomonDecoder

+
+public ReedSolomonDecoder(GF256 field)
+
+
+ + + + + + + + +
+Method Detail
+ +

+decode

+
+public void decode(int[] received,
+                   int twoS)
+            throws ReedSolomonException
+
+

Decodes given set of received codewords, which include both data and error-correction + codewords. Really, this means it uses Reed-Solomon to detect and correct errors, in-place, + in the input.

+

+

+
Parameters:
received - data and error-correction codewords
twoS - number of error-correction codewords available +
Throws: +
ReedSolomonException - if decoding fails for any reason
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/reedsolomon/ReedSolomonEncoder.html b/docs/javadoc/com/google/zxing/common/reedsolomon/ReedSolomonEncoder.html new file mode 100644 index 000000000..9808f0f19 --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/reedsolomon/ReedSolomonEncoder.html @@ -0,0 +1,260 @@ + + + + + + +ReedSolomonEncoder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common.reedsolomon +
+Class ReedSolomonEncoder

+
+java.lang.Object
+  extended by com.google.zxing.common.reedsolomon.ReedSolomonEncoder
+
+
+
+
public final class ReedSolomonEncoder
extends java.lang.Object
+ + +

+

Implements Reed-Solomon enbcoding, as the name implies.

+

+ +

+

+
Author:
+
Sean Owen, William Rucklidge
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ReedSolomonEncoder(GF256 field) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidencode(int[] toEncode, + int ecBytes) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ReedSolomonEncoder

+
+public ReedSolomonEncoder(GF256 field)
+
+
+ + + + + + + + +
+Method Detail
+ +

+encode

+
+public void encode(int[] toEncode,
+                   int ecBytes)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/reedsolomon/ReedSolomonException.html b/docs/javadoc/com/google/zxing/common/reedsolomon/ReedSolomonException.html new file mode 100644 index 000000000..3690f5020 --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/reedsolomon/ReedSolomonException.html @@ -0,0 +1,245 @@ + + + + + + +ReedSolomonException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.common.reedsolomon +
+Class ReedSolomonException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by com.google.zxing.common.reedsolomon.ReedSolomonException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public final class ReedSolomonException
extends java.lang.Exception
+ + +

+

Thrown when an exception occurs during Reed-Solomon decoding, such as when + there are too many errors to correct.

+

+ +

+

+
Author:
+
Sean Owen
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ReedSolomonException(java.lang.String message) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ReedSolomonException

+
+public ReedSolomonException(java.lang.String message)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/reedsolomon/package-frame.html b/docs/javadoc/com/google/zxing/common/reedsolomon/package-frame.html new file mode 100644 index 000000000..a176bfe3c --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/reedsolomon/package-frame.html @@ -0,0 +1,47 @@ + + + + + + +com.google.zxing.common.reedsolomon + + + + + + + + + + + +com.google.zxing.common.reedsolomon + + + + +
+Classes  + +
+GF256 +
+ReedSolomonDecoder +
+ReedSolomonEncoder
+ + + + + + +
+Exceptions  + +
+ReedSolomonException
+ + + + diff --git a/docs/javadoc/com/google/zxing/common/reedsolomon/package-summary.html b/docs/javadoc/com/google/zxing/common/reedsolomon/package-summary.html new file mode 100644 index 000000000..38977bdc3 --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/reedsolomon/package-summary.html @@ -0,0 +1,179 @@ + + + + + + +com.google.zxing.common.reedsolomon + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.common.reedsolomon +

+ + + + + + + + + + + + + + + + + +
+Class Summary
GF256This class contains utility methods for performing mathematical operations over + the Galois Field GF(256).
ReedSolomonDecoderImplements Reed-Solomon decoding, as the name implies.
ReedSolomonEncoderImplements Reed-Solomon enbcoding, as the name implies.
+  + +

+ + + + + + + + + +
+Exception Summary
ReedSolomonExceptionThrown when an exception occurs during Reed-Solomon decoding, such as when + there are too many errors to correct.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/common/reedsolomon/package-tree.html b/docs/javadoc/com/google/zxing/common/reedsolomon/package-tree.html new file mode 100644 index 000000000..50741f2f4 --- /dev/null +++ b/docs/javadoc/com/google/zxing/common/reedsolomon/package-tree.html @@ -0,0 +1,156 @@ + + + + + + +com.google.zxing.common.reedsolomon Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.common.reedsolomon +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/datamatrix/DataMatrixReader.html b/docs/javadoc/com/google/zxing/datamatrix/DataMatrixReader.html new file mode 100644 index 000000000..4d96cae65 --- /dev/null +++ b/docs/javadoc/com/google/zxing/datamatrix/DataMatrixReader.html @@ -0,0 +1,304 @@ + + + + + + +DataMatrixReader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.datamatrix +
+Class DataMatrixReader

+
+java.lang.Object
+  extended by com.google.zxing.datamatrix.DataMatrixReader
+
+
+
All Implemented Interfaces:
Reader
+
+
+
+
public final class DataMatrixReader
extends java.lang.Object
implements Reader
+ + +

+This implementation can detect and decode Data Matrix codes in an image. +

+ +

+

+
Author:
+
bbrown@google.com (Brian Brown)
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DataMatrixReader() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ Resultdecode(MonochromeBitmapSource image) + +
+          Locates and decodes a Data Matrix code in an image.
+ Resultdecode(MonochromeBitmapSource image, + java.util.Hashtable hints) + +
+          Locates and decodes a barcode in some format within an image.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DataMatrixReader

+
+public DataMatrixReader()
+
+
+ + + + + + + + +
+Method Detail
+ +

+decode

+
+public Result decode(MonochromeBitmapSource image)
+              throws ReaderException
+
+
Locates and decodes a Data Matrix code in an image. +

+

+
Specified by:
decode in interface Reader
+
+
+
Parameters:
image - image of barcode to decode +
Returns:
a String representing the content encoded by the Data Matrix code +
Throws: +
ReaderException - if a Data Matrix code cannot be found, or cannot be decoded
+
+
+
+ +

+decode

+
+public Result decode(MonochromeBitmapSource image,
+                     java.util.Hashtable hints)
+              throws ReaderException
+
+
Description copied from interface: Reader
+
Locates and decodes a barcode in some format within an image. This method also accepts + hints, each possibly associated to some data, which may help the implementation decode. +

+

+
Specified by:
decode in interface Reader
+
+
+
Parameters:
image - image of barcode to decode
hints - passed as a Hashtable from DecodeHintType to aribtrary data. The + meaning of the data depends upon the hint type. The implementation may or may not do + anything with these hints. +
Returns:
String which the barcode encodes +
Throws: +
ReaderException - if the barcode cannot be located or decoded for any reason
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/datamatrix/decoder/Decoder.html b/docs/javadoc/com/google/zxing/datamatrix/decoder/Decoder.html new file mode 100644 index 000000000..9f1f4460c --- /dev/null +++ b/docs/javadoc/com/google/zxing/datamatrix/decoder/Decoder.html @@ -0,0 +1,292 @@ + + + + + + +Decoder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.datamatrix.decoder +
+Class Decoder

+
+java.lang.Object
+  extended by com.google.zxing.datamatrix.decoder.Decoder
+
+
+
+
public final class Decoder
extends java.lang.Object
+ + +

+

The main class which implements Data Matrix Code decoding -- as opposed to locating and extracting + the Data Matrix Code from an image.

+

+ +

+

+
Author:
+
bbrown@google.com (Brian Brown)
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Decoder() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ DecoderResultdecode(BitMatrix bits) + +
+          Decodes a Data Matrix Code represented as a BitMatrix.
+ DecoderResultdecode(boolean[][] image) + +
+          Convenience method that can decode a Data Matrix Code represented as a 2D array of booleans.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Decoder

+
+public Decoder()
+
+
+ + + + + + + + +
+Method Detail
+ +

+decode

+
+public DecoderResult decode(boolean[][] image)
+                     throws ReaderException
+
+

Convenience method that can decode a Data Matrix Code represented as a 2D array of booleans. + "true" is taken to mean a black module.

+

+

+
Parameters:
image - booleans representing white/black Data Matrix Code modules +
Returns:
text and bytes encoded within the Data Matrix Code +
Throws: +
ReaderException - if the Data Matrix Code cannot be decoded
+
+
+
+ +

+decode

+
+public DecoderResult decode(BitMatrix bits)
+                     throws ReaderException
+
+

Decodes a Data Matrix Code represented as a BitMatrix. A 1 or "true" is taken + to mean a black module.

+

+

+
Parameters:
bits - booleans representing white/black Data Matrix Code modules +
Returns:
text and bytes encoded within the Data Matrix Code +
Throws: +
ReaderException - if the Data Matrix Code cannot be decoded
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/datamatrix/decoder/Version.html b/docs/javadoc/com/google/zxing/datamatrix/decoder/Version.html new file mode 100644 index 000000000..11de8e5d1 --- /dev/null +++ b/docs/javadoc/com/google/zxing/datamatrix/decoder/Version.html @@ -0,0 +1,370 @@ + + + + + + +Version + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.datamatrix.decoder +
+Class Version

+
+java.lang.Object
+  extended by com.google.zxing.datamatrix.decoder.Version
+
+
+
+
public final class Version
extends java.lang.Object
+ + +

+The Version object encapsulates attributes about a particular + size Data Matrix Code. +

+ +

+

+
Author:
+
bbrown@google.com (Brian Brown)
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetDataRegionSizeColumns() + +
+           
+ intgetDataRegionSizeRows() + +
+           
+ intgetSymbolSizeColumns() + +
+           
+ intgetSymbolSizeRows() + +
+           
+ intgetTotalCodewords() + +
+           
+static VersiongetVersionForDimensions(int numRows, + int numColumns) + +
+          Deduces version information from Data Matrix dimensions.
+ intgetVersionNumber() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getVersionNumber

+
+public int getVersionNumber()
+
+
+
+
+
+
+ +

+getSymbolSizeRows

+
+public int getSymbolSizeRows()
+
+
+
+
+
+
+ +

+getSymbolSizeColumns

+
+public int getSymbolSizeColumns()
+
+
+
+
+
+
+ +

+getDataRegionSizeRows

+
+public int getDataRegionSizeRows()
+
+
+
+
+
+
+ +

+getDataRegionSizeColumns

+
+public int getDataRegionSizeColumns()
+
+
+
+
+
+
+ +

+getTotalCodewords

+
+public int getTotalCodewords()
+
+
+
+
+
+
+ +

+getVersionForDimensions

+
+public static Version getVersionForDimensions(int numRows,
+                                              int numColumns)
+                                       throws ReaderException
+
+

Deduces version information from Data Matrix dimensions.

+

+

+
Parameters:
numRows - Number of rows in modules
numColumns - Number of columns in modules +
Returns:
Version for a Data Matrix Code of those dimensions +
Throws: +
ReaderException - if dimensions do correspond to a valid Data Matrix size
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/datamatrix/decoder/package-frame.html b/docs/javadoc/com/google/zxing/datamatrix/decoder/package-frame.html new file mode 100644 index 000000000..89563fcb2 --- /dev/null +++ b/docs/javadoc/com/google/zxing/datamatrix/decoder/package-frame.html @@ -0,0 +1,34 @@ + + + + + + +com.google.zxing.datamatrix.decoder + + + + + + + + + + + +com.google.zxing.datamatrix.decoder + + + + +
+Classes  + +
+Decoder +
+Version
+ + + + diff --git a/docs/javadoc/com/google/zxing/datamatrix/decoder/package-summary.html b/docs/javadoc/com/google/zxing/datamatrix/decoder/package-summary.html new file mode 100644 index 000000000..34be67351 --- /dev/null +++ b/docs/javadoc/com/google/zxing/datamatrix/decoder/package-summary.html @@ -0,0 +1,161 @@ + + + + + + +com.google.zxing.datamatrix.decoder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.datamatrix.decoder +

+ + + + + + + + + + + + + +
+Class Summary
DecoderThe main class which implements Data Matrix Code decoding -- as opposed to locating and extracting + the Data Matrix Code from an image.
VersionThe Version object encapsulates attributes about a particular + size Data Matrix Code.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/datamatrix/decoder/package-tree.html b/docs/javadoc/com/google/zxing/datamatrix/decoder/package-tree.html new file mode 100644 index 000000000..7ee66c82f --- /dev/null +++ b/docs/javadoc/com/google/zxing/datamatrix/decoder/package-tree.html @@ -0,0 +1,151 @@ + + + + + + +com.google.zxing.datamatrix.decoder Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.datamatrix.decoder +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/datamatrix/detector/Detector.html b/docs/javadoc/com/google/zxing/datamatrix/detector/Detector.html new file mode 100644 index 000000000..e4715c224 --- /dev/null +++ b/docs/javadoc/com/google/zxing/datamatrix/detector/Detector.html @@ -0,0 +1,265 @@ + + + + + + +Detector + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.datamatrix.detector +
+Class Detector

+
+java.lang.Object
+  extended by com.google.zxing.datamatrix.detector.Detector
+
+
+
+
public final class Detector
extends java.lang.Object
+ + +

+

Encapsulates logic that can detect a Data Matrix Code in an image, even if the Data Matrix Code + is rotated or skewed, or partially obscured.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Detector(MonochromeBitmapSource image) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ DetectorResultdetect() + +
+          Detects a Data Matrix Code in an image.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Detector

+
+public Detector(MonochromeBitmapSource image)
+
+
+ + + + + + + + +
+Method Detail
+ +

+detect

+
+public DetectorResult detect()
+                      throws ReaderException
+
+

Detects a Data Matrix Code in an image.

+

+

+ +
Returns:
DetectorResult encapsulating results of detecting a QR Code +
Throws: +
ReaderException - if no Data Matrix Code can be found
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/datamatrix/detector/package-frame.html b/docs/javadoc/com/google/zxing/datamatrix/detector/package-frame.html new file mode 100644 index 000000000..53ce74dfa --- /dev/null +++ b/docs/javadoc/com/google/zxing/datamatrix/detector/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +com.google.zxing.datamatrix.detector + + + + + + + + + + + +com.google.zxing.datamatrix.detector + + + + +
+Classes  + +
+Detector
+ + + + diff --git a/docs/javadoc/com/google/zxing/datamatrix/detector/package-summary.html b/docs/javadoc/com/google/zxing/datamatrix/detector/package-summary.html new file mode 100644 index 000000000..2c2b74339 --- /dev/null +++ b/docs/javadoc/com/google/zxing/datamatrix/detector/package-summary.html @@ -0,0 +1,156 @@ + + + + + + +com.google.zxing.datamatrix.detector + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.datamatrix.detector +

+ + + + + + + + + +
+Class Summary
DetectorEncapsulates logic that can detect a Data Matrix Code in an image, even if the Data Matrix Code + is rotated or skewed, or partially obscured.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/datamatrix/detector/package-tree.html b/docs/javadoc/com/google/zxing/datamatrix/detector/package-tree.html new file mode 100644 index 000000000..dba11508e --- /dev/null +++ b/docs/javadoc/com/google/zxing/datamatrix/detector/package-tree.html @@ -0,0 +1,151 @@ + + + + + + +com.google.zxing.datamatrix.detector Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.datamatrix.detector +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/datamatrix/package-frame.html b/docs/javadoc/com/google/zxing/datamatrix/package-frame.html new file mode 100644 index 000000000..d51b21088 --- /dev/null +++ b/docs/javadoc/com/google/zxing/datamatrix/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +com.google.zxing.datamatrix + + + + + + + + + + + +com.google.zxing.datamatrix + + + + +
+Classes  + +
+DataMatrixReader
+ + + + diff --git a/docs/javadoc/com/google/zxing/datamatrix/package-summary.html b/docs/javadoc/com/google/zxing/datamatrix/package-summary.html new file mode 100644 index 000000000..7db1db875 --- /dev/null +++ b/docs/javadoc/com/google/zxing/datamatrix/package-summary.html @@ -0,0 +1,155 @@ + + + + + + +com.google.zxing.datamatrix + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.datamatrix +

+ + + + + + + + + +
+Class Summary
DataMatrixReaderThis implementation can detect and decode Data Matrix codes in an image.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/datamatrix/package-tree.html b/docs/javadoc/com/google/zxing/datamatrix/package-tree.html new file mode 100644 index 000000000..39f9a2ac6 --- /dev/null +++ b/docs/javadoc/com/google/zxing/datamatrix/package-tree.html @@ -0,0 +1,152 @@ + + + + + + +com.google.zxing.datamatrix Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.datamatrix +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/multi/ByQuadrantReader.html b/docs/javadoc/com/google/zxing/multi/ByQuadrantReader.html new file mode 100644 index 000000000..7c207269a --- /dev/null +++ b/docs/javadoc/com/google/zxing/multi/ByQuadrantReader.html @@ -0,0 +1,307 @@ + + + + + + +ByQuadrantReader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.multi +
+Class ByQuadrantReader

+
+java.lang.Object
+  extended by com.google.zxing.multi.ByQuadrantReader
+
+
+
All Implemented Interfaces:
Reader
+
+
+
+
public final class ByQuadrantReader
extends java.lang.Object
implements Reader
+ + +

+This class attempts to decode a barcode from an image, not by scanning the whole image, + but by scanning subsets of the image. This is important when there may be multiple barcodes in + an image, and detecting a barcode may find parts of multiple barcode and fail to decode + (e.g. QR Codes). Instead this scans the four quadrants of the image -- and also the center + 'quadrant' to cover the case where a barcode is found in the center. +

+ +

+

+
See Also:
GenericMultipleBarcodeReader
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ByQuadrantReader(Reader delegate) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ Resultdecode(MonochromeBitmapSource image) + +
+          Locates and decodes a barcode in some format within an image.
+ Resultdecode(MonochromeBitmapSource image, + java.util.Hashtable hints) + +
+          Locates and decodes a barcode in some format within an image.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ByQuadrantReader

+
+public ByQuadrantReader(Reader delegate)
+
+
+ + + + + + + + +
+Method Detail
+ +

+decode

+
+public Result decode(MonochromeBitmapSource image)
+              throws ReaderException
+
+
Description copied from interface: Reader
+
Locates and decodes a barcode in some format within an image. +

+

+
Specified by:
decode in interface Reader
+
+
+
Parameters:
image - image of barcode to decode +
Returns:
String which the barcode encodes +
Throws: +
ReaderException - if the barcode cannot be located or decoded for any reason
+
+
+
+ +

+decode

+
+public Result decode(MonochromeBitmapSource image,
+                     java.util.Hashtable hints)
+              throws ReaderException
+
+
Description copied from interface: Reader
+
Locates and decodes a barcode in some format within an image. This method also accepts + hints, each possibly associated to some data, which may help the implementation decode. +

+

+
Specified by:
decode in interface Reader
+
+
+
Parameters:
image - image of barcode to decode
hints - passed as a Hashtable from DecodeHintType to aribtrary data. The + meaning of the data depends upon the hint type. The implementation may or may not do + anything with these hints. +
Returns:
String which the barcode encodes +
Throws: +
ReaderException - if the barcode cannot be located or decoded for any reason
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/multi/GenericMultipleBarcodeReader.html b/docs/javadoc/com/google/zxing/multi/GenericMultipleBarcodeReader.html new file mode 100644 index 000000000..46d40a61a --- /dev/null +++ b/docs/javadoc/com/google/zxing/multi/GenericMultipleBarcodeReader.html @@ -0,0 +1,303 @@ + + + + + + +GenericMultipleBarcodeReader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.multi +
+Class GenericMultipleBarcodeReader

+
+java.lang.Object
+  extended by com.google.zxing.multi.GenericMultipleBarcodeReader
+
+
+
All Implemented Interfaces:
MultipleBarcodeReader
+
+
+
+
public final class GenericMultipleBarcodeReader
extends java.lang.Object
implements MultipleBarcodeReader
+ + +

+

Attempts to locate multiple barcodes in an image by repeatedly decoding portion of the image. + After one barcode is found, the areas left, above, right and below the barcode's + ResultPoints are scanned, recursively.

+ +

A caller may want to also employ ByQuadrantReader when attempting to find multiple + 2D barcodes, like QR Codes, in an image, where the presence of multiple barcodes might prevent + detecting any one of them.

+ +

That is, instead of passing a Reader a caller might pass + new ByQuadrantReader(reader).

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
GenericMultipleBarcodeReader(Reader delegate) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ Result[]decodeMultiple(MonochromeBitmapSource image) + +
+           
+ Result[]decodeMultiple(MonochromeBitmapSource image, + java.util.Hashtable hints) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+GenericMultipleBarcodeReader

+
+public GenericMultipleBarcodeReader(Reader delegate)
+
+
+ + + + + + + + +
+Method Detail
+ +

+decodeMultiple

+
+public Result[] decodeMultiple(MonochromeBitmapSource image)
+                        throws ReaderException
+
+
+
Specified by:
decodeMultiple in interface MultipleBarcodeReader
+
+
+ +
Throws: +
ReaderException
+
+
+
+ +

+decodeMultiple

+
+public Result[] decodeMultiple(MonochromeBitmapSource image,
+                               java.util.Hashtable hints)
+                        throws ReaderException
+
+
+
Specified by:
decodeMultiple in interface MultipleBarcodeReader
+
+
+ +
Throws: +
ReaderException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/multi/MultipleBarcodeReader.html b/docs/javadoc/com/google/zxing/multi/MultipleBarcodeReader.html new file mode 100644 index 000000000..d223feabc --- /dev/null +++ b/docs/javadoc/com/google/zxing/multi/MultipleBarcodeReader.html @@ -0,0 +1,242 @@ + + + + + + +MultipleBarcodeReader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.multi +
+Interface MultipleBarcodeReader

+
+
All Known Implementing Classes:
GenericMultipleBarcodeReader, QRCodeMultiReader
+
+
+
+
public interface MultipleBarcodeReader
+ + +

+Implementation of this interface attempt to read several barcodes from one image. +

+ +

+

+
Author:
+
Sean Owen
+
See Also:
Reader
+
+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ Result[]decodeMultiple(MonochromeBitmapSource image) + +
+           
+ Result[]decodeMultiple(MonochromeBitmapSource image, + java.util.Hashtable hints) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+decodeMultiple

+
+Result[] decodeMultiple(MonochromeBitmapSource image)
+                        throws ReaderException
+
+
+ +
Throws: +
ReaderException
+
+
+
+ +

+decodeMultiple

+
+Result[] decodeMultiple(MonochromeBitmapSource image,
+                        java.util.Hashtable hints)
+                        throws ReaderException
+
+
+ +
Throws: +
ReaderException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/multi/package-frame.html b/docs/javadoc/com/google/zxing/multi/package-frame.html new file mode 100644 index 000000000..5b5fa1ebd --- /dev/null +++ b/docs/javadoc/com/google/zxing/multi/package-frame.html @@ -0,0 +1,45 @@ + + + + + + +com.google.zxing.multi + + + + + + + + + + + +com.google.zxing.multi + + + + +
+Interfaces  + +
+MultipleBarcodeReader
+ + + + + + +
+Classes  + +
+ByQuadrantReader +
+GenericMultipleBarcodeReader
+ + + + diff --git a/docs/javadoc/com/google/zxing/multi/package-summary.html b/docs/javadoc/com/google/zxing/multi/package-summary.html new file mode 100644 index 000000000..f15749437 --- /dev/null +++ b/docs/javadoc/com/google/zxing/multi/package-summary.html @@ -0,0 +1,174 @@ + + + + + + +com.google.zxing.multi + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.multi +

+ + + + + + + + + +
+Interface Summary
MultipleBarcodeReaderImplementation of this interface attempt to read several barcodes from one image.
+  + +

+ + + + + + + + + + + + + +
+Class Summary
ByQuadrantReaderThis class attempts to decode a barcode from an image, not by scanning the whole image, + but by scanning subsets of the image.
GenericMultipleBarcodeReaderAttempts to locate multiple barcodes in an image by repeatedly decoding portion of the image.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/multi/package-tree.html b/docs/javadoc/com/google/zxing/multi/package-tree.html new file mode 100644 index 000000000..b20731576 --- /dev/null +++ b/docs/javadoc/com/google/zxing/multi/package-tree.html @@ -0,0 +1,158 @@ + + + + + + +com.google.zxing.multi Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.multi +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/multi/qrcode/QRCodeMultiReader.html b/docs/javadoc/com/google/zxing/multi/qrcode/QRCodeMultiReader.html new file mode 100644 index 000000000..fe98a01dc --- /dev/null +++ b/docs/javadoc/com/google/zxing/multi/qrcode/QRCodeMultiReader.html @@ -0,0 +1,304 @@ + + + + + + +QRCodeMultiReader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.multi.qrcode +
+Class QRCodeMultiReader

+
+java.lang.Object
+  extended by com.google.zxing.qrcode.QRCodeReader
+      extended by com.google.zxing.multi.qrcode.QRCodeMultiReader
+
+
+
All Implemented Interfaces:
MultipleBarcodeReader, Reader
+
+
+
+
public final class QRCodeMultiReader
extends QRCodeReader
implements MultipleBarcodeReader
+ + +

+This implementation can detect and decode multiple QR Codes in an image. +

+ +

+

+
Author:
+
Sean Owen, Hannes Erven
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
QRCodeMultiReader() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ Result[]decodeMultiple(MonochromeBitmapSource image) + +
+           
+ Result[]decodeMultiple(MonochromeBitmapSource image, + java.util.Hashtable hints) + +
+           
+ + + + + + + +
Methods inherited from class com.google.zxing.qrcode.QRCodeReader
decode, decode, getDecoder
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+QRCodeMultiReader

+
+public QRCodeMultiReader()
+
+
+ + + + + + + + +
+Method Detail
+ +

+decodeMultiple

+
+public Result[] decodeMultiple(MonochromeBitmapSource image)
+                        throws ReaderException
+
+
+
Specified by:
decodeMultiple in interface MultipleBarcodeReader
+
+
+ +
Throws: +
ReaderException
+
+
+
+ +

+decodeMultiple

+
+public Result[] decodeMultiple(MonochromeBitmapSource image,
+                               java.util.Hashtable hints)
+                        throws ReaderException
+
+
+
Specified by:
decodeMultiple in interface MultipleBarcodeReader
+
+
+ +
Throws: +
ReaderException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/multi/qrcode/detector/MultiDetector.html b/docs/javadoc/com/google/zxing/multi/qrcode/detector/MultiDetector.html new file mode 100644 index 000000000..ee2d21d73 --- /dev/null +++ b/docs/javadoc/com/google/zxing/multi/qrcode/detector/MultiDetector.html @@ -0,0 +1,272 @@ + + + + + + +MultiDetector + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.multi.qrcode.detector +
+Class MultiDetector

+
+java.lang.Object
+  extended by com.google.zxing.qrcode.detector.Detector
+      extended by com.google.zxing.multi.qrcode.detector.MultiDetector
+
+
+
+
public final class MultiDetector
extends Detector
+ + +

+

Encapsulates logic that can detect one or more QR Codes in an image, even if the QR Code + is rotated or skewed, or partially obscured.

+

+ +

+

+
Author:
+
Sean Owen, Hannes Erven
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
MultiDetector(MonochromeBitmapSource image) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ DetectorResult[]detectMulti(java.util.Hashtable hints) + +
+           
+ + + + + + + +
Methods inherited from class com.google.zxing.qrcode.detector.Detector
detect, detect, getImage, processFinderPatternInfo
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MultiDetector

+
+public MultiDetector(MonochromeBitmapSource image)
+
+
+ + + + + + + + +
+Method Detail
+ +

+detectMulti

+
+public DetectorResult[] detectMulti(java.util.Hashtable hints)
+                             throws ReaderException
+
+
+ +
Throws: +
ReaderException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/multi/qrcode/detector/package-frame.html b/docs/javadoc/com/google/zxing/multi/qrcode/detector/package-frame.html new file mode 100644 index 000000000..d24ecedb2 --- /dev/null +++ b/docs/javadoc/com/google/zxing/multi/qrcode/detector/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +com.google.zxing.multi.qrcode.detector + + + + + + + + + + + +com.google.zxing.multi.qrcode.detector + + + + +
+Classes  + +
+MultiDetector
+ + + + diff --git a/docs/javadoc/com/google/zxing/multi/qrcode/detector/package-summary.html b/docs/javadoc/com/google/zxing/multi/qrcode/detector/package-summary.html new file mode 100644 index 000000000..96fd8ae0a --- /dev/null +++ b/docs/javadoc/com/google/zxing/multi/qrcode/detector/package-summary.html @@ -0,0 +1,156 @@ + + + + + + +com.google.zxing.multi.qrcode.detector + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.multi.qrcode.detector +

+ + + + + + + + + +
+Class Summary
MultiDetectorEncapsulates logic that can detect one or more QR Codes in an image, even if the QR Code + is rotated or skewed, or partially obscured.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/multi/qrcode/detector/package-tree.html b/docs/javadoc/com/google/zxing/multi/qrcode/detector/package-tree.html new file mode 100644 index 000000000..9f11b7afd --- /dev/null +++ b/docs/javadoc/com/google/zxing/multi/qrcode/detector/package-tree.html @@ -0,0 +1,153 @@ + + + + + + +com.google.zxing.multi.qrcode.detector Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.multi.qrcode.detector +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/multi/qrcode/package-frame.html b/docs/javadoc/com/google/zxing/multi/qrcode/package-frame.html new file mode 100644 index 000000000..672ffbcca --- /dev/null +++ b/docs/javadoc/com/google/zxing/multi/qrcode/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +com.google.zxing.multi.qrcode + + + + + + + + + + + +com.google.zxing.multi.qrcode + + + + +
+Classes  + +
+QRCodeMultiReader
+ + + + diff --git a/docs/javadoc/com/google/zxing/multi/qrcode/package-summary.html b/docs/javadoc/com/google/zxing/multi/qrcode/package-summary.html new file mode 100644 index 000000000..3a8e5df6c --- /dev/null +++ b/docs/javadoc/com/google/zxing/multi/qrcode/package-summary.html @@ -0,0 +1,155 @@ + + + + + + +com.google.zxing.multi.qrcode + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.multi.qrcode +

+ + + + + + + + + +
+Class Summary
QRCodeMultiReaderThis implementation can detect and decode multiple QR Codes in an image.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/multi/qrcode/package-tree.html b/docs/javadoc/com/google/zxing/multi/qrcode/package-tree.html new file mode 100644 index 000000000..0a3618ce6 --- /dev/null +++ b/docs/javadoc/com/google/zxing/multi/qrcode/package-tree.html @@ -0,0 +1,155 @@ + + + + + + +com.google.zxing.multi.qrcode Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.multi.qrcode +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/oned/AbstractOneDReader.html b/docs/javadoc/com/google/zxing/oned/AbstractOneDReader.html new file mode 100644 index 000000000..bb7debefa --- /dev/null +++ b/docs/javadoc/com/google/zxing/oned/AbstractOneDReader.html @@ -0,0 +1,344 @@ + + + + + + +AbstractOneDReader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.oned +
+Class AbstractOneDReader

+
+java.lang.Object
+  extended by com.google.zxing.oned.AbstractOneDReader
+
+
+
All Implemented Interfaces:
OneDReader, Reader
+
+
+
Direct Known Subclasses:
AbstractUPCEANReader, Code128Reader, Code39Reader, ITFReader, MultiFormatOneDReader, MultiFormatUPCEANReader
+
+
+
+
public abstract class AbstractOneDReader
extends java.lang.Object
implements OneDReader
+ + +

+

Encapsulates functionality and implementation that is common to all families + of one-dimensional barcodes.

+

+ +

+

+
Author:
+
dswitkin@google.com (Daniel Switkin), Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
AbstractOneDReader() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Resultdecode(MonochromeBitmapSource image) + +
+          Locates and decodes a barcode in some format within an image.
+ Resultdecode(MonochromeBitmapSource image, + java.util.Hashtable hints) + +
+          Locates and decodes a barcode in some format within an image.
+abstract  ResultdecodeRow(int rowNumber, + BitArray row, + java.util.Hashtable hints) + +
+          Attempts to decode a one-dimensional barcode format given a single row of + an image.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractOneDReader

+
+public AbstractOneDReader()
+
+
+ + + + + + + + +
+Method Detail
+ +

+decode

+
+public final Result decode(MonochromeBitmapSource image)
+                    throws ReaderException
+
+
Description copied from interface: Reader
+
Locates and decodes a barcode in some format within an image. +

+

+
Specified by:
decode in interface Reader
+
+
+
Parameters:
image - image of barcode to decode +
Returns:
String which the barcode encodes +
Throws: +
ReaderException - if the barcode cannot be located or decoded for any reason
+
+
+
+ +

+decode

+
+public final Result decode(MonochromeBitmapSource image,
+                           java.util.Hashtable hints)
+                    throws ReaderException
+
+
Description copied from interface: Reader
+
Locates and decodes a barcode in some format within an image. This method also accepts + hints, each possibly associated to some data, which may help the implementation decode. +

+

+
Specified by:
decode in interface Reader
+
+
+
Parameters:
image - image of barcode to decode
hints - passed as a Hashtable from DecodeHintType to aribtrary data. The + meaning of the data depends upon the hint type. The implementation may or may not do + anything with these hints. +
Returns:
String which the barcode encodes +
Throws: +
ReaderException - if the barcode cannot be located or decoded for any reason
+
+
+
+ +

+decodeRow

+
+public abstract Result decodeRow(int rowNumber,
+                                 BitArray row,
+                                 java.util.Hashtable hints)
+                          throws ReaderException
+
+
Description copied from interface: OneDReader
+

Attempts to decode a one-dimensional barcode format given a single row of + an image.

+

+

+
Specified by:
decodeRow in interface OneDReader
+
+
+
Parameters:
rowNumber - row number from top of the row
row - the black/white pixel data of the row
hints - decode hints +
Returns:
Result containing encoded string and start/end of barcode +
Throws: +
ReaderException - if an error occurs or barcode cannot be found
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/oned/AbstractUPCEANReader.html b/docs/javadoc/com/google/zxing/oned/AbstractUPCEANReader.html new file mode 100644 index 000000000..b94bd3f6a --- /dev/null +++ b/docs/javadoc/com/google/zxing/oned/AbstractUPCEANReader.html @@ -0,0 +1,400 @@ + + + + + + +AbstractUPCEANReader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.oned +
+Class AbstractUPCEANReader

+
+java.lang.Object
+  extended by com.google.zxing.oned.AbstractOneDReader
+      extended by com.google.zxing.oned.AbstractUPCEANReader
+
+
+
All Implemented Interfaces:
OneDReader, UPCEANReader, Reader
+
+
+
Direct Known Subclasses:
EAN13Reader, EAN8Reader, UPCEReader
+
+
+
+
public abstract class AbstractUPCEANReader
extends AbstractOneDReader
implements UPCEANReader
+ + +

+

Encapsulates functionality and implementation that is common to UPC and EAN families + of one-dimensional barcodes.

+

+ +

+

+
Author:
+
dswitkin@google.com (Daniel Switkin), Sean Owen, alasdair@google.com (Alasdair Mackintosh)
+
+
+ +

+ + + + + + + + + + + + +
+Constructor Summary
+protected AbstractUPCEANReader() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static booleancheckStandardUPCEANChecksum(java.lang.String s) + +
+          Computes the UPC/EAN checksum on a string of digits, and reports + whether the checksum is correct or not.
+protected abstract  intdecodeMiddle(BitArray row, + int[] startRange, + java.lang.StringBuffer resultString) + +
+          Subclasses override this to decode the portion of a barcode between the start and end guard patterns.
+ ResultdecodeRow(int rowNumber, + BitArray row, + java.util.Hashtable hints) + +
+          Attempts to decode a one-dimensional barcode format given a single row of + an image.
+ ResultdecodeRow(int rowNumber, + BitArray row, + int[] startGuardRange) + +
+          Like OneDReader.decodeRow(int, BitArray, java.util.Hashtable), but + allows caller to inform method about where the UPC/EAN start pattern is + found.
+ + + + + + + +
Methods inherited from class com.google.zxing.oned.AbstractOneDReader
decode, decode
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface com.google.zxing.Reader
decode, decode
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractUPCEANReader

+
+protected AbstractUPCEANReader()
+
+
+ + + + + + + + +
+Method Detail
+ +

+decodeRow

+
+public final Result decodeRow(int rowNumber,
+                              BitArray row,
+                              java.util.Hashtable hints)
+                       throws ReaderException
+
+
Description copied from interface: OneDReader
+

Attempts to decode a one-dimensional barcode format given a single row of + an image.

+

+

+
Specified by:
decodeRow in interface OneDReader
Specified by:
decodeRow in class AbstractOneDReader
+
+
+
Parameters:
rowNumber - row number from top of the row
row - the black/white pixel data of the row
hints - decode hints +
Returns:
Result containing encoded string and start/end of barcode +
Throws: +
ReaderException - if an error occurs or barcode cannot be found
+
+
+
+ +

+decodeRow

+
+public final Result decodeRow(int rowNumber,
+                              BitArray row,
+                              int[] startGuardRange)
+                       throws ReaderException
+
+
Description copied from interface: UPCEANReader
+

Like OneDReader.decodeRow(int, BitArray, java.util.Hashtable), but + allows caller to inform method about where the UPC/EAN start pattern is + found. This allows this to be computed once and reused across many implementations.

+

+

+
Specified by:
decodeRow in interface UPCEANReader
+
+
+ +
Throws: +
ReaderException
+
+
+
+ +

+checkStandardUPCEANChecksum

+
+public static boolean checkStandardUPCEANChecksum(java.lang.String s)
+                                           throws ReaderException
+
+
Computes the UPC/EAN checksum on a string of digits, and reports + whether the checksum is correct or not. +

+

+
+
+
+
Parameters:
s - string of digits to check +
Returns:
true iff string of digits passes the UPC/EAN checksum algorithm +
Throws: +
ReaderException - if the string does not contain only digits
+
+
+
+ +

+decodeMiddle

+
+protected abstract int decodeMiddle(BitArray row,
+                                    int[] startRange,
+                                    java.lang.StringBuffer resultString)
+                             throws ReaderException
+
+
Subclasses override this to decode the portion of a barcode between the start and end guard patterns. +

+

+
+
+
+
Parameters:
row - row of black/white values to search
startRange - start/end offset of start guard pattern
resultString - StringBuffer to append decoded chars to +
Returns:
horizontal offset of first pixel after the "middle" that was decoded +
Throws: +
ReaderException - if decoding could not complete successfully
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/oned/AbstractUPCEANWriter.html b/docs/javadoc/com/google/zxing/oned/AbstractUPCEANWriter.html new file mode 100644 index 000000000..8791d81d2 --- /dev/null +++ b/docs/javadoc/com/google/zxing/oned/AbstractUPCEANWriter.html @@ -0,0 +1,382 @@ + + + + + + +AbstractUPCEANWriter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.oned +
+Class AbstractUPCEANWriter

+
+java.lang.Object
+  extended by com.google.zxing.oned.AbstractUPCEANWriter
+
+
+
All Implemented Interfaces:
UPCEANWriter, Writer
+
+
+
Direct Known Subclasses:
EAN13Writer, EAN8Writer
+
+
+
+
public abstract class AbstractUPCEANWriter
extends java.lang.Object
implements UPCEANWriter
+ + +

+

Encapsulates functionality and implementation that is common to UPC and EAN families + of one-dimensional barcodes.

+

+ +

+

+
Author:
+
aripollak@gmail.com (Ari Pollak)
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
AbstractUPCEANWriter() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected static intappendPattern(byte[] target, + int pos, + int[] pattern, + int startColor) + +
+          Appends the given pattern to the target array starting at pos.
+ ByteMatrixencode(java.lang.String contents, + BarcodeFormat format, + int width, + int height) + +
+          Encode a barcode using the default settings.
+ ByteMatrixencode(java.lang.String contents, + BarcodeFormat format, + int width, + int height, + java.util.Hashtable hints) + +
+           
+protected static ByteMatrixrenderResult(byte[] code, + int width, + int height) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface com.google.zxing.oned.UPCEANWriter
encode
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractUPCEANWriter

+
+public AbstractUPCEANWriter()
+
+
+ + + + + + + + +
+Method Detail
+ +

+encode

+
+public ByteMatrix encode(java.lang.String contents,
+                         BarcodeFormat format,
+                         int width,
+                         int height)
+                  throws WriterException
+
+
Description copied from interface: Writer
+
Encode a barcode using the default settings. +

+

+
Specified by:
encode in interface Writer
+
+
+
Parameters:
contents - The contents to encode in the barcode
format - The barcode format to generate
width - The preferred width in pixels
height - The preferred height in pixels +
Returns:
The generated barcode as a Matrix of unsigned bytes (0 == black, 255 == white) +
Throws: +
WriterException
+
+
+
+ +

+encode

+
+public ByteMatrix encode(java.lang.String contents,
+                         BarcodeFormat format,
+                         int width,
+                         int height,
+                         java.util.Hashtable hints)
+                  throws WriterException
+
+
+
Specified by:
encode in interface Writer
+
+
+
Parameters:
contents - The contents to encode in the barcode
format - The barcode format to generate
width - The preferred width in pixels
height - The preferred height in pixels
hints - Additional parameters to supply to the encoder +
Returns:
The generated barcode as a Matrix of unsigned bytes (0 == black, 255 == white) +
Throws: +
WriterException
+
+
+
+ +

+renderResult

+
+protected static ByteMatrix renderResult(byte[] code,
+                                         int width,
+                                         int height)
+
+
+
+
+
+ +
Returns:
a byte array of horizontal pixels (0 = white, 1 = black)
+
+
+
+ +

+appendPattern

+
+protected static int appendPattern(byte[] target,
+                                   int pos,
+                                   int[] pattern,
+                                   int startColor)
+
+
Appends the given pattern to the target array starting at pos. +

+

+
+
+
+
Parameters:
startColor - starting color - 0 for white, 1 for black +
Returns:
the number of elements added to target.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/oned/Code128Reader.html b/docs/javadoc/com/google/zxing/oned/Code128Reader.html new file mode 100644 index 000000000..122d4ebd6 --- /dev/null +++ b/docs/javadoc/com/google/zxing/oned/Code128Reader.html @@ -0,0 +1,287 @@ + + + + + + +Code128Reader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.oned +
+Class Code128Reader

+
+java.lang.Object
+  extended by com.google.zxing.oned.AbstractOneDReader
+      extended by com.google.zxing.oned.Code128Reader
+
+
+
All Implemented Interfaces:
OneDReader, Reader
+
+
+
+
public final class Code128Reader
extends AbstractOneDReader
+ + +

+

Decodes Code 128 barcodes.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Code128Reader() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ ResultdecodeRow(int rowNumber, + BitArray row, + java.util.Hashtable hints) + +
+          Attempts to decode a one-dimensional barcode format given a single row of + an image.
+ + + + + + + +
Methods inherited from class com.google.zxing.oned.AbstractOneDReader
decode, decode
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Code128Reader

+
+public Code128Reader()
+
+
+ + + + + + + + +
+Method Detail
+ +

+decodeRow

+
+public Result decodeRow(int rowNumber,
+                        BitArray row,
+                        java.util.Hashtable hints)
+                 throws ReaderException
+
+
Description copied from interface: OneDReader
+

Attempts to decode a one-dimensional barcode format given a single row of + an image.

+

+

+
Specified by:
decodeRow in interface OneDReader
Specified by:
decodeRow in class AbstractOneDReader
+
+
+
Parameters:
rowNumber - row number from top of the row
row - the black/white pixel data of the row
hints - decode hints +
Returns:
Result containing encoded string and start/end of barcode +
Throws: +
ReaderException - if an error occurs or barcode cannot be found
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/oned/Code39Reader.html b/docs/javadoc/com/google/zxing/oned/Code39Reader.html new file mode 100644 index 000000000..6a7ea56b5 --- /dev/null +++ b/docs/javadoc/com/google/zxing/oned/Code39Reader.html @@ -0,0 +1,337 @@ + + + + + + +Code39Reader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.oned +
+Class Code39Reader

+
+java.lang.Object
+  extended by com.google.zxing.oned.AbstractOneDReader
+      extended by com.google.zxing.oned.Code39Reader
+
+
+
All Implemented Interfaces:
OneDReader, Reader
+
+
+
+
public final class Code39Reader
extends AbstractOneDReader
+ + +

+

Decodes Code 39 barcodes. This does not support "Full ASCII Code 39" yet.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + + + + + + +
+Constructor Summary
Code39Reader() + +
+          Creates a reader that assumes all encoded data is data, and does not treat the final + character as a check digit.
Code39Reader(boolean usingCheckDigit) + +
+          Creates a reader that can be configured to check the last character as a check digit.
Code39Reader(boolean usingCheckDigit, + boolean extendedMode) + +
+          Creates a reader that can be configured to check the last character as a check digit, + or optionally attempt to decode "extended Code 39" sequences that are used to encode + the full ASCII character set.
+  + + + + + + + + + + + +
+Method Summary
+ ResultdecodeRow(int rowNumber, + BitArray row, + java.util.Hashtable hints) + +
+          Attempts to decode a one-dimensional barcode format given a single row of + an image.
+ + + + + + + +
Methods inherited from class com.google.zxing.oned.AbstractOneDReader
decode, decode
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Code39Reader

+
+public Code39Reader()
+
+
Creates a reader that assumes all encoded data is data, and does not treat the final + character as a check digit. It will not decoded "extended Code 39" sequences. +

+

+
+ +

+Code39Reader

+
+public Code39Reader(boolean usingCheckDigit)
+
+
Creates a reader that can be configured to check the last character as a check digit. + It will not decoded "extended Code 39" sequences. +

+

+
Parameters:
usingCheckDigit - if true, treat the last data character as a check digit, not + data, and verify that the checksum passes.
+
+
+ +

+Code39Reader

+
+public Code39Reader(boolean usingCheckDigit,
+                    boolean extendedMode)
+
+
Creates a reader that can be configured to check the last character as a check digit, + or optionally attempt to decode "extended Code 39" sequences that are used to encode + the full ASCII character set. +

+

+
Parameters:
usingCheckDigit - if true, treat the last data character as a check digit, not + data, and verify that the checksum passes.
extendedMode - if true, will attempt to decode extended Code 39 sequences in the + text.
+
+ + + + + + + + +
+Method Detail
+ +

+decodeRow

+
+public Result decodeRow(int rowNumber,
+                        BitArray row,
+                        java.util.Hashtable hints)
+                 throws ReaderException
+
+
Description copied from interface: OneDReader
+

Attempts to decode a one-dimensional barcode format given a single row of + an image.

+

+

+
Specified by:
decodeRow in interface OneDReader
Specified by:
decodeRow in class AbstractOneDReader
+
+
+
Parameters:
rowNumber - row number from top of the row
row - the black/white pixel data of the row
hints - decode hints +
Returns:
Result containing encoded string and start/end of barcode +
Throws: +
ReaderException - if an error occurs or barcode cannot be found
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/oned/EAN13Reader.html b/docs/javadoc/com/google/zxing/oned/EAN13Reader.html new file mode 100644 index 000000000..a88c6393f --- /dev/null +++ b/docs/javadoc/com/google/zxing/oned/EAN13Reader.html @@ -0,0 +1,340 @@ + + + + + + +EAN13Reader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.oned +
+Class EAN13Reader

+
+java.lang.Object
+  extended by com.google.zxing.oned.AbstractOneDReader
+      extended by com.google.zxing.oned.AbstractUPCEANReader
+          extended by com.google.zxing.oned.EAN13Reader
+
+
+
All Implemented Interfaces:
OneDReader, UPCEANReader, Reader
+
+
+
+
public final class EAN13Reader
extends AbstractUPCEANReader
+ + +

+

Implements decoding of the EAN-13 format.

+

+ +

+

+
Author:
+
dswitkin@google.com (Daniel Switkin), Sean Owen, alasdair@google.com (Alasdair Mackintosh)
+
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static int[]FIRST_DIGIT_ENCODINGS + +
+           
+  + + + + + + + + + + +
+Constructor Summary
EAN13Reader() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+protected  intdecodeMiddle(BitArray row, + int[] startRange, + java.lang.StringBuffer resultString) + +
+          Subclasses override this to decode the portion of a barcode between the start and end guard patterns.
+ + + + + + + +
Methods inherited from class com.google.zxing.oned.AbstractUPCEANReader
checkStandardUPCEANChecksum, decodeRow, decodeRow
+ + + + + + + +
Methods inherited from class com.google.zxing.oned.AbstractOneDReader
decode, decode
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface com.google.zxing.Reader
decode, decode
+  +

+ + + + + + + + +
+Field Detail
+ +

+FIRST_DIGIT_ENCODINGS

+
+public static final int[] FIRST_DIGIT_ENCODINGS
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+EAN13Reader

+
+public EAN13Reader()
+
+
+ + + + + + + + +
+Method Detail
+ +

+decodeMiddle

+
+protected int decodeMiddle(BitArray row,
+                           int[] startRange,
+                           java.lang.StringBuffer resultString)
+                    throws ReaderException
+
+
Description copied from class: AbstractUPCEANReader
+
Subclasses override this to decode the portion of a barcode between the start and end guard patterns. +

+

+
Specified by:
decodeMiddle in class AbstractUPCEANReader
+
+
+
Parameters:
row - row of black/white values to search
startRange - start/end offset of start guard pattern
resultString - StringBuffer to append decoded chars to +
Returns:
horizontal offset of first pixel after the "middle" that was decoded +
Throws: +
ReaderException - if decoding could not complete successfully
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/oned/EAN13Writer.html b/docs/javadoc/com/google/zxing/oned/EAN13Writer.html new file mode 100644 index 000000000..f70304015 --- /dev/null +++ b/docs/javadoc/com/google/zxing/oned/EAN13Writer.html @@ -0,0 +1,307 @@ + + + + + + +EAN13Writer + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.oned +
+Class EAN13Writer

+
+java.lang.Object
+  extended by com.google.zxing.oned.AbstractUPCEANWriter
+      extended by com.google.zxing.oned.EAN13Writer
+
+
+
All Implemented Interfaces:
UPCEANWriter, Writer
+
+
+
+
public final class EAN13Writer
extends AbstractUPCEANWriter
+ + +

+This object renders an EAN13 code as a ByteMatrix 2D array of greyscale + values. +

+ +

+

+
Author:
+
aripollak@gmail.com (Ari Pollak)
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
EAN13Writer() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ byte[]encode(java.lang.String contents) + +
+           
+ ByteMatrixencode(java.lang.String contents, + BarcodeFormat format, + int width, + int height, + java.util.Hashtable hints) + +
+           
+ + + + + + + +
Methods inherited from class com.google.zxing.oned.AbstractUPCEANWriter
appendPattern, encode, renderResult
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+EAN13Writer

+
+public EAN13Writer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+encode

+
+public ByteMatrix encode(java.lang.String contents,
+                         BarcodeFormat format,
+                         int width,
+                         int height,
+                         java.util.Hashtable hints)
+                  throws WriterException
+
+
+
Specified by:
encode in interface Writer
Overrides:
encode in class AbstractUPCEANWriter
+
+
+
Parameters:
contents - The contents to encode in the barcode
format - The barcode format to generate
width - The preferred width in pixels
height - The preferred height in pixels
hints - Additional parameters to supply to the encoder +
Returns:
The generated barcode as a Matrix of unsigned bytes (0 == black, 255 == white) +
Throws: +
WriterException
+
+
+
+ +

+encode

+
+public byte[] encode(java.lang.String contents)
+
+
+ +
Returns:
a byte array of horizontal pixels (0 = white, 1 = black)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/oned/EAN8Reader.html b/docs/javadoc/com/google/zxing/oned/EAN8Reader.html new file mode 100644 index 000000000..4b41afba7 --- /dev/null +++ b/docs/javadoc/com/google/zxing/oned/EAN8Reader.html @@ -0,0 +1,304 @@ + + + + + + +EAN8Reader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.oned +
+Class EAN8Reader

+
+java.lang.Object
+  extended by com.google.zxing.oned.AbstractOneDReader
+      extended by com.google.zxing.oned.AbstractUPCEANReader
+          extended by com.google.zxing.oned.EAN8Reader
+
+
+
All Implemented Interfaces:
OneDReader, UPCEANReader, Reader
+
+
+
+
public final class EAN8Reader
extends AbstractUPCEANReader
+ + +

+

Implements decoding of the EAN-8 format.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
EAN8Reader() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+protected  intdecodeMiddle(BitArray row, + int[] startRange, + java.lang.StringBuffer result) + +
+          Subclasses override this to decode the portion of a barcode between the start and end guard patterns.
+ + + + + + + +
Methods inherited from class com.google.zxing.oned.AbstractUPCEANReader
checkStandardUPCEANChecksum, decodeRow, decodeRow
+ + + + + + + +
Methods inherited from class com.google.zxing.oned.AbstractOneDReader
decode, decode
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface com.google.zxing.Reader
decode, decode
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+EAN8Reader

+
+public EAN8Reader()
+
+
+ + + + + + + + +
+Method Detail
+ +

+decodeMiddle

+
+protected int decodeMiddle(BitArray row,
+                           int[] startRange,
+                           java.lang.StringBuffer result)
+                    throws ReaderException
+
+
Description copied from class: AbstractUPCEANReader
+
Subclasses override this to decode the portion of a barcode between the start and end guard patterns. +

+

+
Specified by:
decodeMiddle in class AbstractUPCEANReader
+
+
+
Parameters:
row - row of black/white values to search
startRange - start/end offset of start guard pattern
result - StringBuffer to append decoded chars to +
Returns:
horizontal offset of first pixel after the "middle" that was decoded +
Throws: +
ReaderException - if decoding could not complete successfully
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/oned/EAN8Writer.html b/docs/javadoc/com/google/zxing/oned/EAN8Writer.html new file mode 100644 index 000000000..5739bc47d --- /dev/null +++ b/docs/javadoc/com/google/zxing/oned/EAN8Writer.html @@ -0,0 +1,307 @@ + + + + + + +EAN8Writer + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.oned +
+Class EAN8Writer

+
+java.lang.Object
+  extended by com.google.zxing.oned.AbstractUPCEANWriter
+      extended by com.google.zxing.oned.EAN8Writer
+
+
+
All Implemented Interfaces:
UPCEANWriter, Writer
+
+
+
+
public final class EAN8Writer
extends AbstractUPCEANWriter
+ + +

+This object renders an EAN8 code as a ByteMatrix 2D array of greyscale + values. +

+ +

+

+
Author:
+
aripollak@gmail.com (Ari Pollak)
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
EAN8Writer() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ byte[]encode(java.lang.String contents) + +
+           
+ ByteMatrixencode(java.lang.String contents, + BarcodeFormat format, + int width, + int height, + java.util.Hashtable hints) + +
+           
+ + + + + + + +
Methods inherited from class com.google.zxing.oned.AbstractUPCEANWriter
appendPattern, encode, renderResult
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+EAN8Writer

+
+public EAN8Writer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+encode

+
+public ByteMatrix encode(java.lang.String contents,
+                         BarcodeFormat format,
+                         int width,
+                         int height,
+                         java.util.Hashtable hints)
+                  throws WriterException
+
+
+
Specified by:
encode in interface Writer
Overrides:
encode in class AbstractUPCEANWriter
+
+
+
Parameters:
contents - The contents to encode in the barcode
format - The barcode format to generate
width - The preferred width in pixels
height - The preferred height in pixels
hints - Additional parameters to supply to the encoder +
Returns:
The generated barcode as a Matrix of unsigned bytes (0 == black, 255 == white) +
Throws: +
WriterException
+
+
+
+ +

+encode

+
+public byte[] encode(java.lang.String contents)
+
+
+ +
Returns:
a byte array of horizontal pixels (0 = white, 1 = black)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/oned/ITFReader.html b/docs/javadoc/com/google/zxing/oned/ITFReader.html new file mode 100644 index 000000000..3331b26a6 --- /dev/null +++ b/docs/javadoc/com/google/zxing/oned/ITFReader.html @@ -0,0 +1,294 @@ + + + + + + +ITFReader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.oned +
+Class ITFReader

+
+java.lang.Object
+  extended by com.google.zxing.oned.AbstractOneDReader
+      extended by com.google.zxing.oned.ITFReader
+
+
+
All Implemented Interfaces:
OneDReader, Reader
+
+
+
+
public final class ITFReader
extends AbstractOneDReader
+ + +

+

Implements decoding of the ITF format.

+ +

"ITF" stands for Interleaved Two of Five. This Reader will scan ITF barcode with 6, 10 or 14 + digits. The checksum is optional and is not applied by this Reader. The consumer of the decoded + value will have to apply a checksum if required.

+ +

http://en.wikipedia.org/wiki/Interleaved_2_of_5 + is a great reference for Interleaved 2 of 5 information.

+

+ +

+

+
Author:
+
kevin.osullivan@sita.aero, SITA Lab.
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ITFReader() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ ResultdecodeRow(int rowNumber, + BitArray row, + java.util.Hashtable hints) + +
+          Attempts to decode a one-dimensional barcode format given a single row of + an image.
+ + + + + + + +
Methods inherited from class com.google.zxing.oned.AbstractOneDReader
decode, decode
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ITFReader

+
+public ITFReader()
+
+
+ + + + + + + + +
+Method Detail
+ +

+decodeRow

+
+public Result decodeRow(int rowNumber,
+                        BitArray row,
+                        java.util.Hashtable hints)
+                 throws ReaderException
+
+
Description copied from interface: OneDReader
+

Attempts to decode a one-dimensional barcode format given a single row of + an image.

+

+

+
Specified by:
decodeRow in interface OneDReader
Specified by:
decodeRow in class AbstractOneDReader
+
+
+
Parameters:
rowNumber - row number from top of the row
row - the black/white pixel data of the row
hints - decode hints +
Returns:
Result containing encoded string and start/end of barcode +
Throws: +
ReaderException - if an error occurs or barcode cannot be found
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/oned/MultiFormatOneDReader.html b/docs/javadoc/com/google/zxing/oned/MultiFormatOneDReader.html new file mode 100644 index 000000000..8964cb738 --- /dev/null +++ b/docs/javadoc/com/google/zxing/oned/MultiFormatOneDReader.html @@ -0,0 +1,283 @@ + + + + + + +MultiFormatOneDReader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.oned +
+Class MultiFormatOneDReader

+
+java.lang.Object
+  extended by com.google.zxing.oned.AbstractOneDReader
+      extended by com.google.zxing.oned.MultiFormatOneDReader
+
+
+
All Implemented Interfaces:
OneDReader, Reader
+
+
+
+
public final class MultiFormatOneDReader
extends AbstractOneDReader
+ + +

+

+
Author:
+
dswitkin@google.com (Daniel Switkin), Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
MultiFormatOneDReader(java.util.Hashtable hints) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ ResultdecodeRow(int rowNumber, + BitArray row, + java.util.Hashtable hints) + +
+          Attempts to decode a one-dimensional barcode format given a single row of + an image.
+ + + + + + + +
Methods inherited from class com.google.zxing.oned.AbstractOneDReader
decode, decode
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MultiFormatOneDReader

+
+public MultiFormatOneDReader(java.util.Hashtable hints)
+
+
+ + + + + + + + +
+Method Detail
+ +

+decodeRow

+
+public Result decodeRow(int rowNumber,
+                        BitArray row,
+                        java.util.Hashtable hints)
+                 throws ReaderException
+
+
Description copied from interface: OneDReader
+

Attempts to decode a one-dimensional barcode format given a single row of + an image.

+

+

+
Specified by:
decodeRow in interface OneDReader
Specified by:
decodeRow in class AbstractOneDReader
+
+
+
Parameters:
rowNumber - row number from top of the row
row - the black/white pixel data of the row
hints - decode hints +
Returns:
Result containing encoded string and start/end of barcode +
Throws: +
ReaderException - if an error occurs or barcode cannot be found
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/oned/MultiFormatUPCEANReader.html b/docs/javadoc/com/google/zxing/oned/MultiFormatUPCEANReader.html new file mode 100644 index 000000000..cf48e94b3 --- /dev/null +++ b/docs/javadoc/com/google/zxing/oned/MultiFormatUPCEANReader.html @@ -0,0 +1,289 @@ + + + + + + +MultiFormatUPCEANReader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.oned +
+Class MultiFormatUPCEANReader

+
+java.lang.Object
+  extended by com.google.zxing.oned.AbstractOneDReader
+      extended by com.google.zxing.oned.MultiFormatUPCEANReader
+
+
+
All Implemented Interfaces:
OneDReader, Reader
+
+
+
+
public final class MultiFormatUPCEANReader
extends AbstractOneDReader
+ + +

+

A reader that can read all available UPC/EAN formats. If a caller wants to try to + read all such formats, it is most efficient to use this implementation rather than invoke + individual readers.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
MultiFormatUPCEANReader(java.util.Hashtable hints) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ ResultdecodeRow(int rowNumber, + BitArray row, + java.util.Hashtable hints) + +
+          Attempts to decode a one-dimensional barcode format given a single row of + an image.
+ + + + + + + +
Methods inherited from class com.google.zxing.oned.AbstractOneDReader
decode, decode
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MultiFormatUPCEANReader

+
+public MultiFormatUPCEANReader(java.util.Hashtable hints)
+
+
+ + + + + + + + +
+Method Detail
+ +

+decodeRow

+
+public Result decodeRow(int rowNumber,
+                        BitArray row,
+                        java.util.Hashtable hints)
+                 throws ReaderException
+
+
Description copied from interface: OneDReader
+

Attempts to decode a one-dimensional barcode format given a single row of + an image.

+

+

+
Specified by:
decodeRow in interface OneDReader
Specified by:
decodeRow in class AbstractOneDReader
+
+
+
Parameters:
rowNumber - row number from top of the row
row - the black/white pixel data of the row
hints - decode hints +
Returns:
Result containing encoded string and start/end of barcode +
Throws: +
ReaderException - if an error occurs or barcode cannot be found
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/oned/OneDReader.html b/docs/javadoc/com/google/zxing/oned/OneDReader.html new file mode 100644 index 000000000..a676cc81b --- /dev/null +++ b/docs/javadoc/com/google/zxing/oned/OneDReader.html @@ -0,0 +1,246 @@ + + + + + + +OneDReader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.oned +
+Interface OneDReader

+
+
All Superinterfaces:
Reader
+
+
+
All Known Subinterfaces:
UPCEANReader
+
+
+
All Known Implementing Classes:
AbstractOneDReader, AbstractUPCEANReader, Code128Reader, Code39Reader, EAN13Reader, EAN8Reader, ITFReader, MultiFormatOneDReader, MultiFormatUPCEANReader, UPCAReader, UPCEReader
+
+
+
+
public interface OneDReader
extends Reader
+ + +

+

Readers which also implement this interface read one-dimensional barcode + formats, and expose additional functionality that is specific to this type of barcode.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+ ResultdecodeRow(int rowNumber, + BitArray row, + java.util.Hashtable hints) + +
+          Attempts to decode a one-dimensional barcode format given a single row of + an image.
+ + + + + + + +
Methods inherited from interface com.google.zxing.Reader
decode, decode
+  +

+ + + + + + + + +
+Method Detail
+ +

+decodeRow

+
+Result decodeRow(int rowNumber,
+                 BitArray row,
+                 java.util.Hashtable hints)
+                 throws ReaderException
+
+

Attempts to decode a one-dimensional barcode format given a single row of + an image.

+

+

+
+
+
+
Parameters:
rowNumber - row number from top of the row
row - the black/white pixel data of the row
hints - decode hints +
Returns:
Result containing encoded string and start/end of barcode +
Throws: +
ReaderException - if an error occurs or barcode cannot be found
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/oned/UPCAReader.html b/docs/javadoc/com/google/zxing/oned/UPCAReader.html new file mode 100644 index 000000000..4e712b00e --- /dev/null +++ b/docs/javadoc/com/google/zxing/oned/UPCAReader.html @@ -0,0 +1,376 @@ + + + + + + +UPCAReader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.oned +
+Class UPCAReader

+
+java.lang.Object
+  extended by com.google.zxing.oned.UPCAReader
+
+
+
All Implemented Interfaces:
OneDReader, UPCEANReader, Reader
+
+
+
+
public final class UPCAReader
extends java.lang.Object
implements UPCEANReader
+ + +

+

Implements decoding of the UPC-A format.

+

+ +

+

+
Author:
+
dswitkin@google.com (Daniel Switkin), Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
UPCAReader() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Resultdecode(MonochromeBitmapSource image) + +
+          Locates and decodes a barcode in some format within an image.
+ Resultdecode(MonochromeBitmapSource image, + java.util.Hashtable hints) + +
+          Locates and decodes a barcode in some format within an image.
+ ResultdecodeRow(int rowNumber, + BitArray row, + java.util.Hashtable hints) + +
+          Attempts to decode a one-dimensional barcode format given a single row of + an image.
+ ResultdecodeRow(int rowNumber, + BitArray row, + int[] startGuardRange) + +
+          Like OneDReader.decodeRow(int, BitArray, java.util.Hashtable), but + allows caller to inform method about where the UPC/EAN start pattern is + found.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UPCAReader

+
+public UPCAReader()
+
+
+ + + + + + + + +
+Method Detail
+ +

+decodeRow

+
+public Result decodeRow(int rowNumber,
+                        BitArray row,
+                        int[] startGuardRange)
+                 throws ReaderException
+
+
Description copied from interface: UPCEANReader
+

Like OneDReader.decodeRow(int, BitArray, java.util.Hashtable), but + allows caller to inform method about where the UPC/EAN start pattern is + found. This allows this to be computed once and reused across many implementations.

+

+

+
Specified by:
decodeRow in interface UPCEANReader
+
+
+ +
Throws: +
ReaderException
+
+
+
+ +

+decodeRow

+
+public Result decodeRow(int rowNumber,
+                        BitArray row,
+                        java.util.Hashtable hints)
+                 throws ReaderException
+
+
Description copied from interface: OneDReader
+

Attempts to decode a one-dimensional barcode format given a single row of + an image.

+

+

+
Specified by:
decodeRow in interface OneDReader
+
+
+
Parameters:
rowNumber - row number from top of the row
row - the black/white pixel data of the row
hints - decode hints +
Returns:
Result containing encoded string and start/end of barcode +
Throws: +
ReaderException - if an error occurs or barcode cannot be found
+
+
+
+ +

+decode

+
+public Result decode(MonochromeBitmapSource image)
+              throws ReaderException
+
+
Description copied from interface: Reader
+
Locates and decodes a barcode in some format within an image. +

+

+
Specified by:
decode in interface Reader
+
+
+
Parameters:
image - image of barcode to decode +
Returns:
String which the barcode encodes +
Throws: +
ReaderException - if the barcode cannot be located or decoded for any reason
+
+
+
+ +

+decode

+
+public Result decode(MonochromeBitmapSource image,
+                     java.util.Hashtable hints)
+              throws ReaderException
+
+
Description copied from interface: Reader
+
Locates and decodes a barcode in some format within an image. This method also accepts + hints, each possibly associated to some data, which may help the implementation decode. +

+

+
Specified by:
decode in interface Reader
+
+
+
Parameters:
image - image of barcode to decode
hints - passed as a Hashtable from DecodeHintType to aribtrary data. The + meaning of the data depends upon the hint type. The implementation may or may not do + anything with these hints. +
Returns:
String which the barcode encodes +
Throws: +
ReaderException - if the barcode cannot be located or decoded for any reason
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/oned/UPCEANReader.html b/docs/javadoc/com/google/zxing/oned/UPCEANReader.html new file mode 100644 index 000000000..6c38a1645 --- /dev/null +++ b/docs/javadoc/com/google/zxing/oned/UPCEANReader.html @@ -0,0 +1,253 @@ + + + + + + +UPCEANReader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.oned +
+Interface UPCEANReader

+
+
All Superinterfaces:
OneDReader, Reader
+
+
+
All Known Implementing Classes:
AbstractUPCEANReader, EAN13Reader, EAN8Reader, UPCAReader, UPCEReader
+
+
+
+
public interface UPCEANReader
extends OneDReader
+ + +

+

This interfaces captures additional functionality that readers of + UPC/EAN family of barcodes should expose.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+ ResultdecodeRow(int rowNumber, + BitArray row, + int[] startGuardRange) + +
+          Like OneDReader.decodeRow(int, BitArray, java.util.Hashtable), but + allows caller to inform method about where the UPC/EAN start pattern is + found.
+ + + + + + + +
Methods inherited from interface com.google.zxing.oned.OneDReader
decodeRow
+ + + + + + + +
Methods inherited from interface com.google.zxing.Reader
decode, decode
+  +

+ + + + + + + + +
+Method Detail
+ +

+decodeRow

+
+Result decodeRow(int rowNumber,
+                 BitArray row,
+                 int[] startGuardRange)
+                 throws ReaderException
+
+

Like OneDReader.decodeRow(int, BitArray, java.util.Hashtable), but + allows caller to inform method about where the UPC/EAN start pattern is + found. This allows this to be computed once and reused across many implementations.

+

+

+
+
+
+ +
Throws: +
ReaderException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/oned/UPCEANWriter.html b/docs/javadoc/com/google/zxing/oned/UPCEANWriter.html new file mode 100644 index 000000000..75f18c4e5 --- /dev/null +++ b/docs/javadoc/com/google/zxing/oned/UPCEANWriter.html @@ -0,0 +1,227 @@ + + + + + + +UPCEANWriter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.oned +
+Interface UPCEANWriter

+
+
All Superinterfaces:
Writer
+
+
+
All Known Implementing Classes:
AbstractUPCEANWriter, EAN13Writer, EAN8Writer
+
+
+
+
public interface UPCEANWriter
extends Writer
+ + +

+

+
Author:
+
Ari Pollak
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+ byte[]encode(java.lang.String contents) + +
+           
+ + + + + + + +
Methods inherited from interface com.google.zxing.Writer
encode, encode
+  +

+ + + + + + + + +
+Method Detail
+ +

+encode

+
+byte[] encode(java.lang.String contents)
+
+
+
+
+
+ +
Returns:
a byte array of horizontal pixels (0 = white, 1 = black)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/oned/UPCEReader.html b/docs/javadoc/com/google/zxing/oned/UPCEReader.html new file mode 100644 index 000000000..bdf662900 --- /dev/null +++ b/docs/javadoc/com/google/zxing/oned/UPCEReader.html @@ -0,0 +1,382 @@ + + + + + + +UPCEReader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.oned +
+Class UPCEReader

+
+java.lang.Object
+  extended by com.google.zxing.oned.AbstractOneDReader
+      extended by com.google.zxing.oned.AbstractUPCEANReader
+          extended by com.google.zxing.oned.UPCEReader
+
+
+
All Implemented Interfaces:
OneDReader, UPCEANReader, Reader
+
+
+
+
public final class UPCEReader
extends AbstractUPCEANReader
+ + +

+

Implements decoding of the UPC-E format.

+

+

This is a great reference for + UPC-E information.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
UPCEReader() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  booleancheckChecksum(java.lang.String s) + +
+           
+static java.lang.StringconvertUPCEtoUPCA(java.lang.String upce) + +
+          Expands a UPC-E value back into its full, equivalent UPC-A code value.
+protected  int[]decodeEnd(BitArray row, + int endStart) + +
+           
+protected  intdecodeMiddle(BitArray row, + int[] startRange, + java.lang.StringBuffer result) + +
+          Subclasses override this to decode the portion of a barcode between the start and end guard patterns.
+ + + + + + + +
Methods inherited from class com.google.zxing.oned.AbstractUPCEANReader
checkStandardUPCEANChecksum, decodeRow, decodeRow
+ + + + + + + +
Methods inherited from class com.google.zxing.oned.AbstractOneDReader
decode, decode
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface com.google.zxing.Reader
decode, decode
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UPCEReader

+
+public UPCEReader()
+
+
+ + + + + + + + +
+Method Detail
+ +

+decodeMiddle

+
+protected int decodeMiddle(BitArray row,
+                           int[] startRange,
+                           java.lang.StringBuffer result)
+                    throws ReaderException
+
+
Description copied from class: AbstractUPCEANReader
+
Subclasses override this to decode the portion of a barcode between the start and end guard patterns. +

+

+
Specified by:
decodeMiddle in class AbstractUPCEANReader
+
+
+
Parameters:
row - row of black/white values to search
startRange - start/end offset of start guard pattern
result - StringBuffer to append decoded chars to +
Returns:
horizontal offset of first pixel after the "middle" that was decoded +
Throws: +
ReaderException - if decoding could not complete successfully
+
+
+
+ +

+decodeEnd

+
+protected int[] decodeEnd(BitArray row,
+                          int endStart)
+                   throws ReaderException
+
+
+
+
+
+ +
Throws: +
ReaderException
+
+
+
+ +

+checkChecksum

+
+protected boolean checkChecksum(java.lang.String s)
+                         throws ReaderException
+
+
+
+
+
+ +
Returns:
AbstractUPCEANReader.checkStandardUPCEANChecksum(String) +
Throws: +
ReaderException
+
+
+
+ +

+convertUPCEtoUPCA

+
+public static java.lang.String convertUPCEtoUPCA(java.lang.String upce)
+
+
Expands a UPC-E value back into its full, equivalent UPC-A code value. +

+

+
Parameters:
upce - UPC-E code as string of digits +
Returns:
equivalent UPC-A code as string of digits
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/oned/package-frame.html b/docs/javadoc/com/google/zxing/oned/package-frame.html new file mode 100644 index 000000000..975885e2d --- /dev/null +++ b/docs/javadoc/com/google/zxing/oned/package-frame.html @@ -0,0 +1,73 @@ + + + + + + +com.google.zxing.oned + + + + + + + + + + + +com.google.zxing.oned + + + + +
+Interfaces  + +
+OneDReader +
+UPCEANReader +
+UPCEANWriter
+ + + + + + +
+Classes  + +
+AbstractOneDReader +
+AbstractUPCEANReader +
+AbstractUPCEANWriter +
+Code128Reader +
+Code39Reader +
+EAN13Reader +
+EAN13Writer +
+EAN8Reader +
+EAN8Writer +
+ITFReader +
+MultiFormatOneDReader +
+MultiFormatUPCEANReader +
+UPCAReader +
+UPCEReader
+ + + + diff --git a/docs/javadoc/com/google/zxing/oned/package-summary.html b/docs/javadoc/com/google/zxing/oned/package-summary.html new file mode 100644 index 000000000..9feda48ef --- /dev/null +++ b/docs/javadoc/com/google/zxing/oned/package-summary.html @@ -0,0 +1,236 @@ + + + + + + +com.google.zxing.oned + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.oned +

+ + + + + + + + + + + + + + + + + +
+Interface Summary
OneDReaderReaders which also implement this interface read one-dimensional barcode + formats, and expose additional functionality that is specific to this type of barcode.
UPCEANReaderThis interfaces captures additional functionality that readers of + UPC/EAN family of barcodes should expose.
UPCEANWriter 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractOneDReaderEncapsulates functionality and implementation that is common to all families + of one-dimensional barcodes.
AbstractUPCEANReaderEncapsulates functionality and implementation that is common to UPC and EAN families + of one-dimensional barcodes.
AbstractUPCEANWriterEncapsulates functionality and implementation that is common to UPC and EAN families + of one-dimensional barcodes.
Code128ReaderDecodes Code 128 barcodes.
Code39ReaderDecodes Code 39 barcodes.
EAN13ReaderImplements decoding of the EAN-13 format.
EAN13WriterThis object renders an EAN13 code as a ByteMatrix 2D array of greyscale + values.
EAN8ReaderImplements decoding of the EAN-8 format.
EAN8WriterThis object renders an EAN8 code as a ByteMatrix 2D array of greyscale + values.
ITFReaderImplements decoding of the ITF format.
MultiFormatOneDReader 
MultiFormatUPCEANReaderA reader that can read all available UPC/EAN formats.
UPCAReaderImplements decoding of the UPC-A format.
UPCEReaderImplements decoding of the UPC-E format.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/oned/package-tree.html b/docs/javadoc/com/google/zxing/oned/package-tree.html new file mode 100644 index 000000000..36e631caa --- /dev/null +++ b/docs/javadoc/com/google/zxing/oned/package-tree.html @@ -0,0 +1,172 @@ + + + + + + +com.google.zxing.oned Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.oned +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/package-frame.html b/docs/javadoc/com/google/zxing/package-frame.html new file mode 100644 index 000000000..7c9cc8d95 --- /dev/null +++ b/docs/javadoc/com/google/zxing/package-frame.html @@ -0,0 +1,76 @@ + + + + + + +com.google.zxing + + + + + + + + + + + +com.google.zxing + + + + +
+Interfaces  + +
+MonochromeBitmapSource +
+Reader +
+Writer
+ + + + + + +
+Classes  + +
+BarcodeFormat +
+BlackPointEstimationMethod +
+DecodeHintType +
+EncodeHintType +
+MultiFormatReader +
+MultiFormatWriter +
+Result +
+ResultMetadataType +
+ResultPoint
+ + + + + + +
+Exceptions  + +
+ReaderException +
+WriterException
+ + + + diff --git a/docs/javadoc/com/google/zxing/package-summary.html b/docs/javadoc/com/google/zxing/package-summary.html new file mode 100644 index 000000000..90639caf8 --- /dev/null +++ b/docs/javadoc/com/google/zxing/package-summary.html @@ -0,0 +1,232 @@ + + + + + + +com.google.zxing + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing +

+ + + + + + + + + + + + + + + + + +
+Interface Summary
MonochromeBitmapSourceEncapsulates a generic black-and-white bitmap -- a collection of pixels in two dimensions.
ReaderImplementations of this interface can decode an image of a barcode in some format into + the String it encodes.
WriterThe base class for all objects which encode/generate a barcode image.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
BarcodeFormatEnumerates barcode formats known to this package.
BlackPointEstimationMethodEnumerates different methods of sampling an imagine to estimate a black point.
DecodeHintTypeEncapsulates a type of hint that a caller may pass to a barcode reader to help it + more quickly or accurately decode it.
EncodeHintTypeThese are a set of hints that you may pass to Writers to specify their behavior.
MultiFormatReaderMultiFormatReader is a convenience class and the main entry point into the library for most uses.
MultiFormatWriterThis is a factory class which finds the appropriate Writer subclass for the BarcodeFormat + requested and encodes the barcode with the supplied contents.
ResultEncapsulates the result of decoding a barcode within an image.
ResultMetadataTypeRepresents some type of metadata about the result of the decoding that the decoder + wishes to communicate back to the caller.
ResultPointEncapsulates a point of interest in an image containing a barcode.
+  + +

+ + + + + + + + + + + + + +
+Exception Summary
ReaderExceptionThe general exception class throw when something goes wrong during decoding of a barcode.
WriterExceptionA base class which covers the range of exceptions which may occur when encoding a barcode using + the Writer framework.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/package-tree.html b/docs/javadoc/com/google/zxing/package-tree.html new file mode 100644 index 000000000..6169da8fe --- /dev/null +++ b/docs/javadoc/com/google/zxing/package-tree.html @@ -0,0 +1,163 @@ + + + + + + +com.google.zxing Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/pdf417/PDF417Reader.html b/docs/javadoc/com/google/zxing/pdf417/PDF417Reader.html new file mode 100644 index 000000000..971c20c51 --- /dev/null +++ b/docs/javadoc/com/google/zxing/pdf417/PDF417Reader.html @@ -0,0 +1,304 @@ + + + + + + +PDF417Reader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.pdf417 +
+Class PDF417Reader

+
+java.lang.Object
+  extended by com.google.zxing.pdf417.PDF417Reader
+
+
+
All Implemented Interfaces:
Reader
+
+
+
+
public final class PDF417Reader
extends java.lang.Object
implements Reader
+ + +

+This implementation can detect and decode PDF417 codes in an image. +

+ +

+

+
Author:
+
SITA Lab (kevin.osullivan@sita.aero)
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
PDF417Reader() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ Resultdecode(MonochromeBitmapSource image) + +
+          Locates and decodes a PDF417 code in an image.
+ Resultdecode(MonochromeBitmapSource image, + java.util.Hashtable hints) + +
+          Locates and decodes a barcode in some format within an image.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PDF417Reader

+
+public PDF417Reader()
+
+
+ + + + + + + + +
+Method Detail
+ +

+decode

+
+public Result decode(MonochromeBitmapSource image)
+              throws ReaderException
+
+
Locates and decodes a PDF417 code in an image. +

+

+
Specified by:
decode in interface Reader
+
+
+
Parameters:
image - image of barcode to decode +
Returns:
a String representing the content encoded by the PDF417 code +
Throws: +
ReaderException - if a PDF417 code cannot be found, or cannot be decoded
+
+
+
+ +

+decode

+
+public Result decode(MonochromeBitmapSource image,
+                     java.util.Hashtable hints)
+              throws ReaderException
+
+
Description copied from interface: Reader
+
Locates and decodes a barcode in some format within an image. This method also accepts + hints, each possibly associated to some data, which may help the implementation decode. +

+

+
Specified by:
decode in interface Reader
+
+
+
Parameters:
image - image of barcode to decode
hints - passed as a Hashtable from DecodeHintType to aribtrary data. The + meaning of the data depends upon the hint type. The implementation may or may not do + anything with these hints. +
Returns:
String which the barcode encodes +
Throws: +
ReaderException - if the barcode cannot be located or decoded for any reason
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/pdf417/decoder/Decoder.html b/docs/javadoc/com/google/zxing/pdf417/decoder/Decoder.html new file mode 100644 index 000000000..12b6285e1 --- /dev/null +++ b/docs/javadoc/com/google/zxing/pdf417/decoder/Decoder.html @@ -0,0 +1,292 @@ + + + + + + +Decoder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.pdf417.decoder +
+Class Decoder

+
+java.lang.Object
+  extended by com.google.zxing.pdf417.decoder.Decoder
+
+
+
+
public final class Decoder
extends java.lang.Object
+ + +

+

The main class which implements PDF417 Code decoding -- as + opposed to locating and extracting the PDF417 Code from an image.

+

+ +

+

+
Author:
+
SITA Lab (kevin.osullivan@sita.aero)
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Decoder() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ DecoderResultdecode(BitMatrix bits) + +
+          Decodes a PDF417 Code represented as a BitMatrix.
+ DecoderResultdecode(boolean[][] image) + +
+          Convenience method that can decode a PDF417 Code represented as a 2D array of booleans.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Decoder

+
+public Decoder()
+
+
+ + + + + + + + +
+Method Detail
+ +

+decode

+
+public DecoderResult decode(boolean[][] image)
+                     throws ReaderException
+
+

Convenience method that can decode a PDF417 Code represented as a 2D array of booleans. + "true" is taken to mean a black module.

+

+

+
Parameters:
image - booleans representing white/black PDF417 modules +
Returns:
text and bytes encoded within the PDF417 Code +
Throws: +
ReaderException - if the PDF417 Code cannot be decoded
+
+
+
+ +

+decode

+
+public DecoderResult decode(BitMatrix bits)
+                     throws ReaderException
+
+

Decodes a PDF417 Code represented as a BitMatrix. + A 1 or "true" is taken to mean a black module.

+

+

+
Parameters:
bits - booleans representing white/black PDF417 Code modules +
Returns:
text and bytes encoded within the PDF417 Code +
Throws: +
ReaderException - if the PDF417 Code cannot be decoded
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/pdf417/decoder/package-frame.html b/docs/javadoc/com/google/zxing/pdf417/decoder/package-frame.html new file mode 100644 index 000000000..c05fa04a6 --- /dev/null +++ b/docs/javadoc/com/google/zxing/pdf417/decoder/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +com.google.zxing.pdf417.decoder + + + + + + + + + + + +com.google.zxing.pdf417.decoder + + + + +
+Classes  + +
+Decoder
+ + + + diff --git a/docs/javadoc/com/google/zxing/pdf417/decoder/package-summary.html b/docs/javadoc/com/google/zxing/pdf417/decoder/package-summary.html new file mode 100644 index 000000000..0e5b951b8 --- /dev/null +++ b/docs/javadoc/com/google/zxing/pdf417/decoder/package-summary.html @@ -0,0 +1,156 @@ + + + + + + +com.google.zxing.pdf417.decoder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.pdf417.decoder +

+ + + + + + + + + +
+Class Summary
DecoderThe main class which implements PDF417 Code decoding -- as + opposed to locating and extracting the PDF417 Code from an image.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/pdf417/decoder/package-tree.html b/docs/javadoc/com/google/zxing/pdf417/decoder/package-tree.html new file mode 100644 index 000000000..de0a8ea33 --- /dev/null +++ b/docs/javadoc/com/google/zxing/pdf417/decoder/package-tree.html @@ -0,0 +1,151 @@ + + + + + + +com.google.zxing.pdf417.decoder Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.pdf417.decoder +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/pdf417/detector/Detector.html b/docs/javadoc/com/google/zxing/pdf417/detector/Detector.html new file mode 100644 index 000000000..f9cde4658 --- /dev/null +++ b/docs/javadoc/com/google/zxing/pdf417/detector/Detector.html @@ -0,0 +1,388 @@ + + + + + + +Detector + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.pdf417.detector +
+Class Detector

+
+java.lang.Object
+  extended by com.google.zxing.pdf417.detector.Detector
+
+
+
+
public final class Detector
extends java.lang.Object
+ + +

+

+ Encapsulates logic that can detect a PDF417 Code in an image, even if the + PDF417 Code is rotated or skewed, or partially obscured. +

+

+ +

+

+
Author:
+
SITA Lab (kevin.osullivan@sita.aero)
+
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static intMAX_AVG_VARIANCE + +
+           
+static intMAX_INDIVIDUAL_VARIANCE + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Detector(MonochromeBitmapSource image) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ DetectorResultdetect() + +
+           + Detects a PDF417 Code in an image, simply.
+ DetectorResultdetect(java.util.Hashtable hints) + +
+           + Detects a PDF417 Code in an image, simply.
+static intpatternMatchVariance(int[] counters, + int[] pattern, + int maxIndividualVariance) + +
+          Determines how closely a set of observed counts of runs of black/white + values matches a given target pattern.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+MAX_AVG_VARIANCE

+
+public static final int MAX_AVG_VARIANCE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MAX_INDIVIDUAL_VARIANCE

+
+public static final int MAX_INDIVIDUAL_VARIANCE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Detector

+
+public Detector(MonochromeBitmapSource image)
+
+
+ + + + + + + + +
+Method Detail
+ +

+detect

+
+public DetectorResult detect()
+                      throws ReaderException
+
+

+ Detects a PDF417 Code in an image, simply. +

+

+

+ +
Returns:
DetectorResult encapsulating results of detecting a PDF417 + Code +
Throws: +
ReaderException - if no QR Code can be found
+
+
+
+ +

+detect

+
+public DetectorResult detect(java.util.Hashtable hints)
+                      throws ReaderException
+
+

+ Detects a PDF417 Code in an image, simply. +

+

+

+
Parameters:
hints - optional hints to detector +
Returns:
DetectorResult encapsulating results of detecting a PDF417 + Code +
Throws: +
ReaderException - if no PDF417 Code can be found
+
+
+
+ +

+patternMatchVariance

+
+public static int patternMatchVariance(int[] counters,
+                                       int[] pattern,
+                                       int maxIndividualVariance)
+
+
Determines how closely a set of observed counts of runs of black/white + values matches a given target pattern. This is reported as the ratio of + the total variance from the expected pattern proportions across all + pattern elements, to the length of the pattern. +

+

+
Parameters:
counters - observed counters
pattern - expected pattern
maxIndividualVariance - The most any counter can differ before we give up +
Returns:
ratio of total variance between counters and pattern compared to + total pattern size, where the ratio has been multiplied by 256. + So, 0 means no variance (perfect match); 256 means the total + variance between counters and patterns equals the pattern length, + higher values mean even more variance
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/pdf417/detector/package-frame.html b/docs/javadoc/com/google/zxing/pdf417/detector/package-frame.html new file mode 100644 index 000000000..5aa6dcad2 --- /dev/null +++ b/docs/javadoc/com/google/zxing/pdf417/detector/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +com.google.zxing.pdf417.detector + + + + + + + + + + + +com.google.zxing.pdf417.detector + + + + +
+Classes  + +
+Detector
+ + + + diff --git a/docs/javadoc/com/google/zxing/pdf417/detector/package-summary.html b/docs/javadoc/com/google/zxing/pdf417/detector/package-summary.html new file mode 100644 index 000000000..7bbed31ca --- /dev/null +++ b/docs/javadoc/com/google/zxing/pdf417/detector/package-summary.html @@ -0,0 +1,157 @@ + + + + + + +com.google.zxing.pdf417.detector + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.pdf417.detector +

+ + + + + + + + + +
+Class Summary
Detector + Encapsulates logic that can detect a PDF417 Code in an image, even if the + PDF417 Code is rotated or skewed, or partially obscured.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/pdf417/detector/package-tree.html b/docs/javadoc/com/google/zxing/pdf417/detector/package-tree.html new file mode 100644 index 000000000..b6902d67c --- /dev/null +++ b/docs/javadoc/com/google/zxing/pdf417/detector/package-tree.html @@ -0,0 +1,151 @@ + + + + + + +com.google.zxing.pdf417.detector Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.pdf417.detector +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/pdf417/package-frame.html b/docs/javadoc/com/google/zxing/pdf417/package-frame.html new file mode 100644 index 000000000..e2745e6de --- /dev/null +++ b/docs/javadoc/com/google/zxing/pdf417/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +com.google.zxing.pdf417 + + + + + + + + + + + +com.google.zxing.pdf417 + + + + +
+Classes  + +
+PDF417Reader
+ + + + diff --git a/docs/javadoc/com/google/zxing/pdf417/package-summary.html b/docs/javadoc/com/google/zxing/pdf417/package-summary.html new file mode 100644 index 000000000..7048785b4 --- /dev/null +++ b/docs/javadoc/com/google/zxing/pdf417/package-summary.html @@ -0,0 +1,155 @@ + + + + + + +com.google.zxing.pdf417 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.pdf417 +

+ + + + + + + + + +
+Class Summary
PDF417ReaderThis implementation can detect and decode PDF417 codes in an image.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/pdf417/package-tree.html b/docs/javadoc/com/google/zxing/pdf417/package-tree.html new file mode 100644 index 000000000..00b8f3057 --- /dev/null +++ b/docs/javadoc/com/google/zxing/pdf417/package-tree.html @@ -0,0 +1,152 @@ + + + + + + +com.google.zxing.pdf417 Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.pdf417 +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/QRCodeReader.html b/docs/javadoc/com/google/zxing/qrcode/QRCodeReader.html new file mode 100644 index 000000000..b5d4c894d --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/QRCodeReader.html @@ -0,0 +1,329 @@ + + + + + + +QRCodeReader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.qrcode +
+Class QRCodeReader

+
+java.lang.Object
+  extended by com.google.zxing.qrcode.QRCodeReader
+
+
+
All Implemented Interfaces:
Reader
+
+
+
Direct Known Subclasses:
QRCodeMultiReader
+
+
+
+
public class QRCodeReader
extends java.lang.Object
implements Reader
+ + +

+This implementation can detect and decode QR Codes in an image. +

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
QRCodeReader() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Resultdecode(MonochromeBitmapSource image) + +
+          Locates and decodes a QR code in an image.
+ Resultdecode(MonochromeBitmapSource image, + java.util.Hashtable hints) + +
+          Locates and decodes a barcode in some format within an image.
+protected  DecodergetDecoder() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+QRCodeReader

+
+public QRCodeReader()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getDecoder

+
+protected Decoder getDecoder()
+
+
+
+
+
+
+
+
+
+ +

+decode

+
+public Result decode(MonochromeBitmapSource image)
+              throws ReaderException
+
+
Locates and decodes a QR code in an image. +

+

+
Specified by:
decode in interface Reader
+
+
+
Parameters:
image - image of barcode to decode +
Returns:
a String representing the content encoded by the QR code +
Throws: +
ReaderException - if a QR code cannot be found, or cannot be decoded
+
+
+
+ +

+decode

+
+public Result decode(MonochromeBitmapSource image,
+                     java.util.Hashtable hints)
+              throws ReaderException
+
+
Description copied from interface: Reader
+
Locates and decodes a barcode in some format within an image. This method also accepts + hints, each possibly associated to some data, which may help the implementation decode. +

+

+
Specified by:
decode in interface Reader
+
+
+
Parameters:
image - image of barcode to decode
hints - passed as a Hashtable from DecodeHintType to aribtrary data. The + meaning of the data depends upon the hint type. The implementation may or may not do + anything with these hints. +
Returns:
String which the barcode encodes +
Throws: +
ReaderException - if the barcode cannot be located or decoded for any reason
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/QRCodeWriter.html b/docs/javadoc/com/google/zxing/qrcode/QRCodeWriter.html new file mode 100644 index 000000000..e8d116186 --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/QRCodeWriter.html @@ -0,0 +1,311 @@ + + + + + + +QRCodeWriter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.qrcode +
+Class QRCodeWriter

+
+java.lang.Object
+  extended by com.google.zxing.qrcode.QRCodeWriter
+
+
+
All Implemented Interfaces:
Writer
+
+
+
+
public final class QRCodeWriter
extends java.lang.Object
implements Writer
+ + +

+This object renders a QR Code as a ByteMatrix 2D array of greyscale values. +

+ +

+

+
Author:
+
dswitkin@google.com (Daniel Switkin)
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
QRCodeWriter() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ ByteMatrixencode(java.lang.String contents, + BarcodeFormat format, + int width, + int height) + +
+          Encode a barcode using the default settings.
+ ByteMatrixencode(java.lang.String contents, + BarcodeFormat format, + int width, + int height, + java.util.Hashtable hints) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+QRCodeWriter

+
+public QRCodeWriter()
+
+
+ + + + + + + + +
+Method Detail
+ +

+encode

+
+public ByteMatrix encode(java.lang.String contents,
+                         BarcodeFormat format,
+                         int width,
+                         int height)
+                  throws WriterException
+
+
Description copied from interface: Writer
+
Encode a barcode using the default settings. +

+

+
Specified by:
encode in interface Writer
+
+
+
Parameters:
contents - The contents to encode in the barcode
format - The barcode format to generate
width - The preferred width in pixels
height - The preferred height in pixels +
Returns:
The generated barcode as a Matrix of unsigned bytes (0 == black, 255 == white) +
Throws: +
WriterException
+
+
+
+ +

+encode

+
+public ByteMatrix encode(java.lang.String contents,
+                         BarcodeFormat format,
+                         int width,
+                         int height,
+                         java.util.Hashtable hints)
+                  throws WriterException
+
+
+
Specified by:
encode in interface Writer
+
+
+
Parameters:
contents - The contents to encode in the barcode
format - The barcode format to generate
width - The preferred width in pixels
height - The preferred height in pixels
hints - Additional parameters to supply to the encoder +
Returns:
The generated barcode as a Matrix of unsigned bytes (0 == black, 255 == white) +
Throws: +
WriterException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/decoder/Decoder.html b/docs/javadoc/com/google/zxing/qrcode/decoder/Decoder.html new file mode 100644 index 000000000..6b264ba4c --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/decoder/Decoder.html @@ -0,0 +1,291 @@ + + + + + + +Decoder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.qrcode.decoder +
+Class Decoder

+
+java.lang.Object
+  extended by com.google.zxing.qrcode.decoder.Decoder
+
+
+
+
public final class Decoder
extends java.lang.Object
+ + +

+

The main class which implements QR Code decoding -- as opposed to locating and extracting + the QR Code from an image.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Decoder() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ DecoderResultdecode(BitMatrix bits) + +
+          Decodes a QR Code represented as a BitMatrix.
+ DecoderResultdecode(boolean[][] image) + +
+          Convenience method that can decode a QR Code represented as a 2D array of booleans.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Decoder

+
+public Decoder()
+
+
+ + + + + + + + +
+Method Detail
+ +

+decode

+
+public DecoderResult decode(boolean[][] image)
+                     throws ReaderException
+
+

Convenience method that can decode a QR Code represented as a 2D array of booleans. + "true" is taken to mean a black module.

+

+

+
Parameters:
image - booleans representing white/black QR Code modules +
Returns:
text and bytes encoded within the QR Code +
Throws: +
ReaderException - if the QR Code cannot be decoded
+
+
+
+ +

+decode

+
+public DecoderResult decode(BitMatrix bits)
+                     throws ReaderException
+
+

Decodes a QR Code represented as a BitMatrix. A 1 or "true" is taken to mean a black module.

+

+

+
Parameters:
bits - booleans representing white/black QR Code modules +
Returns:
text and bytes encoded within the QR Code +
Throws: +
ReaderException - if the QR Code cannot be decoded
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/decoder/ErrorCorrectionLevel.html b/docs/javadoc/com/google/zxing/qrcode/decoder/ErrorCorrectionLevel.html new file mode 100644 index 000000000..41173cb56 --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/decoder/ErrorCorrectionLevel.html @@ -0,0 +1,404 @@ + + + + + + +ErrorCorrectionLevel + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.qrcode.decoder +
+Class ErrorCorrectionLevel

+
+java.lang.Object
+  extended by com.google.zxing.qrcode.decoder.ErrorCorrectionLevel
+
+
+
+
public final class ErrorCorrectionLevel
extends java.lang.Object
+ + +

+

See ISO 18004:2006, 6.5.1. This enum encapsulates the four error correction levels + defined by the QR code standard.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static ErrorCorrectionLevelH + +
+          H = ~30% correction
+static ErrorCorrectionLevelL + +
+          L = ~7% correction
+static ErrorCorrectionLevelM + +
+          M = ~15% correction
+static ErrorCorrectionLevelQ + +
+          Q = ~25% correction
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static ErrorCorrectionLevelforBits(int bits) + +
+           
+ intgetBits() + +
+           
+ java.lang.StringgetName() + +
+           
+ intordinal() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+L

+
+public static final ErrorCorrectionLevel L
+
+
L = ~7% correction +

+

+
+
+
+ +

+M

+
+public static final ErrorCorrectionLevel M
+
+
M = ~15% correction +

+

+
+
+
+ +

+Q

+
+public static final ErrorCorrectionLevel Q
+
+
Q = ~25% correction +

+

+
+
+
+ +

+H

+
+public static final ErrorCorrectionLevel H
+
+
H = ~30% correction +

+

+
+
+ + + + + + + + +
+Method Detail
+ +

+ordinal

+
+public int ordinal()
+
+
+
+
+
+
+ +

+getBits

+
+public int getBits()
+
+
+
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+forBits

+
+public static ErrorCorrectionLevel forBits(int bits)
+
+
+
Parameters:
bits - int containing the two bits encoding a QR Code's error correction level +
Returns:
ErrorCorrectionLevel representing the encoded error correction level
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/decoder/Mode.html b/docs/javadoc/com/google/zxing/qrcode/decoder/Mode.html new file mode 100644 index 000000000..88dd0f35c --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/decoder/Mode.html @@ -0,0 +1,490 @@ + + + + + + +Mode + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.qrcode.decoder +
+Class Mode

+
+java.lang.Object
+  extended by com.google.zxing.qrcode.decoder.Mode
+
+
+
+
public final class Mode
extends java.lang.Object
+ + +

+

See ISO 18004:2006, 6.4.1, Tables 2 and 3. This enum encapsulates the various modes in which + data can be encoded to bits in the QR code standard.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static ModeALPHANUMERIC + +
+           
+static ModeBYTE + +
+           
+static ModeECI + +
+           
+static ModeFNC1_FIRST_POSITION + +
+           
+static ModeFNC1_SECOND_POSITION + +
+           
+static ModeKANJI + +
+           
+static ModeNUMERIC + +
+           
+static ModeSTRUCTURED_APPEND + +
+           
+static ModeTERMINATOR + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static ModeforBits(int bits) + +
+           
+ intgetBits() + +
+           
+ intgetCharacterCountBits(Version version) + +
+           
+ java.lang.StringgetName() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+TERMINATOR

+
+public static final Mode TERMINATOR
+
+
+
+
+
+ +

+NUMERIC

+
+public static final Mode NUMERIC
+
+
+
+
+
+ +

+ALPHANUMERIC

+
+public static final Mode ALPHANUMERIC
+
+
+
+
+
+ +

+STRUCTURED_APPEND

+
+public static final Mode STRUCTURED_APPEND
+
+
+
+
+
+ +

+BYTE

+
+public static final Mode BYTE
+
+
+
+
+
+ +

+ECI

+
+public static final Mode ECI
+
+
+
+
+
+ +

+KANJI

+
+public static final Mode KANJI
+
+
+
+
+
+ +

+FNC1_FIRST_POSITION

+
+public static final Mode FNC1_FIRST_POSITION
+
+
+
+
+
+ +

+FNC1_SECOND_POSITION

+
+public static final Mode FNC1_SECOND_POSITION
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+forBits

+
+public static Mode forBits(int bits)
+
+
+
Parameters:
bits - four bits encoding a QR Code data mode +
Returns:
Mode encoded by these bits +
Throws: +
java.lang.IllegalArgumentException - if bits do not correspond to a known mode
+
+
+
+ +

+getCharacterCountBits

+
+public int getCharacterCountBits(Version version)
+
+
+
Parameters:
version - version in question +
Returns:
number of bits used, in this QR Code symbol Version, to encode the + count of characters that will follow encoded in this Mode
+
+
+
+ +

+getBits

+
+public int getBits()
+
+
+
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/decoder/Version.ECB.html b/docs/javadoc/com/google/zxing/qrcode/decoder/Version.ECB.html new file mode 100644 index 000000000..ee6a7e509 --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/decoder/Version.ECB.html @@ -0,0 +1,245 @@ + + + + + + +Version.ECB + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.qrcode.decoder +
+Class Version.ECB

+
+java.lang.Object
+  extended by com.google.zxing.qrcode.decoder.Version.ECB
+
+
+
Enclosing class:
Version
+
+
+
+
public static final class Version.ECB
extends java.lang.Object
+ + +

+

Encapsualtes the parameters for one error-correction block in one symbol version. + This includes the number of data codewords, and the number of times a block with these + parameters is used consecutively in the QR code version's format.

+

+ +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ intgetCount() + +
+           
+ intgetDataCodewords() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getCount

+
+public int getCount()
+
+
+
+
+
+
+ +

+getDataCodewords

+
+public int getDataCodewords()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/decoder/Version.ECBlocks.html b/docs/javadoc/com/google/zxing/qrcode/decoder/Version.ECBlocks.html new file mode 100644 index 000000000..217ce7036 --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/decoder/Version.ECBlocks.html @@ -0,0 +1,284 @@ + + + + + + +Version.ECBlocks + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.qrcode.decoder +
+Class Version.ECBlocks

+
+java.lang.Object
+  extended by com.google.zxing.qrcode.decoder.Version.ECBlocks
+
+
+
Enclosing class:
Version
+
+
+
+
public static final class Version.ECBlocks
extends java.lang.Object
+ + +

+

Encapsulates a set of error-correction blocks in one symbol version. Most versions will + use blocks of differing sizes within one version, so, this encapsulates the parameters for + each set of blocks. It also holds the number of error-correction codewords per block since it + will be the same across all blocks within one version.

+

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Version.ECB[]getECBlocks() + +
+           
+ intgetECCodewordsPerBlock() + +
+           
+ intgetNumBlocks() + +
+           
+ intgetTotalECCodewords() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getECCodewordsPerBlock

+
+public int getECCodewordsPerBlock()
+
+
+
+
+
+
+ +

+getNumBlocks

+
+public int getNumBlocks()
+
+
+
+
+
+
+ +

+getTotalECCodewords

+
+public int getTotalECCodewords()
+
+
+
+
+
+
+ +

+getECBlocks

+
+public Version.ECB[] getECBlocks()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/decoder/Version.html b/docs/javadoc/com/google/zxing/qrcode/decoder/Version.html new file mode 100644 index 000000000..d4aab6cca --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/decoder/Version.html @@ -0,0 +1,392 @@ + + + + + + +Version + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.qrcode.decoder +
+Class Version

+
+java.lang.Object
+  extended by com.google.zxing.qrcode.decoder.Version
+
+
+
+
public final class Version
extends java.lang.Object
+ + +

+See ISO 18004:2006 Annex D +

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + + + + +
+Nested Class Summary
+static classVersion.ECB + +
+          Encapsualtes the parameters for one error-correction block in one symbol version.
+static classVersion.ECBlocks + +
+          Encapsulates a set of error-correction blocks in one symbol version.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ int[]getAlignmentPatternCenters() + +
+           
+ intgetDimensionForVersion() + +
+           
+ Version.ECBlocksgetECBlocksForLevel(ErrorCorrectionLevel ecLevel) + +
+           
+static VersiongetProvisionalVersionForDimension(int dimension) + +
+          Deduces version information purely from QR Code dimensions.
+ intgetTotalCodewords() + +
+           
+static VersiongetVersionForNumber(int versionNumber) + +
+           
+ intgetVersionNumber() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getVersionNumber

+
+public int getVersionNumber()
+
+
+
+
+
+
+ +

+getAlignmentPatternCenters

+
+public int[] getAlignmentPatternCenters()
+
+
+
+
+
+
+ +

+getTotalCodewords

+
+public int getTotalCodewords()
+
+
+
+
+
+
+ +

+getDimensionForVersion

+
+public int getDimensionForVersion()
+
+
+
+
+
+
+ +

+getECBlocksForLevel

+
+public Version.ECBlocks getECBlocksForLevel(ErrorCorrectionLevel ecLevel)
+
+
+
+
+
+
+ +

+getProvisionalVersionForDimension

+
+public static Version getProvisionalVersionForDimension(int dimension)
+                                                 throws ReaderException
+
+

Deduces version information purely from QR Code dimensions.

+

+

+
Parameters:
dimension - dimension in modules +
Returns:
Version for a QR Code of that dimension +
Throws: +
ReaderException - if dimension is not 1 mod 4
+
+
+
+ +

+getVersionForNumber

+
+public static Version getVersionForNumber(int versionNumber)
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/decoder/package-frame.html b/docs/javadoc/com/google/zxing/qrcode/decoder/package-frame.html new file mode 100644 index 000000000..ad8e5a422 --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/decoder/package-frame.html @@ -0,0 +1,42 @@ + + + + + + +com.google.zxing.qrcode.decoder + + + + + + + + + + + +com.google.zxing.qrcode.decoder + + + + +
+Classes  + +
+Decoder +
+ErrorCorrectionLevel +
+Mode +
+Version +
+Version.ECB +
+Version.ECBlocks
+ + + + diff --git a/docs/javadoc/com/google/zxing/qrcode/decoder/package-summary.html b/docs/javadoc/com/google/zxing/qrcode/decoder/package-summary.html new file mode 100644 index 000000000..786a9b8e8 --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/decoder/package-summary.html @@ -0,0 +1,176 @@ + + + + + + +com.google.zxing.qrcode.decoder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.qrcode.decoder +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
DecoderThe main class which implements QR Code decoding -- as opposed to locating and extracting + the QR Code from an image.
ErrorCorrectionLevelSee ISO 18004:2006, 6.5.1.
ModeSee ISO 18004:2006, 6.4.1, Tables 2 and 3.
VersionSee ISO 18004:2006 Annex D
Version.ECBEncapsualtes the parameters for one error-correction block in one symbol version.
Version.ECBlocksEncapsulates a set of error-correction blocks in one symbol version.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/decoder/package-tree.html b/docs/javadoc/com/google/zxing/qrcode/decoder/package-tree.html new file mode 100644 index 000000000..2eadaec68 --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/decoder/package-tree.html @@ -0,0 +1,151 @@ + + + + + + +com.google.zxing.qrcode.decoder Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.qrcode.decoder +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/detector/AlignmentPattern.html b/docs/javadoc/com/google/zxing/qrcode/detector/AlignmentPattern.html new file mode 100644 index 000000000..5f018a7c4 --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/detector/AlignmentPattern.html @@ -0,0 +1,208 @@ + + + + + + +AlignmentPattern + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.qrcode.detector +
+Class AlignmentPattern

+
+java.lang.Object
+  extended by com.google.zxing.ResultPoint
+      extended by com.google.zxing.qrcode.detector.AlignmentPattern
+
+
+
+
public final class AlignmentPattern
extends ResultPoint
+ + +

+

Encapsulates an alignment pattern, which are the smaller square patterns found in + all but the simplest QR Codes.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class com.google.zxing.ResultPoint
crossProductZ, distance, equals, getX, getY, hashCode, orderBestPatterns, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/detector/Detector.html b/docs/javadoc/com/google/zxing/qrcode/detector/Detector.html new file mode 100644 index 000000000..46ce4dc04 --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/detector/Detector.html @@ -0,0 +1,334 @@ + + + + + + +Detector + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.qrcode.detector +
+Class Detector

+
+java.lang.Object
+  extended by com.google.zxing.qrcode.detector.Detector
+
+
+
Direct Known Subclasses:
MultiDetector
+
+
+
+
public class Detector
extends java.lang.Object
+ + +

+

Encapsulates logic that can detect a QR Code in an image, even if the QR Code + is rotated or skewed, or partially obscured.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Detector(MonochromeBitmapSource image) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ DetectorResultdetect() + +
+          Detects a QR Code in an image, simply.
+ DetectorResultdetect(java.util.Hashtable hints) + +
+          Detects a QR Code in an image, simply.
+protected  MonochromeBitmapSourcegetImage() + +
+           
+protected  DetectorResultprocessFinderPatternInfo(FinderPatternInfo info) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Detector

+
+public Detector(MonochromeBitmapSource image)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getImage

+
+protected MonochromeBitmapSource getImage()
+
+
+
+
+
+
+ +

+detect

+
+public DetectorResult detect()
+                      throws ReaderException
+
+

Detects a QR Code in an image, simply.

+

+

+ +
Returns:
DetectorResult encapsulating results of detecting a QR Code +
Throws: +
ReaderException - if no QR Code can be found
+
+
+
+ +

+detect

+
+public DetectorResult detect(java.util.Hashtable hints)
+                      throws ReaderException
+
+

Detects a QR Code in an image, simply.

+

+

+
Parameters:
hints - optional hints to detector +
Returns:
DetectorResult encapsulating results of detecting a QR Code +
Throws: +
ReaderException - if no QR Code can be found
+
+
+
+ +

+processFinderPatternInfo

+
+protected DetectorResult processFinderPatternInfo(FinderPatternInfo info)
+                                           throws ReaderException
+
+
+ +
Throws: +
ReaderException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/detector/FinderPattern.html b/docs/javadoc/com/google/zxing/qrcode/detector/FinderPattern.html new file mode 100644 index 000000000..2a883f3b6 --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/detector/FinderPattern.html @@ -0,0 +1,237 @@ + + + + + + +FinderPattern + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.qrcode.detector +
+Class FinderPattern

+
+java.lang.Object
+  extended by com.google.zxing.ResultPoint
+      extended by com.google.zxing.qrcode.detector.FinderPattern
+
+
+
+
public final class FinderPattern
extends ResultPoint
+ + +

+

Encapsulates a finder pattern, which are the three square patterns found in + the corners of QR Codes. It also encapsulates a count of similar finder patterns, + as a convenience to the finder's bookkeeping.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+ floatgetEstimatedModuleSize() + +
+           
+ + + + + + + +
Methods inherited from class com.google.zxing.ResultPoint
crossProductZ, distance, equals, getX, getY, hashCode, orderBestPatterns, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getEstimatedModuleSize

+
+public float getEstimatedModuleSize()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/detector/FinderPatternFinder.html b/docs/javadoc/com/google/zxing/qrcode/detector/FinderPatternFinder.html new file mode 100644 index 000000000..87feb7c06 --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/detector/FinderPatternFinder.html @@ -0,0 +1,393 @@ + + + + + + +FinderPatternFinder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.qrcode.detector +
+Class FinderPatternFinder

+
+java.lang.Object
+  extended by com.google.zxing.qrcode.detector.FinderPatternFinder
+
+
+
+
public class FinderPatternFinder
extends java.lang.Object
+ + +

+

This class attempts to find finder patterns in a QR Code. Finder patterns are the square + markers at three corners of a QR Code.

+ +

This class is thread-safe but not reentrant. Each thread must allocate its own object. +

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+protected static intMAX_MODULES + +
+           
+protected static intMIN_SKIP + +
+           
+  + + + + + + + + + + +
+Constructor Summary
FinderPatternFinder(MonochromeBitmapSource image) + +
+          Creates a finder that will search the image for three finder patterns.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected static booleanfoundPatternCross(int[] stateCount) + +
+           
+protected  MonochromeBitmapSourcegetImage() + +
+           
+protected  java.util.VectorgetPossibleCenters() + +
+           
+protected  booleanhandlePossibleCenter(int[] stateCount, + int i, + int j) + +
+          This is called when a horizontal scan finds a possible alignment pattern.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+MIN_SKIP

+
+protected static final int MIN_SKIP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MAX_MODULES

+
+protected static final int MAX_MODULES
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+FinderPatternFinder

+
+public FinderPatternFinder(MonochromeBitmapSource image)
+
+

Creates a finder that will search the image for three finder patterns.

+

+

+
Parameters:
image - image to search
+
+ + + + + + + + +
+Method Detail
+ +

+getImage

+
+protected MonochromeBitmapSource getImage()
+
+
+
+
+
+
+ +

+getPossibleCenters

+
+protected java.util.Vector getPossibleCenters()
+
+
+
+
+
+
+ +

+foundPatternCross

+
+protected static boolean foundPatternCross(int[] stateCount)
+
+
+
Parameters:
stateCount - count of black/white/black/white/black pixels just read +
Returns:
true iff the proportions of the counts is close enough to the 1/1/3/1/1 ratios + used by finder patterns to be considered a match
+
+
+
+ +

+handlePossibleCenter

+
+protected boolean handlePossibleCenter(int[] stateCount,
+                                       int i,
+                                       int j)
+
+

This is called when a horizontal scan finds a possible alignment pattern. It will + cross check with a vertical scan, and if successful, will, ah, cross-cross-check + with another horizontal scan. This is needed primarily to locate the real horizontal + center of the pattern in cases of extreme skew.

+ +

If that succeeds the finder pattern location is added to a list that tracks + the number of times each location has been nearly-matched as a finder pattern. + Each additional find is more evidence that the location is in fact a finder + pattern center +

+

+
Parameters:
stateCount - reading state module counts from horizontal scan
i - row where finder pattern may be found
j - end of possible finder pattern in row +
Returns:
true if a finder pattern candidate was found this time
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/detector/FinderPatternInfo.html b/docs/javadoc/com/google/zxing/qrcode/detector/FinderPatternInfo.html new file mode 100644 index 000000000..7a3a1d659 --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/detector/FinderPatternInfo.html @@ -0,0 +1,297 @@ + + + + + + +FinderPatternInfo + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.qrcode.detector +
+Class FinderPatternInfo

+
+java.lang.Object
+  extended by com.google.zxing.qrcode.detector.FinderPatternInfo
+
+
+
+
public final class FinderPatternInfo
extends java.lang.Object
+ + +

+

Encapsulates information about finder patterns in an image, including the location of + the three finder patterns, and their estimated module size.

+

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
FinderPatternInfo(FinderPattern[] patternCenters) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ FinderPatterngetBottomLeft() + +
+           
+ FinderPatterngetTopLeft() + +
+           
+ FinderPatterngetTopRight() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FinderPatternInfo

+
+public FinderPatternInfo(FinderPattern[] patternCenters)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getBottomLeft

+
+public FinderPattern getBottomLeft()
+
+
+
+
+
+
+ +

+getTopLeft

+
+public FinderPattern getTopLeft()
+
+
+
+
+
+
+ +

+getTopRight

+
+public FinderPattern getTopRight()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/detector/package-frame.html b/docs/javadoc/com/google/zxing/qrcode/detector/package-frame.html new file mode 100644 index 000000000..22aa1b80e --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/detector/package-frame.html @@ -0,0 +1,40 @@ + + + + + + +com.google.zxing.qrcode.detector + + + + + + + + + + + +com.google.zxing.qrcode.detector + + + + +
+Classes  + +
+AlignmentPattern +
+Detector +
+FinderPattern +
+FinderPatternFinder +
+FinderPatternInfo
+ + + + diff --git a/docs/javadoc/com/google/zxing/qrcode/detector/package-summary.html b/docs/javadoc/com/google/zxing/qrcode/detector/package-summary.html new file mode 100644 index 000000000..47d66a1b6 --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/detector/package-summary.html @@ -0,0 +1,175 @@ + + + + + + +com.google.zxing.qrcode.detector + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.qrcode.detector +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AlignmentPatternEncapsulates an alignment pattern, which are the smaller square patterns found in + all but the simplest QR Codes.
DetectorEncapsulates logic that can detect a QR Code in an image, even if the QR Code + is rotated or skewed, or partially obscured.
FinderPatternEncapsulates a finder pattern, which are the three square patterns found in + the corners of QR Codes.
FinderPatternFinderThis class attempts to find finder patterns in a QR Code.
FinderPatternInfoEncapsulates information about finder patterns in an image, including the location of + the three finder patterns, and their estimated module size.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/detector/package-tree.html b/docs/javadoc/com/google/zxing/qrcode/detector/package-tree.html new file mode 100644 index 000000000..2edec737d --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/detector/package-tree.html @@ -0,0 +1,153 @@ + + + + + + +com.google.zxing.qrcode.detector Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.qrcode.detector +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/encoder/BitVector.html b/docs/javadoc/com/google/zxing/qrcode/encoder/BitVector.html new file mode 100644 index 000000000..3ab1c9c4f --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/encoder/BitVector.html @@ -0,0 +1,417 @@ + + + + + + +BitVector + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.qrcode.encoder +
+Class BitVector

+
+java.lang.Object
+  extended by com.google.zxing.qrcode.encoder.BitVector
+
+
+
+
public final class BitVector
extends java.lang.Object
+ + +

+JAVAPORT: This should be combined with BitArray in the future, although that class is not yet + dynamically resizeable. This implementation is reasonable but there is a lot of function calling + in loops I'd like to get rid of. +

+ +

+

+
Author:
+
satorux@google.com (Satoru Takabayashi) - creator, dswitkin@google.com (Daniel Switkin) - ported from C++
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
BitVector() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidappendBit(int bit) + +
+           
+ voidappendBits(int value, + int numBits) + +
+           
+ voidappendBitVector(BitVector bits) + +
+           
+ intat(int index) + +
+           
+ byte[]getArray() + +
+           
+ intsize() + +
+           
+ intsizeInBytes() + +
+           
+ java.lang.StringtoString() + +
+           
+ voidxor(BitVector other) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BitVector

+
+public BitVector()
+
+
+ + + + + + + + +
+Method Detail
+ +

+at

+
+public int at(int index)
+
+
+
+
+
+
+ +

+size

+
+public int size()
+
+
+
+
+
+
+ +

+sizeInBytes

+
+public int sizeInBytes()
+
+
+
+
+
+
+ +

+appendBit

+
+public void appendBit(int bit)
+
+
+
+
+
+
+ +

+appendBits

+
+public void appendBits(int value,
+                       int numBits)
+
+
+
+
+
+
+ +

+appendBitVector

+
+public void appendBitVector(BitVector bits)
+
+
+
+
+
+
+ +

+xor

+
+public void xor(BitVector other)
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+getArray

+
+public byte[] getArray()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/encoder/Encoder.html b/docs/javadoc/com/google/zxing/qrcode/encoder/Encoder.html new file mode 100644 index 000000000..ba7e66453 --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/encoder/Encoder.html @@ -0,0 +1,309 @@ + + + + + + +Encoder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.qrcode.encoder +
+Class Encoder

+
+java.lang.Object
+  extended by com.google.zxing.qrcode.encoder.Encoder
+
+
+
+
public final class Encoder
extends java.lang.Object
+ + +

+

+
Author:
+
satorux@google.com (Satoru Takabayashi) - creator, dswitkin@google.com (Daniel Switkin) - ported from C++
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static ModechooseMode(java.lang.String content) + +
+           
+static ModechooseMode(java.lang.String content, + java.lang.String encoding) + +
+          Choose the best mode by examining the content.
+static voidencode(java.lang.String content, + ErrorCorrectionLevel ecLevel, + java.util.Hashtable hints, + QRCode qrCode) + +
+           
+static voidencode(java.lang.String content, + ErrorCorrectionLevel ecLevel, + QRCode qrCode) + +
+          Encode "bytes" with the error correction level "ecLevel".
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+encode

+
+public static void encode(java.lang.String content,
+                          ErrorCorrectionLevel ecLevel,
+                          QRCode qrCode)
+                   throws WriterException
+
+
Encode "bytes" with the error correction level "ecLevel". The encoding mode will be chosen + internally by chooseMode(). On success, store the result in "qrCode". + + We recommend you to use QRCode.EC_LEVEL_L (the lowest level) for + "getECLevel" since our primary use is to show QR code on desktop screens. We don't need very + strong error correction for this purpose. + + Note that there is no way to encode bytes in MODE_KANJI. We might want to add EncodeWithMode() + with which clients can specify the encoding mode. For now, we don't need the functionality. +

+

+ +
Throws: +
WriterException
+
+
+
+ +

+encode

+
+public static void encode(java.lang.String content,
+                          ErrorCorrectionLevel ecLevel,
+                          java.util.Hashtable hints,
+                          QRCode qrCode)
+                   throws WriterException
+
+
+ +
Throws: +
WriterException
+
+
+
+ +

+chooseMode

+
+public static Mode chooseMode(java.lang.String content)
+
+
+
+
+
+
+ +

+chooseMode

+
+public static Mode chooseMode(java.lang.String content,
+                              java.lang.String encoding)
+
+
Choose the best mode by examining the content. Note that 'encoding' is used as a hint; + if it is Shift_JIS then we assume the input is Kanji and return Mode.KANJI. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/encoder/MaskUtil.html b/docs/javadoc/com/google/zxing/qrcode/encoder/MaskUtil.html new file mode 100644 index 000000000..539008388 --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/encoder/MaskUtil.html @@ -0,0 +1,301 @@ + + + + + + +MaskUtil + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.qrcode.encoder +
+Class MaskUtil

+
+java.lang.Object
+  extended by com.google.zxing.qrcode.encoder.MaskUtil
+
+
+
+
public final class MaskUtil
extends java.lang.Object
+ + +

+

+
Author:
+
satorux@google.com (Satoru Takabayashi) - creator, dswitkin@google.com (Daniel Switkin) - ported from C++
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static intapplyMaskPenaltyRule1(ByteMatrix matrix) + +
+           
+static intapplyMaskPenaltyRule2(ByteMatrix matrix) + +
+           
+static intapplyMaskPenaltyRule3(ByteMatrix matrix) + +
+           
+static intapplyMaskPenaltyRule4(ByteMatrix matrix) + +
+           
+static booleangetDataMaskBit(int maskPattern, + int x, + int y) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+applyMaskPenaltyRule1

+
+public static int applyMaskPenaltyRule1(ByteMatrix matrix)
+
+
+
+
+
+
+ +

+applyMaskPenaltyRule2

+
+public static int applyMaskPenaltyRule2(ByteMatrix matrix)
+
+
+
+
+
+
+ +

+applyMaskPenaltyRule3

+
+public static int applyMaskPenaltyRule3(ByteMatrix matrix)
+
+
+
+
+
+
+ +

+applyMaskPenaltyRule4

+
+public static int applyMaskPenaltyRule4(ByteMatrix matrix)
+
+
+
+
+
+
+ +

+getDataMaskBit

+
+public static boolean getDataMaskBit(int maskPattern,
+                                     int x,
+                                     int y)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/encoder/MatrixUtil.html b/docs/javadoc/com/google/zxing/qrcode/encoder/MatrixUtil.html new file mode 100644 index 000000000..8c71958ba --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/encoder/MatrixUtil.html @@ -0,0 +1,441 @@ + + + + + + +MatrixUtil + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.qrcode.encoder +
+Class MatrixUtil

+
+java.lang.Object
+  extended by com.google.zxing.qrcode.encoder.MatrixUtil
+
+
+
+
public final class MatrixUtil
extends java.lang.Object
+ + +

+

+
Author:
+
satorux@google.com (Satoru Takabayashi) - creator, dswitkin@google.com (Daniel Switkin) - ported from C++
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidbuildMatrix(BitVector dataBits, + ErrorCorrectionLevel ecLevel, + int version, + int maskPattern, + ByteMatrix matrix) + +
+           
+static intcalculateBCHCode(int value, + int poly) + +
+           
+static voidclearMatrix(ByteMatrix matrix) + +
+           
+static voidembedBasicPatterns(int version, + ByteMatrix matrix) + +
+           
+static voidembedDataBits(BitVector dataBits, + int maskPattern, + ByteMatrix matrix) + +
+           
+static voidembedTypeInfo(ErrorCorrectionLevel ecLevel, + int maskPattern, + ByteMatrix matrix) + +
+           
+static intfindMSBSet(int value) + +
+           
+static voidmakeTypeInfoBits(ErrorCorrectionLevel ecLevel, + int maskPattern, + BitVector bits) + +
+           
+static voidmakeVersionInfoBits(int version, + BitVector bits) + +
+           
+static voidmaybeEmbedVersionInfo(int version, + ByteMatrix matrix) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+clearMatrix

+
+public static void clearMatrix(ByteMatrix matrix)
+
+
+
+
+
+
+ +

+buildMatrix

+
+public static void buildMatrix(BitVector dataBits,
+                               ErrorCorrectionLevel ecLevel,
+                               int version,
+                               int maskPattern,
+                               ByteMatrix matrix)
+                        throws WriterException
+
+
+ +
Throws: +
WriterException
+
+
+
+ +

+embedBasicPatterns

+
+public static void embedBasicPatterns(int version,
+                                      ByteMatrix matrix)
+                               throws WriterException
+
+
+ +
Throws: +
WriterException
+
+
+
+ +

+embedTypeInfo

+
+public static void embedTypeInfo(ErrorCorrectionLevel ecLevel,
+                                 int maskPattern,
+                                 ByteMatrix matrix)
+                          throws WriterException
+
+
+ +
Throws: +
WriterException
+
+
+
+ +

+maybeEmbedVersionInfo

+
+public static void maybeEmbedVersionInfo(int version,
+                                         ByteMatrix matrix)
+                                  throws WriterException
+
+
+ +
Throws: +
WriterException
+
+
+
+ +

+embedDataBits

+
+public static void embedDataBits(BitVector dataBits,
+                                 int maskPattern,
+                                 ByteMatrix matrix)
+                          throws WriterException
+
+
+ +
Throws: +
WriterException
+
+
+
+ +

+findMSBSet

+
+public static int findMSBSet(int value)
+
+
+
+
+
+
+ +

+calculateBCHCode

+
+public static int calculateBCHCode(int value,
+                                   int poly)
+
+
+
+
+
+
+ +

+makeTypeInfoBits

+
+public static void makeTypeInfoBits(ErrorCorrectionLevel ecLevel,
+                                    int maskPattern,
+                                    BitVector bits)
+                             throws WriterException
+
+
+ +
Throws: +
WriterException
+
+
+
+ +

+makeVersionInfoBits

+
+public static void makeVersionInfoBits(int version,
+                                       BitVector bits)
+                                throws WriterException
+
+
+ +
Throws: +
WriterException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/encoder/QRCode.html b/docs/javadoc/com/google/zxing/qrcode/encoder/QRCode.html new file mode 100644 index 000000000..03b5baed9 --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/encoder/QRCode.html @@ -0,0 +1,732 @@ + + + + + + +QRCode + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.qrcode.encoder +
+Class QRCode

+
+java.lang.Object
+  extended by com.google.zxing.qrcode.encoder.QRCode
+
+
+
+
public final class QRCode
extends java.lang.Object
+ + +

+

+
Author:
+
satorux@google.com (Satoru Takabayashi) - creator, dswitkin@google.com (Daniel Switkin) - ported from C++
+
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static intNUM_MASK_PATTERNS + +
+           
+  + + + + + + + + + + +
+Constructor Summary
QRCode() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intat(int x, + int y) + +
+           
+ ErrorCorrectionLevelgetECLevel() + +
+           
+ intgetMaskPattern() + +
+           
+ ByteMatrixgetMatrix() + +
+           
+ intgetMatrixWidth() + +
+           
+ ModegetMode() + +
+           
+ intgetNumDataBytes() + +
+           
+ intgetNumECBytes() + +
+           
+ intgetNumRSBlocks() + +
+           
+ intgetNumTotalBytes() + +
+           
+ intgetVersion() + +
+           
+ booleanisValid() + +
+           
+static booleanisValidMaskPattern(int maskPattern) + +
+           
+ voidsetECLevel(ErrorCorrectionLevel value) + +
+           
+ voidsetMaskPattern(int value) + +
+           
+ voidsetMatrix(ByteMatrix value) + +
+           
+ voidsetMatrixWidth(int value) + +
+           
+ voidsetMode(Mode value) + +
+           
+ voidsetNumDataBytes(int value) + +
+           
+ voidsetNumECBytes(int value) + +
+           
+ voidsetNumRSBlocks(int value) + +
+           
+ voidsetNumTotalBytes(int value) + +
+           
+ voidsetVersion(int value) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+NUM_MASK_PATTERNS

+
+public static final int NUM_MASK_PATTERNS
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+QRCode

+
+public QRCode()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getMode

+
+public Mode getMode()
+
+
+
+
+
+
+ +

+getECLevel

+
+public ErrorCorrectionLevel getECLevel()
+
+
+
+
+
+
+ +

+getVersion

+
+public int getVersion()
+
+
+
+
+
+
+ +

+getMatrixWidth

+
+public int getMatrixWidth()
+
+
+
+
+
+
+ +

+getMaskPattern

+
+public int getMaskPattern()
+
+
+
+
+
+
+ +

+getNumTotalBytes

+
+public int getNumTotalBytes()
+
+
+
+
+
+
+ +

+getNumDataBytes

+
+public int getNumDataBytes()
+
+
+
+
+
+
+ +

+getNumECBytes

+
+public int getNumECBytes()
+
+
+
+
+
+
+ +

+getNumRSBlocks

+
+public int getNumRSBlocks()
+
+
+
+
+
+
+ +

+getMatrix

+
+public ByteMatrix getMatrix()
+
+
+
+
+
+
+ +

+at

+
+public int at(int x,
+              int y)
+
+
+
+
+
+
+ +

+isValid

+
+public boolean isValid()
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+setMode

+
+public void setMode(Mode value)
+
+
+
+
+
+
+ +

+setECLevel

+
+public void setECLevel(ErrorCorrectionLevel value)
+
+
+
+
+
+
+ +

+setVersion

+
+public void setVersion(int value)
+
+
+
+
+
+
+ +

+setMatrixWidth

+
+public void setMatrixWidth(int value)
+
+
+
+
+
+
+ +

+setMaskPattern

+
+public void setMaskPattern(int value)
+
+
+
+
+
+
+ +

+setNumTotalBytes

+
+public void setNumTotalBytes(int value)
+
+
+
+
+
+
+ +

+setNumDataBytes

+
+public void setNumDataBytes(int value)
+
+
+
+
+
+
+ +

+setNumECBytes

+
+public void setNumECBytes(int value)
+
+
+
+
+
+
+ +

+setNumRSBlocks

+
+public void setNumRSBlocks(int value)
+
+
+
+
+
+
+ +

+setMatrix

+
+public void setMatrix(ByteMatrix value)
+
+
+
+
+
+
+ +

+isValidMaskPattern

+
+public static boolean isValidMaskPattern(int maskPattern)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/encoder/package-frame.html b/docs/javadoc/com/google/zxing/qrcode/encoder/package-frame.html new file mode 100644 index 000000000..ae663f2aa --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/encoder/package-frame.html @@ -0,0 +1,40 @@ + + + + + + +com.google.zxing.qrcode.encoder + + + + + + + + + + + +com.google.zxing.qrcode.encoder + + + + +
+Classes  + +
+BitVector +
+Encoder +
+MaskUtil +
+MatrixUtil +
+QRCode
+ + + + diff --git a/docs/javadoc/com/google/zxing/qrcode/encoder/package-summary.html b/docs/javadoc/com/google/zxing/qrcode/encoder/package-summary.html new file mode 100644 index 000000000..cd2b6a725 --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/encoder/package-summary.html @@ -0,0 +1,172 @@ + + + + + + +com.google.zxing.qrcode.encoder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.qrcode.encoder +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
BitVectorJAVAPORT: This should be combined with BitArray in the future, although that class is not yet + dynamically resizeable.
Encoder 
MaskUtil 
MatrixUtil 
QRCode 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/encoder/package-tree.html b/docs/javadoc/com/google/zxing/qrcode/encoder/package-tree.html new file mode 100644 index 000000000..38a2634ba --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/encoder/package-tree.html @@ -0,0 +1,151 @@ + + + + + + +com.google.zxing.qrcode.encoder Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.qrcode.encoder +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/package-frame.html b/docs/javadoc/com/google/zxing/qrcode/package-frame.html new file mode 100644 index 000000000..3a7d48921 --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/package-frame.html @@ -0,0 +1,34 @@ + + + + + + +com.google.zxing.qrcode + + + + + + + + + + + +com.google.zxing.qrcode + + + + +
+Classes  + +
+QRCodeReader +
+QRCodeWriter
+ + + + diff --git a/docs/javadoc/com/google/zxing/qrcode/package-summary.html b/docs/javadoc/com/google/zxing/qrcode/package-summary.html new file mode 100644 index 000000000..2485e1be3 --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/package-summary.html @@ -0,0 +1,159 @@ + + + + + + +com.google.zxing.qrcode + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.qrcode +

+ + + + + + + + + + + + + +
+Class Summary
QRCodeReaderThis implementation can detect and decode QR Codes in an image.
QRCodeWriterThis object renders a QR Code as a ByteMatrix 2D array of greyscale values.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/qrcode/package-tree.html b/docs/javadoc/com/google/zxing/qrcode/package-tree.html new file mode 100644 index 000000000..b6046ab99 --- /dev/null +++ b/docs/javadoc/com/google/zxing/qrcode/package-tree.html @@ -0,0 +1,153 @@ + + + + + + +com.google.zxing.qrcode Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.qrcode +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/web/DecodeEmailListener.html b/docs/javadoc/com/google/zxing/web/DecodeEmailListener.html new file mode 100644 index 000000000..b578d2ba2 --- /dev/null +++ b/docs/javadoc/com/google/zxing/web/DecodeEmailListener.html @@ -0,0 +1,282 @@ + + + + + + +DecodeEmailListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.web +
+Class DecodeEmailListener

+
+java.lang.Object
+  extended by com.google.zxing.web.DecodeEmailListener
+
+
+
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener
+
+
+
+
public final class DecodeEmailListener
extends java.lang.Object
implements javax.servlet.ServletContextListener
+ + +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DecodeEmailListener() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidcontextDestroyed(javax.servlet.ServletContextEvent event) + +
+           
+ voidcontextInitialized(javax.servlet.ServletContextEvent event) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DecodeEmailListener

+
+public DecodeEmailListener()
+
+
+ + + + + + + + +
+Method Detail
+ +

+contextInitialized

+
+public void contextInitialized(javax.servlet.ServletContextEvent event)
+
+
+
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener
+
+
+
+
+
+
+ +

+contextDestroyed

+
+public void contextDestroyed(javax.servlet.ServletContextEvent event)
+
+
+
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/web/DecodeServlet.html b/docs/javadoc/com/google/zxing/web/DecodeServlet.html new file mode 100644 index 000000000..b235a0dc5 --- /dev/null +++ b/docs/javadoc/com/google/zxing/web/DecodeServlet.html @@ -0,0 +1,365 @@ + + + + + + +DecodeServlet + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.web +
+Class DecodeServlet

+
+java.lang.Object
+  extended by javax.servlet.GenericServlet
+      extended by javax.servlet.http.HttpServlet
+          extended by com.google.zxing.web.DecodeServlet
+
+
+
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
+
+
+
+
public final class DecodeServlet
extends javax.servlet.http.HttpServlet
+ + +

+HttpServlet which decodes images containing barcodes. Given a URL, it will + retrieve the image and decode it. It can also process image files uploaded via POST. +

+ +

+

+
Author:
+
Sean Owen
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DecodeServlet() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddestroy() + +
+           
+protected  voiddoGet(javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+           
+protected  voiddoPost(javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+           
+ voidinit(javax.servlet.ServletConfig servletConfig) + +
+           
+ + + + + + + +
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
+ + + + + + + +
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DecodeServlet

+
+public DecodeServlet()
+
+
+ + + + + + + + +
+Method Detail
+ +

+init

+
+public void init(javax.servlet.ServletConfig servletConfig)
+
+
+
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
+
+
+
+
+
+
+ +

+doGet

+
+protected void doGet(javax.servlet.http.HttpServletRequest request,
+                     javax.servlet.http.HttpServletResponse response)
+              throws javax.servlet.ServletException,
+                     java.io.IOException
+
+
+
Overrides:
doGet in class javax.servlet.http.HttpServlet
+
+
+ +
Throws: +
javax.servlet.ServletException +
java.io.IOException
+
+
+
+ +

+doPost

+
+protected void doPost(javax.servlet.http.HttpServletRequest request,
+                      javax.servlet.http.HttpServletResponse response)
+               throws javax.servlet.ServletException,
+                      java.io.IOException
+
+
+
Overrides:
doPost in class javax.servlet.http.HttpServlet
+
+
+ +
Throws: +
javax.servlet.ServletException +
java.io.IOException
+
+
+
+ +

+destroy

+
+public void destroy()
+
+
+
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/web/DoSFilter.html b/docs/javadoc/com/google/zxing/web/DoSFilter.html new file mode 100644 index 000000000..6f5fc05bd --- /dev/null +++ b/docs/javadoc/com/google/zxing/web/DoSFilter.html @@ -0,0 +1,318 @@ + + + + + + +DoSFilter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.google.zxing.web +
+Class DoSFilter

+
+java.lang.Object
+  extended by com.google.zxing.web.DoSFilter
+
+
+
All Implemented Interfaces:
javax.servlet.Filter
+
+
+
+
public final class DoSFilter
extends java.lang.Object
implements javax.servlet.Filter
+ + +

+A Filter that rejects requests from hosts that are sending too many + requests in too short a time. +

+ +

+

+
Author:
+
Sean Owen
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DoSFilter() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddestroy() + +
+           
+ voiddoFilter(javax.servlet.ServletRequest request, + javax.servlet.ServletResponse response, + javax.servlet.FilterChain chain) + +
+           
+ voidinit(javax.servlet.FilterConfig filterConfig) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DoSFilter

+
+public DoSFilter()
+
+
+ + + + + + + + +
+Method Detail
+ +

+init

+
+public void init(javax.servlet.FilterConfig filterConfig)
+
+
+
Specified by:
init in interface javax.servlet.Filter
+
+
+
+
+
+
+ +

+doFilter

+
+public void doFilter(javax.servlet.ServletRequest request,
+                     javax.servlet.ServletResponse response,
+                     javax.servlet.FilterChain chain)
+              throws java.io.IOException,
+                     javax.servlet.ServletException
+
+
+
Specified by:
doFilter in interface javax.servlet.Filter
+
+
+ +
Throws: +
java.io.IOException +
javax.servlet.ServletException
+
+
+
+ +

+destroy

+
+public void destroy()
+
+
+
Specified by:
destroy in interface javax.servlet.Filter
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/web/package-frame.html b/docs/javadoc/com/google/zxing/web/package-frame.html new file mode 100644 index 000000000..6e2e15a22 --- /dev/null +++ b/docs/javadoc/com/google/zxing/web/package-frame.html @@ -0,0 +1,36 @@ + + + + + + +com.google.zxing.web + + + + + + + + + + + +com.google.zxing.web + + + + +
+Classes  + +
+DecodeEmailListener +
+DecodeServlet +
+DoSFilter
+ + + + diff --git a/docs/javadoc/com/google/zxing/web/package-summary.html b/docs/javadoc/com/google/zxing/web/package-summary.html new file mode 100644 index 000000000..acfed35d5 --- /dev/null +++ b/docs/javadoc/com/google/zxing/web/package-summary.html @@ -0,0 +1,164 @@ + + + + + + +com.google.zxing.web + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.google.zxing.web +

+ + + + + + + + + + + + + + + + + +
+Class Summary
DecodeEmailListener 
DecodeServletHttpServlet which decodes images containing barcodes.
DoSFilterA Filter that rejects requests from hosts that are sending too many + requests in too short a time.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/com/google/zxing/web/package-tree.html b/docs/javadoc/com/google/zxing/web/package-tree.html new file mode 100644 index 000000000..28481a05f --- /dev/null +++ b/docs/javadoc/com/google/zxing/web/package-tree.html @@ -0,0 +1,159 @@ + + + + + + +com.google.zxing.web Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.google.zxing.web +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/constant-values.html b/docs/javadoc/constant-values.html new file mode 100644 index 000000000..29537de69 --- /dev/null +++ b/docs/javadoc/constant-values.html @@ -0,0 +1,1576 @@ + + + + + + +Constant Field Values + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Constant Field Values

+
+
+Contents + + + + + + +
+com.google.*
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.google.zxing.client.android.Contents.Format
+public static final java.lang.StringCODE_128"CODE_128"
+public static final java.lang.StringCODE_39"CODE_39"
+public static final java.lang.StringEAN_13"EAN_13"
+public static final java.lang.StringEAN_8"EAN_8"
+public static final java.lang.StringQR_CODE"QR_CODE"
+public static final java.lang.StringUPC_A"UPC_A"
+public static final java.lang.StringUPC_E"UPC_E"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.google.zxing.client.android.Contents.Type
+public static final java.lang.StringCONTACT"CONTACT_TYPE"
+public static final java.lang.StringEMAIL"EMAIL_TYPE"
+public static final java.lang.StringLOCATION"LOCATION_TYPE"
+public static final java.lang.StringPHONE"PHONE_TYPE"
+public static final java.lang.StringSMS"SMS_TYPE"
+public static final java.lang.StringTEXT"TEXT_TYPE"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.google.zxing.client.android.Intents.Encode
+public static final java.lang.StringACTION"com.google.zxing.client.android.ENCODE"
+public static final java.lang.StringDATA"ENCODE_DATA"
+public static final java.lang.StringDEPRECATED_ACTION"com.android.barcodes.ENCODE"
+public static final java.lang.StringFORMAT"com.google.zxing.client.android.ENCODE_FORMAT"
+public static final java.lang.StringTYPE"ENCODE_TYPE"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.google.zxing.client.android.Intents.Scan
+public static final java.lang.StringACTION"com.google.zxing.client.android.SCAN"
+public static final java.lang.StringDEPRECATED_ACTION"com.android.barcodes.SCAN"
+public static final java.lang.StringMODE"SCAN_MODE"
+public static final java.lang.StringONE_D_MODE"ONE_D_MODE"
+public static final java.lang.StringPRODUCT_MODE"PRODUCT_MODE"
+public static final java.lang.StringQR_CODE_MODE"QR_CODE_MODE"
+public static final java.lang.StringRESULT"SCAN_RESULT"
+public static final java.lang.StringRESULT_FORMAT"SCAN_RESULT_FORMAT"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.google.zxing.client.android.Intents.SearchBookContents
+public static final java.lang.StringACTION"com.google.zxing.client.android.SEARCH_BOOK_CONTENTS"
+public static final java.lang.StringDEPRECATED_ACTION"com.android.barcodes.SEARCH_BOOK_CONTENTS"
+public static final java.lang.StringISBN"ISBN"
+public static final java.lang.StringQUERY"QUERY"
+ +

+ +

+ + + + + + + + + + + + +
com.google.zxing.client.android.Intents.Share
+public static final java.lang.StringACTION"com.google.zxing.client.android.SHARE"
+ +

+ +

+ + + + + + + + + + + + +
com.google.zxing.client.android.PreferencesActivity
+public static final java.lang.StringKEY_CUSTOM_PRODUCT_SEARCH"preferences_custom_product_search"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.google.zxing.client.android.R.color
+public static final intcontents_text2131099648
+public static final intencode_view2131099649
+public static final inthelp_button_view2131099650
+public static final inthelp_view2131099651
+public static final intresult_image_border2131099652
+public static final intresult_minor_text2131099653
+public static final intresult_points2131099654
+public static final intresult_text2131099655
+public static final intresult_view2131099656
+public static final intsbc_header_text2131099657
+public static final intsbc_header_view2131099658
+public static final intsbc_layout_view2131099660
+public static final intsbc_list_item2131099659
+public static final intsbc_page_number_text2131099661
+public static final intsbc_snippet_text2131099662
+public static final intshare_text2131099663
+public static final intshare_view2131099664
+public static final intstatus_text2131099666
+public static final intstatus_view2131099665
+public static final inttransparent2131099667
+public static final intviewfinder_frame2131099668
+public static final intviewfinder_laser2131099669
+public static final intviewfinder_mask2131099670
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.google.zxing.client.android.R.drawable
+public static final intlauncher_icon2130837504
+public static final intshare_menu_item2130837505
+public static final intshare_via_barcode2130837506
+public static final intzxing_icon2130837507
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.google.zxing.client.android.R.id
+public static final intauto_focus2131165184
+public static final intback_button2131165211
+public static final intbarcode_image_view2131165201
+public static final intbookmark_button2131165219
+public static final intbookmark_title2131165196
+public static final intbookmark_url2131165197
+public static final intclipboard_button2131165220
+public static final intcontact_button2131165218
+public static final intcontents_text_view2131165204
+public static final intdecode2131165185
+public static final intdecode_failed2131165186
+public static final intdecode_succeeded2131165187
+public static final intdone_button2131165212
+public static final intencode_failed2131165188
+public static final intencode_succeeded2131165189
+public static final intencode_view2131165208
+public static final intformat_text_view2131165202
+public static final inthelp_contents2131165210
+public static final intimage_view2131165209
+public static final intlaunch_product_query2131165190
+public static final intpage_number_view2131165216
+public static final intpreview_view2131165198
+public static final intquery_button2131165214
+public static final intquery_text_view2131165213
+public static final intquit2131165191
+public static final intrestart_preview2131165192
+public static final intresult_button_view2131165205
+public static final intresult_list_view2131165215
+public static final intresult_view2131165200
+public static final intreturn_scan_result2131165193
+public static final intsearch_book_contents_failed2131165194
+public static final intsearch_book_contents_succeeded2131165195
+public static final intsnippet_view2131165217
+public static final intstatus_text_view2131165207
+public static final intstatus_view2131165206
+public static final inttype_text_view2131165203
+public static final intviewfinder_view2131165199
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.google.zxing.client.android.R.layout
+public static final intbookmark_picker_list_item2130903040
+public static final intcapture2130903041
+public static final intencode2130903042
+public static final inthelp2130903043
+public static final intsearch_book_contents2130903044
+public static final intsearch_book_contents_header2130903045
+public static final intsearch_book_contents_list_item2130903046
+public static final intshare2130903047
+ +

+ +

+ + + + + + + + + + + + +
com.google.zxing.client.android.R.raw
+public static final intbeep2131034112
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.google.zxing.client.android.R.string
+public static final intapp_name2131230720
+public static final intbookmark_picker_name2131230721
+public static final intbutton_add_calendar2131230722
+public static final intbutton_add_contact2131230723
+public static final intbutton_back2131230724
+public static final intbutton_book_search2131230725
+public static final intbutton_cancel2131230726
+public static final intbutton_clipboard_empty2131230727
+public static final intbutton_custom_product_search2131230728
+public static final intbutton_dial2131230729
+public static final intbutton_done2131230730
+public static final intbutton_email2131230731
+public static final intbutton_get_directions2131230732
+public static final intbutton_mms2131230733
+public static final intbutton_ok2131230734
+public static final intbutton_open_browser2131230735
+public static final intbutton_product_search2131230736
+public static final intbutton_search_book_contents2131230737
+public static final intbutton_share_bookmark2131230738
+public static final intbutton_share_by_email2131230739
+public static final intbutton_share_by_sms2131230740
+public static final intbutton_share_clipboard2131230741
+public static final intbutton_share_contact2131230742
+public static final intbutton_show_map2131230743
+public static final intbutton_sms2131230744
+public static final intbutton_web_search2131230745
+public static final intcontents_contact2131230746
+public static final intcontents_email2131230747
+public static final intcontents_location2131230748
+public static final intcontents_phone2131230749
+public static final intcontents_sms2131230750
+public static final intcontents_text2131230751
+public static final intmenu_about2131230752
+public static final intmenu_help2131230753
+public static final intmenu_settings2131230754
+public static final intmenu_share2131230755
+public static final intmsg_about2131230756
+public static final intmsg_default_contents2131230757
+public static final intmsg_default_format2131230758
+public static final intmsg_default_mms_subject2131230759
+public static final intmsg_default_status2131230760
+public static final intmsg_default_type2131230761
+public static final intmsg_encode_barcode_failed2131230762
+public static final intmsg_encode_contents_failed2131230763
+public static final intmsg_encode_in_progress2131230764
+public static final intmsg_intent_failed2131230765
+public static final intmsg_sbc_book_not_searchable2131230766
+public static final intmsg_sbc_failed2131230767
+public static final intmsg_sbc_no_page_returned2131230768
+public static final intmsg_sbc_page2131230769
+public static final intmsg_sbc_searching_book2131230772
+public static final intmsg_sbc_snippet_unavailable2131230770
+public static final intmsg_sbc_unknown_page2131230771
+public static final intmsg_share_explanation2131230773
+public static final intmsg_share_subject_line2131230774
+public static final intpreferences_actions_title2131230775
+public static final intpreferences_copy_to_clipboard_title2131230776
+public static final intpreferences_custom_product_search_summary2131230785
+public static final intpreferences_custom_product_search_title2131230784
+public static final intpreferences_decode_1D_title2131230777
+public static final intpreferences_decode_QR_title2131230778
+public static final intpreferences_general_title2131230779
+public static final intpreferences_name2131230780
+public static final intpreferences_play_beep_title2131230781
+public static final intpreferences_result_title2131230783
+public static final intpreferences_vibrate_title2131230782
+public static final intresult_address_book2131230786
+public static final intresult_calendar2131230787
+public static final intresult_email_address2131230788
+public static final intresult_geo2131230789
+public static final intresult_isbn2131230790
+public static final intresult_product2131230791
+public static final intresult_sms2131230792
+public static final intresult_tel2131230793
+public static final intresult_text2131230794
+public static final intresult_uri2131230795
+public static final intsbc_name2131230796
+public static final intshare_name2131230797
+public static final inttitle_about2131230798
+public static final intzxing_url2131230799
+ +

+ +

+ + + + + + + + + + + + +
com.google.zxing.client.android.R.xml
+public static final intpreferences2130968576
+ +

+ +

+ + + + + + + + + + + + +
com.google.zxing.client.android.result.ResultHandler
+public static final intMAX_BUTTON_COUNT4
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.google.zxing.client.result.optional.NDEFSmartPosterParsedResult
+public static final intACTION_DO0
+public static final intACTION_OPEN2
+public static final intACTION_SAVE1
+public static final intACTION_UNSPECIFIED-1
+ +

+ +

+ + + + + + + + + + + + +
com.google.zxing.client.rim.persistence.AppSettings
+public static final java.lang.StringSETTING_CAM_RES_MSG"setting_cam_res_msg"
+ +

+ +

+ + + + + + + + + + + + + + + + + +
com.google.zxing.pdf417.detector.Detector
+public static final intMAX_AVG_VARIANCE107
+public static final intMAX_INDIVIDUAL_VARIANCE204
+ +

+ +

+ + + + + + + + + + + + + + + + + +
com.google.zxing.qrcode.detector.FinderPatternFinder
+protected static final intMAX_MODULES57
+protected static final intMIN_SKIP3
+ +

+ +

+ + + + + + + + + + + + +
com.google.zxing.qrcode.encoder.QRCode
+public static final intNUM_MASK_PATTERNS8
+ +

+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/deprecated-list.html b/docs/javadoc/deprecated-list.html new file mode 100644 index 000000000..64632597b --- /dev/null +++ b/docs/javadoc/deprecated-list.html @@ -0,0 +1,144 @@ + + + + + + +Deprecated List + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Deprecated API

+
+
+Contents + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/help-doc.html b/docs/javadoc/help-doc.html new file mode 100644 index 000000000..671a9add3 --- /dev/null +++ b/docs/javadoc/help-doc.html @@ -0,0 +1,217 @@ + + + + + + +API Help + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+How This API Document Is Organized

+
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

+Overview

+
+ +

+The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

+

+Package

+
+ +

+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

+
+

+Class/Interface

+
+ +

+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+ +

+Annotation Type

+
+ +

+Each annotation type has its own separate page with the following sections:

+
+ +

+Enum

+
+ +

+Each enum has its own separate page with the following sections:

+
+

+Tree (Class Hierarchy)

+
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object. +
+

+Deprecated API

+
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+

+Index

+
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+

+Prev/Next

+These links take you to the next or previous class, interface, package, or related page.

+Frames/No Frames

+These links show and hide the HTML frames. All pages are available with or without frames. +

+

+Serialized Form

+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. +

+

+Constant Field Values

+The Constant Field Values page lists the static final fields and their values. +

+ + +This help file applies to API documentation generated using the standard doclet. + +
+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/index-all.html b/docs/javadoc/index-all.html new file mode 100644 index 000000000..873976668 --- /dev/null +++ b/docs/javadoc/index-all.html @@ -0,0 +1,3170 @@ + + + + + + +Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W X Y Z
+

+A

+
+
AbstractOneDReader - Class in com.google.zxing.oned
Encapsulates functionality and implementation that is common to all families + of one-dimensional barcodes.
AbstractOneDReader() - +Constructor for class com.google.zxing.oned.AbstractOneDReader +
  +
AbstractUPCEANReader - Class in com.google.zxing.oned
Encapsulates functionality and implementation that is common to UPC and EAN families + of one-dimensional barcodes.
AbstractUPCEANReader() - +Constructor for class com.google.zxing.oned.AbstractUPCEANReader +
  +
AbstractUPCEANWriter - Class in com.google.zxing.oned
Encapsulates functionality and implementation that is common to UPC and EAN families + of one-dimensional barcodes.
AbstractUPCEANWriter() - +Constructor for class com.google.zxing.oned.AbstractUPCEANWriter +
  +
ACTION - +Static variable in class com.google.zxing.client.android.Intents.Encode +
Send this intent to encode a piece of data as a QR code and display it full screen, so + that another person can scan the barcode from your screen. +
ACTION - +Static variable in class com.google.zxing.client.android.Intents.Scan +
Send this intent to open the Barcodes app in scanning mode, find a barcode, and return + the results. +
ACTION - +Static variable in class com.google.zxing.client.android.Intents.SearchBookContents +
Use Google Book Search to search the contents of the book provided. +
ACTION - +Static variable in class com.google.zxing.client.android.Intents.Share +
Give the user a choice of items to encode as a barcode, then render it as a QR Code and + display onscreen for a friend to scan with their phone. +
ACTION_DO - +Static variable in class com.google.zxing.client.result.optional.NDEFSmartPosterParsedResult +
  +
ACTION_OPEN - +Static variable in class com.google.zxing.client.result.optional.NDEFSmartPosterParsedResult +
  +
ACTION_SAVE - +Static variable in class com.google.zxing.client.result.optional.NDEFSmartPosterParsedResult +
  +
ACTION_UNSPECIFIED - +Static variable in class com.google.zxing.client.result.optional.NDEFSmartPosterParsedResult +
  +
Activator - Class in com.google.zxing.client.bug
BundleActivator for BugBarcode.
Activator() - +Constructor for class com.google.zxing.client.bug.Activator +
  +
addCalendarEvent(String, String, String) - +Method in class com.google.zxing.client.android.result.ResultHandler +
Sends an intent to create a new calendar event by prepopulating the Add Event UI. +
addContact(String[], String[], String[], String, String, String, String) - +Method in class com.google.zxing.client.android.result.ResultHandler +
  +
addHistoryItem(DecodeHistoryItem) - +Method in class com.google.zxing.client.rim.persistence.history.DecodeHistory +
Adds a history object. +
addItem(String, Object) - +Method in class com.google.zxing.client.rim.persistence.AppSettings +
Adds a setting object. +
ADDRESSBOOK - +Static variable in class com.google.zxing.client.result.ParsedResultType +
  +
AddressBookParsedResult - Class in com.google.zxing.client.result
 
AddressBookParsedResult(String[], String, String[], String[], String, String, String, String, String, String) - +Constructor for class com.google.zxing.client.result.AddressBookParsedResult +
  +
AddressBookResultHandler - Class in com.google.zxing.client.android.result
 
AddressBookResultHandler(Activity, ParsedResult) - +Constructor for class com.google.zxing.client.android.result.AddressBookResultHandler +
  +
AlignmentPattern - Class in com.google.zxing.qrcode.detector
Encapsulates an alignment pattern, which are the smaller square patterns found in + all but the simplest QR Codes.
ALLOWED_LENGTHS - +Static variable in class com.google.zxing.DecodeHintType +
Allowed lengths of encoded data -- reject anything else. +
ALPHANUMERIC - +Static variable in class com.google.zxing.qrcode.decoder.Mode +
  +
ANDROID_INTENT - +Static variable in class com.google.zxing.client.result.ParsedResultType +
  +
AndroidHttpClient - Class in com.google.zxing.client.android
Subclass of the Apache DefaultHttpClient that is configured with + reasonable default settings and registered schemes for Android, and + also lets the user add HttpRequestInterceptor classes.
AndroidIntentParsedResult - Class in com.google.zxing.client.android.result
A ParsedResult derived from a URI that encodes an Android + Intent, and which should presumably trigger that intent on Android.
app_name - +Static variable in class com.google.zxing.client.android.R.string +
  +
appendBit(int) - +Method in class com.google.zxing.qrcode.encoder.BitVector +
  +
appendBits(int, int) - +Method in class com.google.zxing.qrcode.encoder.BitVector +
  +
appendBitVector(BitVector) - +Method in class com.google.zxing.qrcode.encoder.BitVector +
  +
appendByte(int) - +Method in class com.google.zxing.common.ByteArray +
  +
appendPattern(byte[], int, int[], int) - +Static method in class com.google.zxing.oned.AbstractUPCEANWriter +
Appends the given pattern to the target array starting at pos. +
applyMaskPenaltyRule1(ByteMatrix) - +Static method in class com.google.zxing.qrcode.encoder.MaskUtil +
  +
applyMaskPenaltyRule2(ByteMatrix) - +Static method in class com.google.zxing.qrcode.encoder.MaskUtil +
  +
applyMaskPenaltyRule3(ByteMatrix) - +Static method in class com.google.zxing.qrcode.encoder.MaskUtil +
  +
applyMaskPenaltyRule4(ByteMatrix) - +Static method in class com.google.zxing.qrcode.encoder.MaskUtil +
  +
AppSettings - Class in com.google.zxing.client.rim.persistence
Singleton object that represents the persistent application settings data.
at(int) - +Method in class com.google.zxing.common.ByteArray +
Access an unsigned byte at location index. +
at(int) - +Method in class com.google.zxing.qrcode.encoder.BitVector +
  +
at(int, int) - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
auto_focus - +Static variable in class com.google.zxing.client.android.R.id +
Messages IDs +
available() - +Method in class com.google.zxing.common.BitSource +
  +
AWTImageMonochromeBitmapSource - Class in com.google.zxing.client.bug
An implementation based on AWT's Image representation.
AWTImageMonochromeBitmapSource(Image) - +Constructor for class com.google.zxing.client.bug.AWTImageMonochromeBitmapSource +
  +
+
+

+B

+
+
back_button - +Static variable in class com.google.zxing.client.android.R.id +
  +
barcode_image_view - +Static variable in class com.google.zxing.client.android.R.id +
  +
BarcodeFormat - Class in com.google.zxing
Enumerates barcode formats known to this package.
BaseMonochromeBitmapSource - Class in com.google.zxing.common
 
BaseMonochromeBitmapSource(int, int) - +Constructor for class com.google.zxing.common.BaseMonochromeBitmapSource +
  +
beep - +Static variable in class com.google.zxing.client.android.R.raw +
  +
BitArray - Class in com.google.zxing.common
A simple, fast array of bits, represented compactly by an array of ints internally.
BitArray(int) - +Constructor for class com.google.zxing.common.BitArray +
  +
BitMatrix - Class in com.google.zxing.common
Represents a 2D matrix of bits.
BitMatrix(int) - +Constructor for class com.google.zxing.common.BitMatrix +
  +
BitMatrix(int, int) - +Constructor for class com.google.zxing.common.BitMatrix +
  +
bits - +Variable in class com.google.zxing.common.BitArray +
  +
bits - +Variable in class com.google.zxing.common.BitMatrix +
  +
BitSource - Class in com.google.zxing.common
This provides an easy abstraction to read bits at a time from a sequence of bytes, where the + number of bits read is not often a multiple of 8.
BitSource(byte[]) - +Constructor for class com.google.zxing.common.BitSource +
  +
BitVector - Class in com.google.zxing.qrcode.encoder
JAVAPORT: This should be combined with BitArray in the future, although that class is not yet + dynamically resizeable.
BitVector() - +Constructor for class com.google.zxing.qrcode.encoder.BitVector +
  +
BlackPointEstimationMethod - Class in com.google.zxing
Enumerates different methods of sampling an imagine to estimate a black point.
BlackPointEstimator - Class in com.google.zxing.common
Encapsulates logic that estimates the optimal "black point", the luminance value + which is the best line between "white" and "black" in a grayscale image.
bookmark_button - +Static variable in class com.google.zxing.client.android.R.id +
  +
bookmark_picker_list_item - +Static variable in class com.google.zxing.client.android.R.layout +
  +
bookmark_picker_name - +Static variable in class com.google.zxing.client.android.R.string +
  +
bookmark_title - +Static variable in class com.google.zxing.client.android.R.id +
  +
bookmark_url - +Static variable in class com.google.zxing.client.android.R.id +
  +
BookmarkPickerActivity - Class in com.google.zxing.client.android
This class is only needed because I can't successfully send an ACTION_PICK intent to + com.android.browser.BrowserBookmarksPage.
BookmarkPickerActivity() - +Constructor for class com.google.zxing.client.android.BookmarkPickerActivity +
  +
BufferedImageMonochromeBitmapSource - Class in com.google.zxing.client.j2se
An implementation based upon BufferedImage.
BufferedImageMonochromeBitmapSource(BufferedImage) - +Constructor for class com.google.zxing.client.j2se.BufferedImageMonochromeBitmapSource +
Creates an instance that uses the entire given image as a source of pixels to decode. +
BufferedImageMonochromeBitmapSource(BufferedImage, int, int, int, int) - +Constructor for class com.google.zxing.client.j2se.BufferedImageMonochromeBitmapSource +
Creates an instance that uses only a region of the given image as a source of pixels to decode. +
BugBarcodeApp - Class in com.google.zxing.client.bug.app
 
BugBarcodeApp(Frame, ICameraDevice, ICameraModuleControl, IButtonEventProvider) - +Constructor for class com.google.zxing.client.bug.app.BugBarcodeApp +
  +
BugBarcodeServiceTracker - Class in com.google.zxing.client.bug.servicetracker
Service tracker for the BugApp Bundle
BugBarcodeServiceTracker(BundleContext) - +Constructor for class com.google.zxing.client.bug.servicetracker.BugBarcodeServiceTracker +
  +
buildMatrix(BitVector, ErrorCorrectionLevel, int, int, ByteMatrix) - +Static method in class com.google.zxing.qrcode.encoder.MatrixUtil +
  +
button_add_calendar - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_add_contact - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_back - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_book_search - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_cancel - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_clipboard_empty - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_custom_product_search - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_dial - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_done - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_email - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_get_directions - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_mms - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_ok - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_open_browser - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_product_search - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_search_book_contents - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_share_bookmark - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_share_by_email - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_share_by_sms - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_share_clipboard - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_share_contact - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_show_map - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_sms - +Static variable in class com.google.zxing.client.android.R.string +
  +
button_web_search - +Static variable in class com.google.zxing.client.android.R.string +
  +
buttonEvent(ButtonEvent) - +Method in class com.google.zxing.client.bug.app.BugBarcodeApp +
  +
ByQuadrantReader - Class in com.google.zxing.multi
This class attempts to decode a barcode from an image, not by scanning the whole image, + but by scanning subsets of the image.
ByQuadrantReader(Reader) - +Constructor for class com.google.zxing.multi.ByQuadrantReader +
  +
BYTE - +Static variable in class com.google.zxing.qrcode.decoder.Mode +
  +
BYTE_SEGMENTS - +Static variable in class com.google.zxing.ResultMetadataType +
2D barcode formats typically encode text, but allow for a sort of 'byte mode' + which is sometimes used to encode binary data. +
ByteArray - Class in com.google.zxing.common
This class implements an array of unsigned bytes.
ByteArray() - +Constructor for class com.google.zxing.common.ByteArray +
  +
ByteArray(int) - +Constructor for class com.google.zxing.common.ByteArray +
  +
ByteArray(byte[]) - +Constructor for class com.google.zxing.common.ByteArray +
  +
ByteMatrix - Class in com.google.zxing.common
A class which wraps a 2D array of bytes.
ByteMatrix(int, int) - +Constructor for class com.google.zxing.common.ByteMatrix +
  +
+
+

+C

+
+
calculateBCHCode(int, int) - +Static method in class com.google.zxing.qrcode.encoder.MatrixUtil +
  +
CALENDAR - +Static variable in class com.google.zxing.client.result.ParsedResultType +
  +
CalendarParsedResult - Class in com.google.zxing.client.result
 
CalendarParsedResult(String, String, String, String, String, String) - +Constructor for class com.google.zxing.client.result.CalendarParsedResult +
  +
CalendarResultHandler - Class in com.google.zxing.client.android.result
 
CalendarResultHandler(Activity, ParsedResult) - +Constructor for class com.google.zxing.client.android.result.CalendarResultHandler +
  +
capture - +Static variable in class com.google.zxing.client.android.R.layout +
  +
CaptureActivity - Class in com.google.zxing.client.android
The barcode reader activity itself.
CaptureActivity() - +Constructor for class com.google.zxing.client.android.CaptureActivity +
  +
CaptureActivityHandler - Class in com.google.zxing.client.android
This class handles all the messaging which comprises the state machine for capture.
CHARACTER_SET - +Static variable in class com.google.zxing.EncodeHintType +
Specifies what character encoding to use where applicable (type String) +
CharacterSetECI - Class in com.google.zxing.common
Encapsulates a Character Set ECI, according to "Extended Channel Interpretations" 5.3.1.1 + of ISO 18004.
checkAndNudgePoints(MonochromeBitmapSource, float[]) - +Static method in class com.google.zxing.common.GridSampler +
Checks a set of points that have been transformed to sample points on an image against + the image's dimensions to see if the point are even within the image. +
checkChecksum(String) - +Method in class com.google.zxing.oned.UPCEReader +
  +
checkStandardUPCEANChecksum(String) - +Static method in class com.google.zxing.oned.AbstractUPCEANReader +
Computes the UPC/EAN checksum on a string of digits, and reports + whether the checksum is correct or not. +
chooseMode(String) - +Static method in class com.google.zxing.qrcode.encoder.Encoder +
  +
chooseMode(String, String) - +Static method in class com.google.zxing.qrcode.encoder.Encoder +
Choose the best mode by examining the content. +
clear() - +Method in class com.google.zxing.client.rim.persistence.history.DecodeHistory +
Clears the history. +
clear() - +Method in class com.google.zxing.common.BitArray +
Clears all bits (sets to false). +
clear() - +Method in class com.google.zxing.common.BitMatrix +
Clears all bits (sets to false). +
clear(byte) - +Method in class com.google.zxing.common.ByteMatrix +
  +
clearMatrix(ByteMatrix) - +Static method in class com.google.zxing.qrcode.encoder.MatrixUtil +
  +
clipboard_button - +Static variable in class com.google.zxing.client.android.R.id +
  +
close() - +Method in class com.google.zxing.client.android.AndroidHttpClient +
Release resources associated with this client. +
Code128Reader - Class in com.google.zxing.oned
Decodes Code 128 barcodes.
Code128Reader() - +Constructor for class com.google.zxing.oned.Code128Reader +
  +
Code39Reader - Class in com.google.zxing.oned
Decodes Code 39 barcodes.
Code39Reader() - +Constructor for class com.google.zxing.oned.Code39Reader +
Creates a reader that assumes all encoded data is data, and does not treat the final + character as a check digit. +
Code39Reader(boolean) - +Constructor for class com.google.zxing.oned.Code39Reader +
Creates a reader that can be configured to check the last character as a check digit. +
Code39Reader(boolean, boolean) - +Constructor for class com.google.zxing.oned.Code39Reader +
Creates a reader that can be configured to check the last character as a check digit, + or optionally attempt to decode "extended Code 39" sequences that are used to encode + the full ASCII character set. +
CODE_128 - +Static variable in class com.google.zxing.BarcodeFormat +
Code 128 1D format. +
CODE_128 - +Static variable in class com.google.zxing.client.android.Contents.Format +
  +
CODE_39 - +Static variable in class com.google.zxing.BarcodeFormat +
Code 39 1D format. +
CODE_39 - +Static variable in class com.google.zxing.client.android.Contents.Format +
  +
Collections - Class in com.google.zxing.common
This is basically a substitute for java.util.Collections, which is not + present in MIDP 2.0 / CLDC 1.1.
com.google.zxing - package com.google.zxing
 
com.google.zxing.client.android - package com.google.zxing.client.android
 
com.google.zxing.client.android.result - package com.google.zxing.client.android.result
 
com.google.zxing.client.bug - package com.google.zxing.client.bug
 
com.google.zxing.client.bug.app - package com.google.zxing.client.bug.app
 
com.google.zxing.client.bug.servicetracker - package com.google.zxing.client.bug.servicetracker
 
com.google.zxing.client.j2me - package com.google.zxing.client.j2me
 
com.google.zxing.client.j2se - package com.google.zxing.client.j2se
 
com.google.zxing.client.result - package com.google.zxing.client.result
 
com.google.zxing.client.result.optional - package com.google.zxing.client.result.optional
 
com.google.zxing.client.rim - package com.google.zxing.client.rim
 
com.google.zxing.client.rim.persistence - package com.google.zxing.client.rim.persistence
 
com.google.zxing.client.rim.persistence.history - package com.google.zxing.client.rim.persistence.history
 
com.google.zxing.client.rim.util - package com.google.zxing.client.rim.util
 
com.google.zxing.common - package com.google.zxing.common
 
com.google.zxing.common.detector - package com.google.zxing.common.detector
 
com.google.zxing.common.reedsolomon - package com.google.zxing.common.reedsolomon
 
com.google.zxing.datamatrix - package com.google.zxing.datamatrix
 
com.google.zxing.datamatrix.decoder - package com.google.zxing.datamatrix.decoder
 
com.google.zxing.datamatrix.detector - package com.google.zxing.datamatrix.detector
 
com.google.zxing.multi - package com.google.zxing.multi
 
com.google.zxing.multi.qrcode - package com.google.zxing.multi.qrcode
 
com.google.zxing.multi.qrcode.detector - package com.google.zxing.multi.qrcode.detector
 
com.google.zxing.oned - package com.google.zxing.oned
 
com.google.zxing.pdf417 - package com.google.zxing.pdf417
 
com.google.zxing.pdf417.decoder - package com.google.zxing.pdf417.decoder
 
com.google.zxing.pdf417.detector - package com.google.zxing.pdf417.detector
 
com.google.zxing.qrcode - package com.google.zxing.qrcode
 
com.google.zxing.qrcode.decoder - package com.google.zxing.qrcode.decoder
 
com.google.zxing.qrcode.detector - package com.google.zxing.qrcode.detector
 
com.google.zxing.qrcode.encoder - package com.google.zxing.qrcode.encoder
 
com.google.zxing.web - package com.google.zxing.web
 
CommandLineRunner - Class in com.google.zxing.client.j2se
This simple command line utility decodes files, directories of files, or URIs which are passed + as arguments.
Comparator - Interface in com.google.zxing.common
This is merely a clone of Comparator since it is not available in + CLDC 1.1 / MIDP 2.0.
compare(Object, Object) - +Method in interface com.google.zxing.common.Comparator +
  +
CONTACT - +Static variable in class com.google.zxing.client.android.Contents.Type +
A contact. +
contact_button - +Static variable in class com.google.zxing.client.android.R.id +
  +
Contents - Class in com.google.zxing.client.android
 
Contents.Format - Class in com.google.zxing.client.android
All the formats we know about.
Contents.Type - Class in com.google.zxing.client.android
 
contents_contact - +Static variable in class com.google.zxing.client.android.R.string +
  +
contents_email - +Static variable in class com.google.zxing.client.android.R.string +
  +
contents_location - +Static variable in class com.google.zxing.client.android.R.string +
  +
contents_phone - +Static variable in class com.google.zxing.client.android.R.string +
  +
contents_sms - +Static variable in class com.google.zxing.client.android.R.string +
  +
contents_text - +Static variable in class com.google.zxing.client.android.R.color +
  +
contents_text - +Static variable in class com.google.zxing.client.android.R.string +
  +
contents_text_view - +Static variable in class com.google.zxing.client.android.R.id +
  +
contextDestroyed(ServletContextEvent) - +Method in class com.google.zxing.web.DecodeEmailListener +
  +
contextInitialized(ServletContextEvent) - +Method in class com.google.zxing.web.DecodeEmailListener +
  +
convertUPCEtoUPCA(String) - +Static method in class com.google.zxing.oned.UPCEReader +
Expands a UPC-E value back into its full, equivalent UPC-A code value. +
CroppedMonochromeBitmapSource - Class in com.google.zxing.common
Encapulates a cropped region of another MonochromeBitmapSource.
CroppedMonochromeBitmapSource(MonochromeBitmapSource, int, int, int, int) - +Constructor for class com.google.zxing.common.CroppedMonochromeBitmapSource +
Creates an instance that uses only a region of the given image as a source of pixels to decode. +
crossProductZ(ResultPoint, ResultPoint, ResultPoint) - +Static method in class com.google.zxing.ResultPoint +
Returns the z component of the cross product between vectors BC and BA. +
+
+

+D

+
+
DATA - +Static variable in class com.google.zxing.client.android.Intents.Encode +
The data to encode. +
DATA_MATRIX_FIELD - +Static variable in class com.google.zxing.common.reedsolomon.GF256 +
  +
DATAMATRIX - +Static variable in class com.google.zxing.BarcodeFormat +
DataMatrix 2D barcode format. +
DataMatrixReader - Class in com.google.zxing.datamatrix
This implementation can detect and decode Data Matrix codes in an image.
DataMatrixReader() - +Constructor for class com.google.zxing.datamatrix.DataMatrixReader +
  +
debug(String) - +Static method in class com.google.zxing.client.rim.util.Log +
Logs the given message at the debug level. +
decode - +Static variable in class com.google.zxing.client.android.R.id +
  +
decode(String) - +Static method in class com.google.zxing.client.rim.util.URLDecoder +
  +
decode(int[], int) - +Method in class com.google.zxing.common.reedsolomon.ReedSolomonDecoder +
Decodes given set of received codewords, which include both data and error-correction + codewords. +
decode(MonochromeBitmapSource) - +Method in class com.google.zxing.datamatrix.DataMatrixReader +
Locates and decodes a Data Matrix code in an image. +
decode(MonochromeBitmapSource, Hashtable) - +Method in class com.google.zxing.datamatrix.DataMatrixReader +
  +
decode(boolean[][]) - +Method in class com.google.zxing.datamatrix.decoder.Decoder +
Convenience method that can decode a Data Matrix Code represented as a 2D array of booleans. +
decode(BitMatrix) - +Method in class com.google.zxing.datamatrix.decoder.Decoder +
Decodes a Data Matrix Code represented as a BitMatrix. +
decode(MonochromeBitmapSource) - +Method in class com.google.zxing.multi.ByQuadrantReader +
  +
decode(MonochromeBitmapSource, Hashtable) - +Method in class com.google.zxing.multi.ByQuadrantReader +
  +
decode(MonochromeBitmapSource) - +Method in class com.google.zxing.MultiFormatReader +
This version of decode honors the intent of Reader.decode(MonochromeBitmapSource) in that it + passes null as a hint to the decoders. +
decode(MonochromeBitmapSource, Hashtable) - +Method in class com.google.zxing.MultiFormatReader +
Decode an image using the hints provided. +
decode(MonochromeBitmapSource) - +Method in class com.google.zxing.oned.AbstractOneDReader +
  +
decode(MonochromeBitmapSource, Hashtable) - +Method in class com.google.zxing.oned.AbstractOneDReader +
  +
decode(MonochromeBitmapSource) - +Method in class com.google.zxing.oned.UPCAReader +
  +
decode(MonochromeBitmapSource, Hashtable) - +Method in class com.google.zxing.oned.UPCAReader +
  +
decode(boolean[][]) - +Method in class com.google.zxing.pdf417.decoder.Decoder +
Convenience method that can decode a PDF417 Code represented as a 2D array of booleans. +
decode(BitMatrix) - +Method in class com.google.zxing.pdf417.decoder.Decoder +
Decodes a PDF417 Code represented as a BitMatrix. +
decode(MonochromeBitmapSource) - +Method in class com.google.zxing.pdf417.PDF417Reader +
Locates and decodes a PDF417 code in an image. +
decode(MonochromeBitmapSource, Hashtable) - +Method in class com.google.zxing.pdf417.PDF417Reader +
  +
decode(boolean[][]) - +Method in class com.google.zxing.qrcode.decoder.Decoder +
Convenience method that can decode a QR Code represented as a 2D array of booleans. +
decode(BitMatrix) - +Method in class com.google.zxing.qrcode.decoder.Decoder +
Decodes a QR Code represented as a BitMatrix. +
decode(MonochromeBitmapSource) - +Method in class com.google.zxing.qrcode.QRCodeReader +
Locates and decodes a QR code in an image. +
decode(MonochromeBitmapSource, Hashtable) - +Method in class com.google.zxing.qrcode.QRCodeReader +
  +
decode(MonochromeBitmapSource) - +Method in interface com.google.zxing.Reader +
Locates and decodes a barcode in some format within an image. +
decode(MonochromeBitmapSource, Hashtable) - +Method in interface com.google.zxing.Reader +
Locates and decodes a barcode in some format within an image. +
decode_failed - +Static variable in class com.google.zxing.client.android.R.id +
  +
decode_succeeded - +Static variable in class com.google.zxing.client.android.R.id +
  +
DecodeEmailListener - Class in com.google.zxing.web
 
DecodeEmailListener() - +Constructor for class com.google.zxing.web.DecodeEmailListener +
  +
decodeEnd(BitArray, int) - +Method in class com.google.zxing.oned.UPCEReader +
  +
DecodeHintType - Class in com.google.zxing
Encapsulates a type of hint that a caller may pass to a barcode reader to help it + more quickly or accurately decode it.
DecodeHistory - Class in com.google.zxing.client.rim.persistence.history
Singleton used to persist the history of qrcode URLs decoded by the client.
DecodeHistoryItem - Class in com.google.zxing.client.rim.persistence.history
A single decoded history item that is stored by the decode history.
DecodeHistoryItem(String) - +Constructor for class com.google.zxing.client.rim.persistence.history.DecodeHistoryItem +
  +
decodeMiddle(BitArray, int[], StringBuffer) - +Method in class com.google.zxing.oned.AbstractUPCEANReader +
Subclasses override this to decode the portion of a barcode between the start and end guard patterns. +
decodeMiddle(BitArray, int[], StringBuffer) - +Method in class com.google.zxing.oned.EAN13Reader +
  +
decodeMiddle(BitArray, int[], StringBuffer) - +Method in class com.google.zxing.oned.EAN8Reader +
  +
decodeMiddle(BitArray, int[], StringBuffer) - +Method in class com.google.zxing.oned.UPCEReader +
  +
decodeMultiple(MonochromeBitmapSource) - +Method in class com.google.zxing.multi.GenericMultipleBarcodeReader +
  +
decodeMultiple(MonochromeBitmapSource, Hashtable) - +Method in class com.google.zxing.multi.GenericMultipleBarcodeReader +
  +
decodeMultiple(MonochromeBitmapSource) - +Method in interface com.google.zxing.multi.MultipleBarcodeReader +
  +
decodeMultiple(MonochromeBitmapSource, Hashtable) - +Method in interface com.google.zxing.multi.MultipleBarcodeReader +
  +
decodeMultiple(MonochromeBitmapSource) - +Method in class com.google.zxing.multi.qrcode.QRCodeMultiReader +
  +
decodeMultiple(MonochromeBitmapSource, Hashtable) - +Method in class com.google.zxing.multi.qrcode.QRCodeMultiReader +
  +
Decoder - Class in com.google.zxing.datamatrix.decoder
The main class which implements Data Matrix Code decoding -- as opposed to locating and extracting + the Data Matrix Code from an image.
Decoder() - +Constructor for class com.google.zxing.datamatrix.decoder.Decoder +
  +
Decoder - Class in com.google.zxing.pdf417.decoder
The main class which implements PDF417 Code decoding -- as + opposed to locating and extracting the PDF417 Code from an image.
Decoder() - +Constructor for class com.google.zxing.pdf417.decoder.Decoder +
  +
Decoder - Class in com.google.zxing.qrcode.decoder
The main class which implements QR Code decoding -- as opposed to locating and extracting + the QR Code from an image.
Decoder() - +Constructor for class com.google.zxing.qrcode.decoder.Decoder +
  +
decodeRow(int, BitArray, Hashtable) - +Method in class com.google.zxing.oned.AbstractOneDReader +
  +
decodeRow(int, BitArray, Hashtable) - +Method in class com.google.zxing.oned.AbstractUPCEANReader +
  +
decodeRow(int, BitArray, int[]) - +Method in class com.google.zxing.oned.AbstractUPCEANReader +
  +
decodeRow(int, BitArray, Hashtable) - +Method in class com.google.zxing.oned.Code128Reader +
  +
decodeRow(int, BitArray, Hashtable) - +Method in class com.google.zxing.oned.Code39Reader +
  +
decodeRow(int, BitArray, Hashtable) - +Method in class com.google.zxing.oned.ITFReader +
  +
decodeRow(int, BitArray, Hashtable) - +Method in class com.google.zxing.oned.MultiFormatOneDReader +
  +
decodeRow(int, BitArray, Hashtable) - +Method in class com.google.zxing.oned.MultiFormatUPCEANReader +
  +
decodeRow(int, BitArray, Hashtable) - +Method in interface com.google.zxing.oned.OneDReader +
Attempts to decode a one-dimensional barcode format given a single row of + an image. +
decodeRow(int, BitArray, int[]) - +Method in class com.google.zxing.oned.UPCAReader +
  +
decodeRow(int, BitArray, Hashtable) - +Method in class com.google.zxing.oned.UPCAReader +
  +
decodeRow(int, BitArray, int[]) - +Method in interface com.google.zxing.oned.UPCEANReader +
Like OneDReader.decodeRow(int, BitArray, java.util.Hashtable), but + allows caller to inform method about where the UPC/EAN start pattern is + found. +
DecoderResult - Class in com.google.zxing.common
Encapsulates the result of decoding a matrix of bits.
DecoderResult(byte[], String, Vector) - +Constructor for class com.google.zxing.common.DecoderResult +
  +
DecodeServlet - Class in com.google.zxing.web
HttpServlet which decodes images containing barcodes.
DecodeServlet() - +Constructor for class com.google.zxing.web.DecodeServlet +
  +
decodeWithState(MonochromeBitmapSource) - +Method in class com.google.zxing.MultiFormatReader +
Decode an image using the state set up by calling setHints() previously. +
DefaultGridSampler - Class in com.google.zxing.common
 
DefaultGridSampler() - +Constructor for class com.google.zxing.common.DefaultGridSampler +
  +
DEPRECATED_ACTION - +Static variable in class com.google.zxing.client.android.Intents.Encode +
  +
DEPRECATED_ACTION - +Static variable in class com.google.zxing.client.android.Intents.Scan +
  +
DEPRECATED_ACTION - +Static variable in class com.google.zxing.client.android.Intents.SearchBookContents +
  +
destroy() - +Method in class com.google.zxing.web.DecodeServlet +
  +
destroy() - +Method in class com.google.zxing.web.DoSFilter +
  +
destroyApp(boolean) - +Method in class com.google.zxing.client.j2me.ZXingMIDlet +
  +
detect() - +Method in class com.google.zxing.common.detector.MonochromeRectangleDetector +
Detects a rectangular region of black and white -- mostly black -- with a region of mostly + white, in an image. +
detect() - +Method in class com.google.zxing.datamatrix.detector.Detector +
Detects a Data Matrix Code in an image. +
detect() - +Method in class com.google.zxing.pdf417.detector.Detector +
+ Detects a PDF417 Code in an image, simply. +
detect(Hashtable) - +Method in class com.google.zxing.pdf417.detector.Detector +
+ Detects a PDF417 Code in an image, simply. +
detect() - +Method in class com.google.zxing.qrcode.detector.Detector +
Detects a QR Code in an image, simply. +
detect(Hashtable) - +Method in class com.google.zxing.qrcode.detector.Detector +
Detects a QR Code in an image, simply. +
detectMulti(Hashtable) - +Method in class com.google.zxing.multi.qrcode.detector.MultiDetector +
  +
Detector - Class in com.google.zxing.datamatrix.detector
Encapsulates logic that can detect a Data Matrix Code in an image, even if the Data Matrix Code + is rotated or skewed, or partially obscured.
Detector(MonochromeBitmapSource) - +Constructor for class com.google.zxing.datamatrix.detector.Detector +
  +
Detector - Class in com.google.zxing.pdf417.detector
+ Encapsulates logic that can detect a PDF417 Code in an image, even if the + PDF417 Code is rotated or skewed, or partially obscured.
Detector(MonochromeBitmapSource) - +Constructor for class com.google.zxing.pdf417.detector.Detector +
  +
Detector - Class in com.google.zxing.qrcode.detector
Encapsulates logic that can detect a QR Code in an image, even if the QR Code + is rotated or skewed, or partially obscured.
Detector(MonochromeBitmapSource) - +Constructor for class com.google.zxing.qrcode.detector.Detector +
  +
DetectorResult - Class in com.google.zxing.common
Encapsulates the result of detecting a barcode in an image.
DetectorResult(BitMatrix, ResultPoint[]) - +Constructor for class com.google.zxing.common.DetectorResult +
  +
dialPhone(String) - +Method in class com.google.zxing.client.android.result.ResultHandler +
  +
dialPhoneFromUri(String) - +Method in class com.google.zxing.client.android.result.ResultHandler +
  +
distance(ResultPoint, ResultPoint) - +Static method in class com.google.zxing.ResultPoint +
  +
doFilter(ServletRequest, ServletResponse, FilterChain) - +Method in class com.google.zxing.web.DoSFilter +
  +
doGet(HttpServletRequest, HttpServletResponse) - +Method in class com.google.zxing.web.DecodeServlet +
  +
done_button - +Static variable in class com.google.zxing.client.android.R.id +
  +
doPost(HttpServletRequest, HttpServletResponse) - +Method in class com.google.zxing.web.DecodeServlet +
  +
DoSFilter - Class in com.google.zxing.web
A Filter that rejects requests from hosts that are sending too many + requests in too short a time.
DoSFilter() - +Constructor for class com.google.zxing.web.DoSFilter +
  +
doStart() - +Method in class com.google.zxing.client.bug.servicetracker.BugBarcodeServiceTracker +
  +
doStop() - +Method in class com.google.zxing.client.bug.servicetracker.BugBarcodeServiceTracker +
Called when a service that this application depends is unregistered. +
drawResultBitmap(Bitmap) - +Method in class com.google.zxing.client.android.ViewfinderView +
Draw a bitmap with the result points highlighted instead of the live scanning display. +
drawViewfinder() - +Method in class com.google.zxing.client.android.CaptureActivity +
  +
drawViewfinder() - +Method in class com.google.zxing.client.android.ViewfinderView +
  +
+
+

+E

+
+
EAN13Reader - Class in com.google.zxing.oned
Implements decoding of the EAN-13 format.
EAN13Reader() - +Constructor for class com.google.zxing.oned.EAN13Reader +
  +
EAN13Writer - Class in com.google.zxing.oned
This object renders an EAN13 code as a ByteMatrix 2D array of greyscale + values.
EAN13Writer() - +Constructor for class com.google.zxing.oned.EAN13Writer +
  +
EAN8Reader - Class in com.google.zxing.oned
Implements decoding of the EAN-8 format.
EAN8Reader() - +Constructor for class com.google.zxing.oned.EAN8Reader +
  +
EAN8Writer - Class in com.google.zxing.oned
This object renders an EAN8 code as a ByteMatrix 2D array of greyscale + values.
EAN8Writer() - +Constructor for class com.google.zxing.oned.EAN8Writer +
  +
EAN_13 - +Static variable in class com.google.zxing.BarcodeFormat +
EAN-13 1D format. +
EAN_13 - +Static variable in class com.google.zxing.client.android.Contents.Format +
  +
EAN_8 - +Static variable in class com.google.zxing.BarcodeFormat +
EAN-8 1D format. +
EAN_8 - +Static variable in class com.google.zxing.client.android.Contents.Format +
  +
ECI - Class in com.google.zxing.common
Superclass of classes encapsulating types ECIs, according to "Extended Channel Interpretations" + 5.3 of ISO 18004.
ECI - +Static variable in class com.google.zxing.qrcode.decoder.Mode +
  +
EMAIL - +Static variable in class com.google.zxing.client.android.Contents.Type +
An email type. +
EMAIL_ADDRESS - +Static variable in class com.google.zxing.client.result.ParsedResultType +
  +
EMAIL_KEYS - +Static variable in class com.google.zxing.client.android.Contents +
  +
EmailAddressParsedResult - Class in com.google.zxing.client.result
 
EmailAddressResultHandler - Class in com.google.zxing.client.android.result
 
EmailAddressResultHandler(Activity, ParsedResult) - +Constructor for class com.google.zxing.client.android.result.EmailAddressResultHandler +
  +
embedBasicPatterns(int, ByteMatrix) - +Static method in class com.google.zxing.qrcode.encoder.MatrixUtil +
  +
embedDataBits(BitVector, int, ByteMatrix) - +Static method in class com.google.zxing.qrcode.encoder.MatrixUtil +
  +
embedTypeInfo(ErrorCorrectionLevel, int, ByteMatrix) - +Static method in class com.google.zxing.qrcode.encoder.MatrixUtil +
  +
empty() - +Method in class com.google.zxing.common.ByteArray +
  +
encode - +Static variable in class com.google.zxing.client.android.R.layout +
  +
encode(int[], int) - +Method in class com.google.zxing.common.reedsolomon.ReedSolomonEncoder +
  +
encode(String, BarcodeFormat, int, int) - +Method in class com.google.zxing.MultiFormatWriter +
  +
encode(String, BarcodeFormat, int, int, Hashtable) - +Method in class com.google.zxing.MultiFormatWriter +
  +
encode(String, BarcodeFormat, int, int) - +Method in class com.google.zxing.oned.AbstractUPCEANWriter +
  +
encode(String, BarcodeFormat, int, int, Hashtable) - +Method in class com.google.zxing.oned.AbstractUPCEANWriter +
  +
encode(String, BarcodeFormat, int, int, Hashtable) - +Method in class com.google.zxing.oned.EAN13Writer +
  +
encode(String) - +Method in class com.google.zxing.oned.EAN13Writer +
  +
encode(String, BarcodeFormat, int, int, Hashtable) - +Method in class com.google.zxing.oned.EAN8Writer +
  +
encode(String) - +Method in class com.google.zxing.oned.EAN8Writer +
  +
encode(String) - +Method in interface com.google.zxing.oned.UPCEANWriter +
  +
encode(String, ErrorCorrectionLevel, QRCode) - +Static method in class com.google.zxing.qrcode.encoder.Encoder +
Encode "bytes" with the error correction level "ecLevel". +
encode(String, ErrorCorrectionLevel, Hashtable, QRCode) - +Static method in class com.google.zxing.qrcode.encoder.Encoder +
  +
encode(String, BarcodeFormat, int, int) - +Method in class com.google.zxing.qrcode.QRCodeWriter +
  +
encode(String, BarcodeFormat, int, int, Hashtable) - +Method in class com.google.zxing.qrcode.QRCodeWriter +
  +
encode(String, BarcodeFormat, int, int) - +Method in interface com.google.zxing.Writer +
Encode a barcode using the default settings. +
encode(String, BarcodeFormat, int, int, Hashtable) - +Method in interface com.google.zxing.Writer +
  +
encode_failed - +Static variable in class com.google.zxing.client.android.R.id +
  +
encode_succeeded - +Static variable in class com.google.zxing.client.android.R.id +
  +
encode_view - +Static variable in class com.google.zxing.client.android.R.color +
  +
encode_view - +Static variable in class com.google.zxing.client.android.R.id +
  +
EncodeActivity - Class in com.google.zxing.client.android
This class encodes data from an Intent into a QR code, and then displays it full screen so that + another person can scan it with their device.
EncodeActivity() - +Constructor for class com.google.zxing.client.android.EncodeActivity +
  +
EncodeHintType - Class in com.google.zxing
These are a set of hints that you may pass to Writers to specify their behavior.
Encoder - Class in com.google.zxing.qrcode.encoder
 
equals(Object) - +Method in class com.google.zxing.ResultPoint +
  +
error(String) - +Static method in class com.google.zxing.client.rim.util.Log +
Logs the given message at the error level. +
ERROR_CORRECTION - +Static variable in class com.google.zxing.EncodeHintType +
Specifies what degree of error correction to use, for example in QR Codes (type Integer). +
ErrorCorrectionLevel - Class in com.google.zxing.qrcode.decoder
See ISO 18004:2006, 6.5.1.
estimate(MonochromeBitmapSource, BlackPointEstimationMethod, int) - +Static method in class com.google.zxing.common.BlackPointEstimator +
Calculates the black point for the supplied bitmap. +
estimateBlackPoint(BlackPointEstimationMethod, int) - +Method in class com.google.zxing.common.BaseMonochromeBitmapSource +
  +
estimateBlackPoint(BlackPointEstimationMethod, int) - +Method in class com.google.zxing.common.CroppedMonochromeBitmapSource +
  +
estimateBlackPoint(BlackPointEstimationMethod, int) - +Method in interface com.google.zxing.MonochromeBitmapSource +
Estimates black point according to the given method, which is optionally parameterized by + a single int argument. +
execute(HttpUriRequest) - +Method in class com.google.zxing.client.android.AndroidHttpClient +
  +
execute(HttpUriRequest, HttpContext) - +Method in class com.google.zxing.client.android.AndroidHttpClient +
  +
execute(HttpHost, HttpRequest) - +Method in class com.google.zxing.client.android.AndroidHttpClient +
  +
execute(HttpHost, HttpRequest, HttpContext) - +Method in class com.google.zxing.client.android.AndroidHttpClient +
  +
execute(HttpUriRequest, ResponseHandler<? extends T>) - +Method in class com.google.zxing.client.android.AndroidHttpClient +
  +
execute(HttpUriRequest, ResponseHandler<? extends T>, HttpContext) - +Method in class com.google.zxing.client.android.AndroidHttpClient +
  +
execute(HttpHost, HttpRequest, ResponseHandler<? extends T>) - +Method in class com.google.zxing.client.android.AndroidHttpClient +
  +
execute(HttpHost, HttpRequest, ResponseHandler<? extends T>, HttpContext) - +Method in class com.google.zxing.client.android.AndroidHttpClient +
  +
+
+

+F

+
+
fillInStackTrace() - +Method in exception com.google.zxing.ReaderException +
  +
findBestValley(int[]) - +Static method in class com.google.zxing.common.BlackPointEstimator +
Given an array of counts of luminance values (i.e. +
FinderPattern - Class in com.google.zxing.qrcode.detector
Encapsulates a finder pattern, which are the three square patterns found in + the corners of QR Codes.
FinderPatternFinder - Class in com.google.zxing.qrcode.detector
This class attempts to find finder patterns in a QR Code.
FinderPatternFinder(MonochromeBitmapSource) - +Constructor for class com.google.zxing.qrcode.detector.FinderPatternFinder +
Creates a finder that will search the image for three finder patterns. +
FinderPatternInfo - Class in com.google.zxing.qrcode.detector
Encapsulates information about finder patterns in an image, including the location of + the three finder patterns, and their estimated module size.
FinderPatternInfo(FinderPattern[]) - +Constructor for class com.google.zxing.qrcode.detector.FinderPatternInfo +
  +
findMSBSet(int) - +Static method in class com.google.zxing.qrcode.encoder.MatrixUtil +
  +
finished() - +Method in class com.google.zxing.client.rim.util.ReasonableTimer +
Stops the timing. +
FIRST_DIGIT_ENCODINGS - +Static variable in class com.google.zxing.oned.EAN13Reader +
  +
flip(int) - +Method in class com.google.zxing.common.BitArray +
Flips bit i. +
flip(int, int) - +Method in class com.google.zxing.common.BitMatrix +
Flips the given bit. +
FNC1_FIRST_POSITION - +Static variable in class com.google.zxing.qrcode.decoder.Mode +
  +
FNC1_SECOND_POSITION - +Static variable in class com.google.zxing.qrcode.decoder.Mode +
  +
forBits(int) - +Static method in class com.google.zxing.qrcode.decoder.ErrorCorrectionLevel +
  +
forBits(int) - +Static method in class com.google.zxing.qrcode.decoder.Mode +
  +
FORMAT - +Static variable in class com.google.zxing.client.android.Intents.Encode +
The barcode format to be displayed. +
format_text_view - +Static variable in class com.google.zxing.client.android.R.id +
  +
foundPatternCross(int[]) - +Static method in class com.google.zxing.qrcode.detector.FinderPatternFinder +
  +
+
+

+G

+
+
GenericMultipleBarcodeReader - Class in com.google.zxing.multi
Attempts to locate multiple barcodes in an image by repeatedly decoding portion of the image.
GenericMultipleBarcodeReader(Reader) - +Constructor for class com.google.zxing.multi.GenericMultipleBarcodeReader +
  +
GEO - +Static variable in class com.google.zxing.client.result.ParsedResultType +
  +
GeoParsedResult - Class in com.google.zxing.client.result
 
GeoResultHandler - Class in com.google.zxing.client.android.result
 
GeoResultHandler(Activity, ParsedResult) - +Constructor for class com.google.zxing.client.android.result.GeoResultHandler +
  +
get(int) - +Method in class com.google.zxing.common.BitArray +
  +
get(int, int) - +Method in class com.google.zxing.common.BitMatrix +
Gets the requested bit, where true means black. +
get(int, int) - +Method in class com.google.zxing.common.ByteMatrix +
  +
getAction() - +Method in class com.google.zxing.client.result.optional.MobileTagRichWebParsedResult +
  +
getAction() - +Method in class com.google.zxing.client.result.optional.NDEFSmartPosterParsedResult +
  +
getAddress() - +Method in class com.google.zxing.client.result.AddressBookParsedResult +
  +
getAlignmentPatternCenters() - +Method in class com.google.zxing.qrcode.decoder.Version +
  +
getAltitude() - +Method in class com.google.zxing.client.result.GeoParsedResult +
  +
getArray() - +Method in class com.google.zxing.common.ByteMatrix +
  +
getArray() - +Method in class com.google.zxing.qrcode.encoder.BitVector +
  +
getAttendee() - +Method in class com.google.zxing.client.result.CalendarParsedResult +
  +
getBarcodeFormat() - +Method in class com.google.zxing.Result +
  +
getBirthday() - +Method in class com.google.zxing.client.result.AddressBookParsedResult +
  +
getBitArray() - +Method in class com.google.zxing.common.BitArray +
  +
getBits() - +Method in class com.google.zxing.common.DetectorResult +
  +
getBits() - +Method in class com.google.zxing.qrcode.decoder.ErrorCorrectionLevel +
  +
getBits() - +Method in class com.google.zxing.qrcode.decoder.Mode +
  +
getBlackColumn(int, BitArray, int, int) - +Method in class com.google.zxing.common.BaseMonochromeBitmapSource +
  +
getBlackColumn(int, BitArray, int, int) - +Method in class com.google.zxing.common.CroppedMonochromeBitmapSource +
  +
getBlackColumn(int, BitArray, int, int) - +Method in interface com.google.zxing.MonochromeBitmapSource +
Entirely analogous to MonochromeBitmapSource.getBlackRow(int, BitArray, int, int) but gets a column. +
getBlackDiagonal(int, int, int, int, BitArray, int) - +Method in class com.google.zxing.common.BaseMonochromeBitmapSource +
  +
getBlackDiagonal(int, int, int, int, BitArray, int) - +Method in class com.google.zxing.common.CroppedMonochromeBitmapSource +
  +
getBlackDiagonal(int, int, int, int, BitArray, int) - +Method in interface com.google.zxing.MonochromeBitmapSource +
  +
getBlackRow(int, BitArray, int, int) - +Method in class com.google.zxing.common.BaseMonochromeBitmapSource +
  +
getBlackRow(int, BitArray, int, int) - +Method in class com.google.zxing.common.CroppedMonochromeBitmapSource +
  +
getBlackRow(int, BitArray, int, int) - +Method in interface com.google.zxing.MonochromeBitmapSource +
Returns an entire row of black/white pixels as an array of bits, where "true" means "black". +
getBody() - +Method in class com.google.zxing.client.result.EmailAddressParsedResult +
  +
getBody() - +Method in class com.google.zxing.client.result.SMSParsedResult +
  +
getBookSearchCountryTLD() - +Static method in class com.google.zxing.client.android.LocaleManager +
The same as above, but specifically for Google Book Search. +
getBooleanItem(String) - +Method in class com.google.zxing.client.rim.persistence.AppSettings +
Gets a particular boolean type settings object by name. +
getBottomLeft() - +Method in class com.google.zxing.qrcode.detector.FinderPatternInfo +
  +
getButtonCount() - +Method in class com.google.zxing.client.android.result.AddressBookResultHandler +
  +
getButtonCount() - +Method in class com.google.zxing.client.android.result.CalendarResultHandler +
  +
getButtonCount() - +Method in class com.google.zxing.client.android.result.EmailAddressResultHandler +
  +
getButtonCount() - +Method in class com.google.zxing.client.android.result.GeoResultHandler +
  +
getButtonCount() - +Method in class com.google.zxing.client.android.result.ISBNResultHandler +
  +
getButtonCount() - +Method in class com.google.zxing.client.android.result.ProductResultHandler +
  +
getButtonCount() - +Method in class com.google.zxing.client.android.result.ResultHandler +
Indicates how many buttons the derived class wants shown. +
getButtonCount() - +Method in class com.google.zxing.client.android.result.SMSResultHandler +
  +
getButtonCount() - +Method in class com.google.zxing.client.android.result.TelResultHandler +
  +
getButtonCount() - +Method in class com.google.zxing.client.android.result.TextResultHandler +
  +
getButtonCount() - +Method in class com.google.zxing.client.android.result.URIResultHandler +
  +
getButtonText(int) - +Method in class com.google.zxing.client.android.result.AddressBookResultHandler +
  +
getButtonText(int) - +Method in class com.google.zxing.client.android.result.CalendarResultHandler +
  +
getButtonText(int) - +Method in class com.google.zxing.client.android.result.EmailAddressResultHandler +
  +
getButtonText(int) - +Method in class com.google.zxing.client.android.result.GeoResultHandler +
  +
getButtonText(int) - +Method in class com.google.zxing.client.android.result.ISBNResultHandler +
  +
getButtonText(int) - +Method in class com.google.zxing.client.android.result.ProductResultHandler +
  +
getButtonText(int) - +Method in class com.google.zxing.client.android.result.ResultHandler +
The text of the nth action button. +
getButtonText(int) - +Method in class com.google.zxing.client.android.result.SMSResultHandler +
  +
getButtonText(int) - +Method in class com.google.zxing.client.android.result.TelResultHandler +
  +
getButtonText(int) - +Method in class com.google.zxing.client.android.result.TextResultHandler +
  +
getButtonText(int) - +Method in class com.google.zxing.client.android.result.URIResultHandler +
  +
getByteSegments() - +Method in class com.google.zxing.common.DecoderResult +
  +
getCharacterCountBits(Version) - +Method in class com.google.zxing.qrcode.decoder.Mode +
  +
getCharacterSetECIByName(String) - +Static method in class com.google.zxing.common.CharacterSetECI +
  +
getCharacterSetECIByValue(int) - +Static method in class com.google.zxing.common.CharacterSetECI +
  +
getConnectionManager() - +Method in class com.google.zxing.client.android.AndroidHttpClient +
  +
getContents() - +Method in class com.google.zxing.client.android.QRCodeEncoder +
  +
getCount() - +Method in class com.google.zxing.qrcode.decoder.Version.ECB +
  +
getCountryTLD() - +Static method in class com.google.zxing.client.android.LocaleManager +
  +
getDataCodewords() - +Method in class com.google.zxing.qrcode.decoder.Version.ECB +
  +
getDataMaskBit(int, int, int) - +Static method in class com.google.zxing.qrcode.encoder.MaskUtil +
  +
getDataRegionSizeColumns() - +Method in class com.google.zxing.datamatrix.decoder.Version +
  +
getDataRegionSizeRows() - +Method in class com.google.zxing.datamatrix.decoder.Version +
  +
getDate() - +Method in class com.google.zxing.client.rim.persistence.history.DecodeHistoryItem +
  +
getDecoder() - +Method in class com.google.zxing.qrcode.QRCodeReader +
  +
getDimension() - +Method in class com.google.zxing.common.BitMatrix +
This method is for compatibility with older code. +
getDimensionForVersion() - +Method in class com.google.zxing.qrcode.decoder.Version +
  +
getDirections(double, double) - +Method in class com.google.zxing.client.android.result.ResultHandler +
  +
getDisplayContents() - +Method in class com.google.zxing.client.android.QRCodeEncoder +
  +
getDisplayContents() - +Method in class com.google.zxing.client.android.result.AddressBookResultHandler +
  +
getDisplayContents() - +Method in class com.google.zxing.client.android.result.CalendarResultHandler +
  +
getDisplayContents() - +Method in class com.google.zxing.client.android.result.ResultHandler +
Create a possibly styled string for the contents of the current barcode. +
getDisplayContents() - +Method in class com.google.zxing.client.android.result.SMSResultHandler +
  +
getDisplayContents() - +Method in class com.google.zxing.client.android.result.TelResultHandler +
  +
getDisplayResult() - +Method in class com.google.zxing.client.android.result.AndroidIntentParsedResult +
  +
getDisplayResult() - +Method in class com.google.zxing.client.result.AddressBookParsedResult +
  +
getDisplayResult() - +Method in class com.google.zxing.client.result.CalendarParsedResult +
  +
getDisplayResult() - +Method in class com.google.zxing.client.result.EmailAddressParsedResult +
  +
getDisplayResult() - +Method in class com.google.zxing.client.result.GeoParsedResult +
  +
getDisplayResult() - +Method in class com.google.zxing.client.result.ISBNParsedResult +
  +
getDisplayResult() - +Method in class com.google.zxing.client.result.optional.MobileTagRichWebParsedResult +
  +
getDisplayResult() - +Method in class com.google.zxing.client.result.optional.NDEFSmartPosterParsedResult +
  +
getDisplayResult() - +Method in class com.google.zxing.client.result.ParsedResult +
  +
getDisplayResult() - +Method in class com.google.zxing.client.result.ProductParsedResult +
  +
getDisplayResult() - +Method in class com.google.zxing.client.result.SMSParsedResult +
  +
getDisplayResult() - +Method in class com.google.zxing.client.result.TelParsedResult +
  +
getDisplayResult() - +Method in class com.google.zxing.client.result.TextParsedResult +
  +
getDisplayResult() - +Method in class com.google.zxing.client.result.URIParsedResult +
  +
getDisplayTitle() - +Method in class com.google.zxing.client.android.result.AddressBookResultHandler +
  +
getDisplayTitle() - +Method in class com.google.zxing.client.android.result.CalendarResultHandler +
  +
getDisplayTitle() - +Method in class com.google.zxing.client.android.result.EmailAddressResultHandler +
  +
getDisplayTitle() - +Method in class com.google.zxing.client.android.result.GeoResultHandler +
  +
getDisplayTitle() - +Method in class com.google.zxing.client.android.result.ISBNResultHandler +
  +
getDisplayTitle() - +Method in class com.google.zxing.client.android.result.ProductResultHandler +
  +
getDisplayTitle() - +Method in class com.google.zxing.client.android.result.ResultHandler +
A string describing the kind of barcode that was found, e.g. +
getDisplayTitle() - +Method in class com.google.zxing.client.android.result.SMSResultHandler +
  +
getDisplayTitle() - +Method in class com.google.zxing.client.android.result.TelResultHandler +
  +
getDisplayTitle() - +Method in class com.google.zxing.client.android.result.TextResultHandler +
  +
getDisplayTitle() - +Method in class com.google.zxing.client.android.result.URIResultHandler +
  +
getECBlocks() - +Method in class com.google.zxing.qrcode.decoder.Version.ECBlocks +
  +
getECBlocksForLevel(ErrorCorrectionLevel) - +Method in class com.google.zxing.qrcode.decoder.Version +
  +
getECCodewordsPerBlock() - +Method in class com.google.zxing.qrcode.decoder.Version.ECBlocks +
  +
getECIByValue(int) - +Static method in class com.google.zxing.common.ECI +
  +
getECLevel() - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
getEmailAddress() - +Method in class com.google.zxing.client.result.EmailAddressParsedResult +
  +
getEmails() - +Method in class com.google.zxing.client.result.AddressBookParsedResult +
  +
getEncodingName() - +Method in class com.google.zxing.common.CharacterSetECI +
  +
getEnd() - +Method in class com.google.zxing.client.result.CalendarParsedResult +
  +
getEstimatedModuleSize() - +Method in class com.google.zxing.qrcode.detector.FinderPattern +
  +
getFormat() - +Method in class com.google.zxing.client.android.QRCodeEncoder +
  +
getGeoURI() - +Method in class com.google.zxing.client.result.GeoParsedResult +
  +
getHeight() - +Method in class com.google.zxing.common.BaseMonochromeBitmapSource +
  +
getHeight() - +Method in class com.google.zxing.common.BitMatrix +
  +
getHeight() - +Method in class com.google.zxing.common.CroppedMonochromeBitmapSource +
  +
getHeight() - +Method in interface com.google.zxing.MonochromeBitmapSource +
  +
getId() - +Method in class com.google.zxing.client.result.optional.MobileTagRichWebParsedResult +
  +
getImage() - +Method in class com.google.zxing.client.bug.ImageCanvas +
  +
getImage() - +Method in class com.google.zxing.client.j2se.BufferedImageMonochromeBitmapSource +
  +
getImage() - +Method in class com.google.zxing.qrcode.detector.Detector +
  +
getImage() - +Method in class com.google.zxing.qrcode.detector.FinderPatternFinder +
  +
getInstance() - +Static method in class com.google.zxing.client.rim.persistence.AppSettings +
  +
getInstance() - +Static method in class com.google.zxing.client.rim.persistence.history.DecodeHistory +
Returns the single instance of this class. +
getInstance() - +Static method in class com.google.zxing.common.GridSampler +
  +
getInstance() - +Static method in exception com.google.zxing.ReaderException +
  +
getIntent() - +Method in class com.google.zxing.client.android.result.AndroidIntentParsedResult +
  +
getISBN() - +Method in class com.google.zxing.client.result.ISBNParsedResult +
  +
getItemAt(int) - +Method in class com.google.zxing.client.rim.persistence.history.DecodeHistory +
Gets a particular history object at a given index. +
getItems() - +Method in class com.google.zxing.client.rim.persistence.AppSettings +
Returns all settings objects. +
getItems() - +Method in class com.google.zxing.client.rim.persistence.history.DecodeHistory +
Returns all history objects. +
getLanguage() - +Method in class com.google.zxing.client.result.TextParsedResult +
  +
getLastEstimationMethod() - +Method in class com.google.zxing.common.BaseMonochromeBitmapSource +
  +
getLastEstimationMethod() - +Method in class com.google.zxing.common.CroppedMonochromeBitmapSource +
  +
getLastEstimationMethod() - +Method in interface com.google.zxing.MonochromeBitmapSource +
  +
getLatitude() - +Method in class com.google.zxing.client.result.GeoParsedResult +
  +
getLocation() - +Method in class com.google.zxing.client.result.CalendarParsedResult +
  +
getLongitude() - +Method in class com.google.zxing.client.result.GeoParsedResult +
  +
getLuminance(int, int) - +Method in class com.google.zxing.client.android.YUVMonochromeBitmapSource +
The Y channel is stored as planar data at the head of the array, so we just ignore the + interleaved U and V which follow it. +
getLuminance(int, int) - +Method in class com.google.zxing.client.bug.AWTImageMonochromeBitmapSource +
See com.google.zxing.client.j2me.LCDUIImageMonochromeBitmapSource for more explanation + of the computation used in this method. +
getLuminance(int, int) - +Method in class com.google.zxing.client.j2me.LCDUIImageMonochromeBitmapSource +
  +
getLuminance(int, int) - +Method in class com.google.zxing.client.j2se.BufferedImageMonochromeBitmapSource +
Extracts luminance from a pixel from this source. +
getLuminance(int, int) - +Method in class com.google.zxing.common.BaseMonochromeBitmapSource +
Retrieves the luminance at the pixel x,y in the bitmap. +
getLuminance(int, int) - +Method in class com.google.zxing.common.CroppedMonochromeBitmapSource +
  +
getLuminance(int, int) - +Method in interface com.google.zxing.MonochromeBitmapSource +
Retrieves the luminance at the pixel x,y in the bitmap. +
getLuminanceColumn(int, int[]) - +Method in class com.google.zxing.client.android.YUVMonochromeBitmapSource +
  +
getLuminanceColumn(int, int[]) - +Method in class com.google.zxing.client.bug.AWTImageMonochromeBitmapSource +
  +
getLuminanceColumn(int, int[]) - +Method in class com.google.zxing.client.j2me.LCDUIImageMonochromeBitmapSource +
  +
getLuminanceColumn(int, int[]) - +Method in class com.google.zxing.client.j2se.BufferedImageMonochromeBitmapSource +
  +
getLuminanceColumn(int, int[]) - +Method in class com.google.zxing.common.BaseMonochromeBitmapSource +
The same as getLuminanceRow(), but for columns. +
getLuminanceColumn(int, int[]) - +Method in class com.google.zxing.common.CroppedMonochromeBitmapSource +
  +
getLuminanceColumn(int, int[]) - +Method in interface com.google.zxing.MonochromeBitmapSource +
The same as getLuminanceRow(), but for columns. +
getLuminanceRow(int, int[]) - +Method in class com.google.zxing.client.android.YUVMonochromeBitmapSource +
  +
getLuminanceRow(int, int[]) - +Method in class com.google.zxing.client.bug.AWTImageMonochromeBitmapSource +
  +
getLuminanceRow(int, int[]) - +Method in class com.google.zxing.client.j2me.LCDUIImageMonochromeBitmapSource +
  +
getLuminanceRow(int, int[]) - +Method in class com.google.zxing.client.j2se.BufferedImageMonochromeBitmapSource +
  +
getLuminanceRow(int, int[]) - +Method in class com.google.zxing.common.BaseMonochromeBitmapSource +
This is the main mechanism for retrieving luminance data. +
getLuminanceRow(int, int[]) - +Method in class com.google.zxing.common.CroppedMonochromeBitmapSource +
  +
getLuminanceRow(int, int[]) - +Method in interface com.google.zxing.MonochromeBitmapSource +
This is the main mechanism for retrieving luminance data. +
getMailtoURI() - +Method in class com.google.zxing.client.result.EmailAddressParsedResult +
  +
getMaskPattern() - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
getMatrix() - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
getMatrixWidth() - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
getMinimumSize() - +Method in class com.google.zxing.client.bug.ImageCanvas +
  +
getMode() - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
getName() - +Method in class com.google.zxing.qrcode.decoder.ErrorCorrectionLevel +
  +
getName() - +Method in class com.google.zxing.qrcode.decoder.Mode +
  +
getNames() - +Method in class com.google.zxing.client.result.AddressBookParsedResult +
  +
getNormalizedProductID() - +Method in class com.google.zxing.client.result.ProductParsedResult +
  +
getNote() - +Method in class com.google.zxing.client.result.AddressBookParsedResult +
  +
getNumber() - +Method in class com.google.zxing.client.result.SMSParsedResult +
  +
getNumber() - +Method in class com.google.zxing.client.result.TelParsedResult +
  +
getNumBlocks() - +Method in class com.google.zxing.qrcode.decoder.Version.ECBlocks +
  +
getNumDataBytes() - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
getNumECBytes() - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
getNumItems() - +Method in class com.google.zxing.client.rim.persistence.AppSettings +
Returns the number of settings. +
getNumItems() - +Method in class com.google.zxing.client.rim.persistence.history.DecodeHistory +
Returns the number of history objects. +
getNumRSBlocks() - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
getNumTotalBytes() - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
getOrg() - +Method in class com.google.zxing.client.result.AddressBookParsedResult +
  +
getPageNumber() - +Method in class com.google.zxing.client.android.SearchBookContentsResult +
  +
getParams() - +Method in class com.google.zxing.client.android.AndroidHttpClient +
  +
getPhoneNumbers() - +Method in class com.google.zxing.client.result.AddressBookParsedResult +
  +
getPoints() - +Method in class com.google.zxing.common.DetectorResult +
  +
getPossibleCenters() - +Method in class com.google.zxing.qrcode.detector.FinderPatternFinder +
  +
getPreferredSize() - +Method in class com.google.zxing.client.bug.ImageCanvas +
  +
getProductID() - +Method in class com.google.zxing.client.result.ProductParsedResult +
  +
getProductSearchCountryTLD() - +Static method in class com.google.zxing.client.android.LocaleManager +
The same as above, but specifically for Google Product Search. +
getPronunciation() - +Method in class com.google.zxing.client.result.AddressBookParsedResult +
In Japanese, the name is written in kanji, which can have multiple readings. +
getProvisionalVersionForDimension(int) - +Static method in class com.google.zxing.qrcode.decoder.Version +
Deduces version information purely from QR Code dimensions. +
getQuery() - +Static method in class com.google.zxing.client.android.SearchBookContentsResult +
  +
getRawBytes() - +Method in class com.google.zxing.common.DecoderResult +
  +
getRawBytes() - +Method in class com.google.zxing.Result +
  +
getResonableTime() - +Method in class com.google.zxing.client.rim.util.ReasonableTimer +
Returns the reasonable time. +
getResultMetadata() - +Method in class com.google.zxing.Result +
  +
getResultPoints() - +Method in class com.google.zxing.Result +
  +
getSize() - +Method in class com.google.zxing.common.BitArray +
  +
getSMSURI() - +Method in class com.google.zxing.client.result.SMSParsedResult +
  +
getSnippet() - +Method in class com.google.zxing.client.android.SearchBookContentsResult +
  +
getStart() - +Method in class com.google.zxing.client.result.CalendarParsedResult +
We would return the start and end date as a Date except that this code + needs to work under JavaME / MIDP and there is no date parsing library available there, such + as java.text.SimpleDateFormat. +
getSubject() - +Method in class com.google.zxing.client.result.EmailAddressParsedResult +
  +
getSubject() - +Method in class com.google.zxing.client.result.SMSParsedResult +
  +
getSummary() - +Method in class com.google.zxing.client.result.CalendarParsedResult +
  +
getSymbolSizeColumns() - +Method in class com.google.zxing.datamatrix.decoder.Version +
  +
getSymbolSizeRows() - +Method in class com.google.zxing.datamatrix.decoder.Version +
  +
getTagserverURI() - +Method in class com.google.zxing.client.result.optional.MobileTagRichWebParsedResult +
  +
getTagserverURIPrefix() - +Static method in class com.google.zxing.client.result.optional.MobileTagRichWebParsedResult +
  +
getTelURI() - +Method in class com.google.zxing.client.result.TelParsedResult +
  +
getText() - +Method in class com.google.zxing.client.result.TextParsedResult +
  +
getText() - +Method in class com.google.zxing.common.DecoderResult +
  +
getText() - +Method in class com.google.zxing.Result +
  +
getTitle() - +Method in class com.google.zxing.client.android.QRCodeEncoder +
  +
getTitle() - +Method in class com.google.zxing.client.result.AddressBookParsedResult +
  +
getTitle() - +Method in class com.google.zxing.client.result.CalendarParsedResult +
  +
getTitle() - +Method in class com.google.zxing.client.result.optional.NDEFSmartPosterParsedResult +
  +
getTitle() - +Method in class com.google.zxing.client.result.SMSParsedResult +
  +
getTitle() - +Method in class com.google.zxing.client.result.TelParsedResult +
  +
getTitle() - +Method in class com.google.zxing.client.result.URIParsedResult +
  +
getTopLeft() - +Method in class com.google.zxing.qrcode.detector.FinderPatternInfo +
  +
getTopRight() - +Method in class com.google.zxing.qrcode.detector.FinderPatternInfo +
  +
getTotalCodewords() - +Method in class com.google.zxing.datamatrix.decoder.Version +
  +
getTotalCodewords() - +Method in class com.google.zxing.qrcode.decoder.Version +
  +
getTotalECCodewords() - +Method in class com.google.zxing.qrcode.decoder.Version.ECBlocks +
  +
getType() - +Method in class com.google.zxing.client.android.result.ResultHandler +
A convenience method to get the parsed type. +
getType() - +Method in class com.google.zxing.client.result.ParsedResult +
  +
getURI() - +Method in class com.google.zxing.client.result.optional.NDEFSmartPosterParsedResult +
  +
getURI() - +Method in class com.google.zxing.client.result.URIParsedResult +
  +
getURI() - +Method in class com.google.zxing.client.rim.persistence.history.DecodeHistoryItem +
  +
getURL() - +Method in class com.google.zxing.client.result.AddressBookParsedResult +
  +
getValidSnippet() - +Method in class com.google.zxing.client.android.SearchBookContentsResult +
  +
getValue() - +Method in class com.google.zxing.common.ECI +
  +
getVersion() - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
getVersionForDimensions(int, int) - +Static method in class com.google.zxing.datamatrix.decoder.Version +
Deduces version information from Data Matrix dimensions. +
getVersionForNumber(int) - +Static method in class com.google.zxing.qrcode.decoder.Version +
  +
getVersionNumber() - +Method in class com.google.zxing.datamatrix.decoder.Version +
  +
getVersionNumber() - +Method in class com.google.zxing.qrcode.decoder.Version +
  +
getVia() - +Method in class com.google.zxing.client.result.SMSParsedResult +
  +
getView(int, View, ViewGroup) - +Method in class com.google.zxing.client.android.SearchBookContentsAdapter +
  +
getWidth() - +Method in class com.google.zxing.common.BaseMonochromeBitmapSource +
  +
getWidth() - +Method in class com.google.zxing.common.BitMatrix +
  +
getWidth() - +Method in class com.google.zxing.common.CroppedMonochromeBitmapSource +
  +
getWidth() - +Method in interface com.google.zxing.MonochromeBitmapSource +
  +
getX() - +Method in class com.google.zxing.ResultPoint +
  +
getY() - +Method in class com.google.zxing.ResultPoint +
  +
GF256 - Class in com.google.zxing.common.reedsolomon
This class contains utility methods for performing mathematical operations over + the Galois Field GF(256).
GridSampler - Class in com.google.zxing.common
Implementations of this class can, given locations of finder patterns for a QR code in an + image, sample the right points in the image to reconstruct the QR code, accounting for + perspective distortion.
GridSampler() - +Constructor for class com.google.zxing.common.GridSampler +
  +
GUIRunner - Class in com.google.zxing.client.j2se
Simple GUI frontend to the library.
+
+

+H

+
+
H - +Static variable in class com.google.zxing.qrcode.decoder.ErrorCorrectionLevel +
H = ~30% correction +
handleButtonPress(int) - +Method in class com.google.zxing.client.android.result.AddressBookResultHandler +
  +
handleButtonPress(int) - +Method in class com.google.zxing.client.android.result.CalendarResultHandler +
  +
handleButtonPress(int) - +Method in class com.google.zxing.client.android.result.EmailAddressResultHandler +
  +
handleButtonPress(int) - +Method in class com.google.zxing.client.android.result.GeoResultHandler +
  +
handleButtonPress(int) - +Method in class com.google.zxing.client.android.result.ISBNResultHandler +
  +
handleButtonPress(int) - +Method in class com.google.zxing.client.android.result.ProductResultHandler +
  +
handleButtonPress(int) - +Method in class com.google.zxing.client.android.result.ResultHandler +
Execute the action which corresponds to the nth button. +
handleButtonPress(int) - +Method in class com.google.zxing.client.android.result.SMSResultHandler +
  +
handleButtonPress(int) - +Method in class com.google.zxing.client.android.result.TelResultHandler +
  +
handleButtonPress(int) - +Method in class com.google.zxing.client.android.result.TextResultHandler +
  +
handleButtonPress(int) - +Method in class com.google.zxing.client.android.result.URIResultHandler +
  +
handleDecode(Result, Bitmap) - +Method in class com.google.zxing.client.android.CaptureActivity +
A valid barcode has been found, so give an indication of success and show the results. +
handleMessage(Message) - +Method in class com.google.zxing.client.android.CaptureActivityHandler +
  +
handlePossibleCenter(int[], int, int) - +Method in class com.google.zxing.qrcode.detector.FinderPatternFinder +
This is called when a horizontal scan finds a possible alignment pattern. +
hashCode() - +Method in class com.google.zxing.ResultPoint +
  +
height - +Variable in class com.google.zxing.common.BitMatrix +
  +
height() - +Method in class com.google.zxing.common.ByteMatrix +
  +
help - +Static variable in class com.google.zxing.client.android.R.layout +
  +
help_button_view - +Static variable in class com.google.zxing.client.android.R.color +
  +
help_contents - +Static variable in class com.google.zxing.client.android.R.id +
  +
help_view - +Static variable in class com.google.zxing.client.android.R.color +
  +
HelpActivity - Class in com.google.zxing.client.android
 
HelpActivity() - +Constructor for class com.google.zxing.client.android.HelpActivity +
  +
+
+

+I

+
+
image_view - +Static variable in class com.google.zxing.client.android.R.id +
  +
ImageCanvas - Class in com.google.zxing.client.bug
 
ImageCanvas(Image) - +Constructor for class com.google.zxing.client.bug.ImageCanvas +
  +
ImageConverter - Class in com.google.zxing.client.j2se
Utility application for evaluating the effectiveness of the BlackPointEstimator used by + MonochromeBitmapSource.
imageUpdate(Image, int, int, int, int, int) - +Method in class com.google.zxing.client.bug.app.BugBarcodeApp +
  +
info(String) - +Static method in class com.google.zxing.client.rim.util.Log +
Logs the given message at the info level. +
init(ServletConfig) - +Method in class com.google.zxing.web.DecodeServlet +
  +
init(FilterConfig) - +Method in class com.google.zxing.web.DoSFilter +
  +
initServices() - +Method in class com.google.zxing.client.bug.servicetracker.BugBarcodeServiceTracker +
Allows the user to set the service dependencies by + adding them to services list returned by getServices(). +
insertionSort(Vector, Comparator) - +Static method in class com.google.zxing.common.Collections +
Sorts its argument (destructively) using insert sort; in the context of this package + insertion sort is simple and efficient given its relatively small inputs. +
Intents - Class in com.google.zxing.client.android
 
Intents.Encode - Class in com.google.zxing.client.android
 
Intents.Scan - Class in com.google.zxing.client.android
 
Intents.SearchBookContents - Class in com.google.zxing.client.android
 
Intents.Share - Class in com.google.zxing.client.android
 
isBlack(int, int) - +Method in class com.google.zxing.common.BaseMonochromeBitmapSource +
  +
isBlack(int, int) - +Method in class com.google.zxing.common.CroppedMonochromeBitmapSource +
  +
isBlack(int, int) - +Method in interface com.google.zxing.MonochromeBitmapSource +
  +
ISBN - +Static variable in class com.google.zxing.client.android.Intents.SearchBookContents +
The book to search, identified by ISBN number. +
ISBN - +Static variable in class com.google.zxing.client.result.ParsedResultType +
  +
ISBNParsedResult - Class in com.google.zxing.client.result
 
ISBNResultHandler - Class in com.google.zxing.client.android.result
 
ISBNResultHandler(Activity, ParsedResult) - +Constructor for class com.google.zxing.client.android.result.ISBNResultHandler +
  +
ISBNResultParser - Class in com.google.zxing.client.result
Parses strings of digits that represent a ISBN.
isPossiblyMaliciousURI() - +Method in class com.google.zxing.client.result.URIParsedResult +
  +
isRange(int, int, boolean) - +Method in class com.google.zxing.common.BitArray +
Efficient method to check if a range of bits is set, or not set. +
isRotateSupported() - +Method in class com.google.zxing.client.j2se.BufferedImageMonochromeBitmapSource +
  +
isRotateSupported() - +Method in class com.google.zxing.common.BaseMonochromeBitmapSource +
  +
isRotateSupported() - +Method in class com.google.zxing.common.CroppedMonochromeBitmapSource +
  +
isRotateSupported() - +Method in interface com.google.zxing.MonochromeBitmapSource +
  +
isStringOfDigits(String, int) - +Static method in class com.google.zxing.client.result.ResultParser +
  +
isValid() - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
isValidMaskPattern(int) - +Static method in class com.google.zxing.qrcode.encoder.QRCode +
  +
ITF - +Static variable in class com.google.zxing.BarcodeFormat +
ITF (Interleaved Two of Five) 1D format. +
ITFReader - Class in com.google.zxing.oned
Implements decoding of the ITF format.
ITFReader() - +Constructor for class com.google.zxing.oned.ITFReader +
  +
+
+

+K

+
+
KANJI - +Static variable in class com.google.zxing.qrcode.decoder.Mode +
  +
KEY_CUSTOM_PRODUCT_SEARCH - +Static variable in class com.google.zxing.client.android.PreferencesActivity +
  +
+
+

+L

+
+
L - +Static variable in class com.google.zxing.qrcode.decoder.ErrorCorrectionLevel +
L = ~7% correction +
launch_product_query - +Static variable in class com.google.zxing.client.android.R.id +
  +
launcher_icon - +Static variable in class com.google.zxing.client.android.R.drawable +
  +
LCDUIImageMonochromeBitmapSource - Class in com.google.zxing.client.j2me
An implementation based on Java ME's Image representation.
LCDUIImageMonochromeBitmapSource(Image) - +Constructor for class com.google.zxing.client.j2me.LCDUIImageMonochromeBitmapSource +
  +
LocaleManager - Class in com.google.zxing.client.android
Handles any locale-specific logic for the client.
LOCATION - +Static variable in class com.google.zxing.client.android.Contents.Type +
A geographic location. +
Log - Class in com.google.zxing.client.rim.util
Used to write logging messages.
+
+

+M

+
+
M - +Static variable in class com.google.zxing.qrcode.decoder.ErrorCorrectionLevel +
M = ~15% correction +
main(String[]) - +Static method in class com.google.zxing.client.j2se.CommandLineRunner +
  +
main(String[]) - +Static method in class com.google.zxing.client.j2se.GUIRunner +
  +
main(String[]) - +Static method in class com.google.zxing.client.j2se.ImageConverter +
  +
main(String[]) - +Static method in class com.google.zxing.client.rim.ZXingUiApplication +
  +
makeResultHandler(Activity, Result) - +Static method in class com.google.zxing.client.android.result.ResultHandlerFactory +
  +
makeTypeInfoBits(ErrorCorrectionLevel, int, BitVector) - +Static method in class com.google.zxing.qrcode.encoder.MatrixUtil +
  +
makeVersionInfoBits(int, BitVector) - +Static method in class com.google.zxing.qrcode.encoder.MatrixUtil +
  +
MaskUtil - Class in com.google.zxing.qrcode.encoder
 
MatrixUtil - Class in com.google.zxing.qrcode.encoder
 
MAX_AVG_VARIANCE - +Static variable in class com.google.zxing.pdf417.detector.Detector +
  +
MAX_BUTTON_COUNT - +Static variable in class com.google.zxing.client.android.result.ResultHandler +
  +
MAX_INDIVIDUAL_VARIANCE - +Static variable in class com.google.zxing.pdf417.detector.Detector +
  +
MAX_MODULES - +Static variable in class com.google.zxing.qrcode.detector.FinderPatternFinder +
  +
maybeAppend(String, StringBuffer) - +Static method in class com.google.zxing.client.result.ParsedResult +
  +
maybeAppend(String[], StringBuffer) - +Static method in class com.google.zxing.client.result.ParsedResult +
  +
maybeAppend(String, StringBuffer) - +Static method in class com.google.zxing.client.result.ResultParser +
  +
maybeAppend(String[], StringBuffer) - +Static method in class com.google.zxing.client.result.ResultParser +
  +
maybeEmbedVersionInfo(int, ByteMatrix) - +Static method in class com.google.zxing.qrcode.encoder.MatrixUtil +
  +
maybeWrap(String) - +Static method in class com.google.zxing.client.result.ResultParser +
  +
menu_about - +Static variable in class com.google.zxing.client.android.R.string +
  +
menu_help - +Static variable in class com.google.zxing.client.android.R.string +
  +
menu_settings - +Static variable in class com.google.zxing.client.android.R.string +
  +
menu_share - +Static variable in class com.google.zxing.client.android.R.string +
  +
mHandler - +Variable in class com.google.zxing.client.android.CaptureActivity +
  +
mHandler - +Variable in class com.google.zxing.client.android.EncodeActivity +
  +
mHandler - +Variable in class com.google.zxing.client.android.SearchBookContentsActivity +
  +
MIN_SKIP - +Static variable in class com.google.zxing.qrcode.detector.FinderPatternFinder +
  +
mLayoutListener - +Variable in class com.google.zxing.client.android.EncodeActivity +
This needs to be delayed until after the first layout so that the view dimensions will be + available. +
MOBILETAG_RICH_WEB - +Static variable in class com.google.zxing.client.result.ParsedResultType +
  +
MobileTagRichWebParsedResult - Class in com.google.zxing.client.result.optional
 
MODE - +Static variable in class com.google.zxing.client.android.Intents.Scan +
By default, sending Scan.ACTION will decode all barcodes that we understand. +
Mode - Class in com.google.zxing.qrcode.decoder
See ISO 18004:2006, 6.4.1, Tables 2 and 3.
MonochromeBitmapSource - Interface in com.google.zxing
Encapsulates a generic black-and-white bitmap -- a collection of pixels in two dimensions.
MonochromeRectangleDetector - Class in com.google.zxing.common.detector
A somewhat generic detector that looks for a barcode-like rectangular region within an image.
MonochromeRectangleDetector(MonochromeBitmapSource) - +Constructor for class com.google.zxing.common.detector.MonochromeRectangleDetector +
  +
mResult - +Variable in class com.google.zxing.client.android.result.ResultHandler +
  +
msg_about - +Static variable in class com.google.zxing.client.android.R.string +
  +
msg_default_contents - +Static variable in class com.google.zxing.client.android.R.string +
  +
msg_default_format - +Static variable in class com.google.zxing.client.android.R.string +
  +
msg_default_mms_subject - +Static variable in class com.google.zxing.client.android.R.string +
  +
msg_default_status - +Static variable in class com.google.zxing.client.android.R.string +
  +
msg_default_type - +Static variable in class com.google.zxing.client.android.R.string +
  +
msg_encode_barcode_failed - +Static variable in class com.google.zxing.client.android.R.string +
  +
msg_encode_contents_failed - +Static variable in class com.google.zxing.client.android.R.string +
  +
msg_encode_in_progress - +Static variable in class com.google.zxing.client.android.R.string +
  +
msg_intent_failed - +Static variable in class com.google.zxing.client.android.R.string +
  +
msg_sbc_book_not_searchable - +Static variable in class com.google.zxing.client.android.R.string +
  +
msg_sbc_failed - +Static variable in class com.google.zxing.client.android.R.string +
  +
msg_sbc_no_page_returned - +Static variable in class com.google.zxing.client.android.R.string +
  +
msg_sbc_page - +Static variable in class com.google.zxing.client.android.R.string +
  +
msg_sbc_searching_book - +Static variable in class com.google.zxing.client.android.R.string +
  +
msg_sbc_snippet_unavailable - +Static variable in class com.google.zxing.client.android.R.string +
  +
msg_sbc_unknown_page - +Static variable in class com.google.zxing.client.android.R.string +
  +
msg_share_explanation - +Static variable in class com.google.zxing.client.android.R.string +
  +
msg_share_subject_line - +Static variable in class com.google.zxing.client.android.R.string +
  +
MultiDetector - Class in com.google.zxing.multi.qrcode.detector
Encapsulates logic that can detect one or more QR Codes in an image, even if the QR Code + is rotated or skewed, or partially obscured.
MultiDetector(MonochromeBitmapSource) - +Constructor for class com.google.zxing.multi.qrcode.detector.MultiDetector +
  +
MultiFormatOneDReader - Class in com.google.zxing.oned
 
MultiFormatOneDReader(Hashtable) - +Constructor for class com.google.zxing.oned.MultiFormatOneDReader +
  +
MultiFormatReader - Class in com.google.zxing
MultiFormatReader is a convenience class and the main entry point into the library for most uses.
MultiFormatReader() - +Constructor for class com.google.zxing.MultiFormatReader +
  +
MultiFormatUPCEANReader - Class in com.google.zxing.oned
A reader that can read all available UPC/EAN formats.
MultiFormatUPCEANReader(Hashtable) - +Constructor for class com.google.zxing.oned.MultiFormatUPCEANReader +
  +
MultiFormatWriter - Class in com.google.zxing
This is a factory class which finds the appropriate Writer subclass for the BarcodeFormat + requested and encodes the barcode with the supplied contents.
MultiFormatWriter() - +Constructor for class com.google.zxing.MultiFormatWriter +
  +
MultipleBarcodeReader - Interface in com.google.zxing.multi
Implementation of this interface attempt to read several barcodes from one image.
+
+

+N

+
+
NDEF_SMART_POSTER - +Static variable in class com.google.zxing.client.result.ParsedResultType +
  +
NDEFSmartPosterParsedResult - Class in com.google.zxing.client.result.optional
 
newInstance(String) - +Static method in class com.google.zxing.client.android.AndroidHttpClient +
Create a new HttpClient with reasonable defaults (which you can update). +
NUM_MASK_PATTERNS - +Static variable in class com.google.zxing.qrcode.encoder.QRCode +
  +
NUMERIC - +Static variable in class com.google.zxing.qrcode.decoder.Mode +
  +
+
+

+O

+
+
onActivityResult(int, int, Intent) - +Method in class com.google.zxing.client.android.ShareActivity +
  +
onClick(View) - +Method in class com.google.zxing.client.android.result.ResultButtonListener +
  +
onConfigurationChanged(Configuration) - +Method in class com.google.zxing.client.android.CaptureActivity +
  +
onConfigurationChanged(Configuration) - +Method in class com.google.zxing.client.android.SearchBookContentsActivity +
  +
onCreate(Bundle) - +Method in class com.google.zxing.client.android.BookmarkPickerActivity +
  +
onCreate(Bundle) - +Method in class com.google.zxing.client.android.CaptureActivity +
  +
onCreate(Bundle) - +Method in class com.google.zxing.client.android.EncodeActivity +
  +
onCreate(Bundle) - +Method in class com.google.zxing.client.android.HelpActivity +
  +
onCreate(Bundle) - +Method in class com.google.zxing.client.android.PreferencesActivity +
  +
onCreate(Bundle) - +Method in class com.google.zxing.client.android.SearchBookContentsActivity +
  +
onCreate(Bundle) - +Method in class com.google.zxing.client.android.ShareActivity +
  +
onCreateOptionsMenu(Menu) - +Method in class com.google.zxing.client.android.CaptureActivity +
  +
onDraw(Canvas) - +Method in class com.google.zxing.client.android.ViewfinderView +
  +
ONE_D_MODE - +Static variable in class com.google.zxing.client.android.Intents.Scan +
Decode only 1D barcodes (currently UPC, EAN, Code 39, and Code 128). +
OneDReader - Interface in com.google.zxing.oned
Readers which also implement this interface read one-dimensional barcode + formats, and expose additional functionality that is specific to this type of barcode.
onFinishInflate() - +Method in class com.google.zxing.client.android.SearchBookContentsListItem +
  +
onKeyDown(int, KeyEvent) - +Method in class com.google.zxing.client.android.CaptureActivity +
  +
onKeyDown(int, KeyEvent) - +Method in class com.google.zxing.client.android.HelpActivity +
  +
onListItemClick(ListView, View, int, long) - +Method in class com.google.zxing.client.android.BookmarkPickerActivity +
  +
onOptionsItemSelected(MenuItem) - +Method in class com.google.zxing.client.android.CaptureActivity +
  +
onPause() - +Method in class com.google.zxing.client.android.CaptureActivity +
  +
onPrepareOptionsMenu(Menu) - +Method in class com.google.zxing.client.android.CaptureActivity +
  +
onResume() - +Method in class com.google.zxing.client.android.CaptureActivity +
  +
onResume() - +Method in class com.google.zxing.client.android.EncodeActivity +
  +
onResume() - +Method in class com.google.zxing.client.android.HelpActivity +
  +
onResume() - +Method in class com.google.zxing.client.android.SearchBookContentsActivity +
  +
onResume() - +Method in class com.google.zxing.client.android.ShareActivity +
  +
onSaveInstanceState(Bundle) - +Method in class com.google.zxing.client.android.HelpActivity +
  +
onSharedPreferenceChanged(SharedPreferences, String) - +Method in class com.google.zxing.client.android.PreferencesActivity +
  +
openBookSearch(String) - +Method in class com.google.zxing.client.android.result.ResultHandler +
  +
openMap(String) - +Method in class com.google.zxing.client.android.result.ResultHandler +
  +
openProductSearch(String) - +Method in class com.google.zxing.client.android.result.ResultHandler +
  +
openURL(String) - +Method in class com.google.zxing.client.android.result.ResultHandler +
  +
orderBestPatterns(ResultPoint[]) - +Static method in class com.google.zxing.ResultPoint +
Orders an array of three ResultPoints in an order [A,B,C] such that AB < AC and + BC < AC and the angle between BC and BA is less than 180 degrees. +
ordinal() - +Method in class com.google.zxing.qrcode.decoder.ErrorCorrectionLevel +
  +
ORIENTATION - +Static variable in class com.google.zxing.ResultMetadataType +
Denotes the likely approximate orientation of the barcode in the image. +
OTHER - +Static variable in class com.google.zxing.DecodeHintType +
Unspecified, application-specific hint. +
OTHER - +Static variable in class com.google.zxing.ResultMetadataType +
Unspecified, application-specific metadata. +
+
+

+P

+
+
page_number_view - +Static variable in class com.google.zxing.client.android.R.id +
  +
paint(Graphics) - +Method in class com.google.zxing.client.bug.ImageCanvas +
  +
parse(String) - +Static method in class com.google.zxing.client.android.result.AndroidIntentParsedResult +
  +
parse(Result) - +Static method in class com.google.zxing.client.result.ISBNResultParser +
  +
ParsedResult - Class in com.google.zxing.client.result
Abstract class representing the result of decoding a barcode, as more than + a String -- as some type of structured data.
ParsedResult(ParsedResultType) - +Constructor for class com.google.zxing.client.result.ParsedResult +
  +
ParsedResultType - Class in com.google.zxing.client.result
Represents the type of data encoded by a barcode -- from plain text, to a + URI, to an e-mail address, etc.
parseResult(Result) - +Static method in class com.google.zxing.client.result.ResultParser +
  +
patternMatchVariance(int[], int[], int) - +Static method in class com.google.zxing.pdf417.detector.Detector +
Determines how closely a set of observed counts of runs of black/white + values matches a given target pattern. +
pauseApp() - +Method in class com.google.zxing.client.j2me.ZXingMIDlet +
  +
PDF417 - +Static variable in class com.google.zxing.BarcodeFormat +
PDF417 format. +
PDF417Reader - Class in com.google.zxing.pdf417
This implementation can detect and decode PDF417 codes in an image.
PDF417Reader() - +Constructor for class com.google.zxing.pdf417.PDF417Reader +
  +
persist() - +Method in class com.google.zxing.client.rim.persistence.AppSettings +
Persists the settings to the device. +
persist() - +Method in class com.google.zxing.client.rim.persistence.history.DecodeHistory +
Persists the history to the device. +
PHONE - +Static variable in class com.google.zxing.client.android.Contents.Type +
Use Intent.putExtra(DATA, string) where string is the phone number to call. +
PHONE_KEYS - +Static variable in class com.google.zxing.client.android.Contents +
When using Type.CONTACT, these arrays provide the keys for adding or retrieving multiple + phone numbers and addresses. +
POSSIBLE_FORMATS - +Static variable in class com.google.zxing.DecodeHintType +
Image is known to be of one of a few possible formats. +
preferences - +Static variable in class com.google.zxing.client.android.R.xml +
  +
preferences_actions_title - +Static variable in class com.google.zxing.client.android.R.string +
  +
preferences_copy_to_clipboard_title - +Static variable in class com.google.zxing.client.android.R.string +
  +
preferences_custom_product_search_summary - +Static variable in class com.google.zxing.client.android.R.string +
  +
preferences_custom_product_search_title - +Static variable in class com.google.zxing.client.android.R.string +
  +
preferences_decode_1D_title - +Static variable in class com.google.zxing.client.android.R.string +
  +
preferences_decode_QR_title - +Static variable in class com.google.zxing.client.android.R.string +
  +
preferences_general_title - +Static variable in class com.google.zxing.client.android.R.string +
  +
preferences_name - +Static variable in class com.google.zxing.client.android.R.string +
  +
preferences_play_beep_title - +Static variable in class com.google.zxing.client.android.R.string +
  +
preferences_result_title - +Static variable in class com.google.zxing.client.android.R.string +
  +
preferences_vibrate_title - +Static variable in class com.google.zxing.client.android.R.string +
  +
PreferencesActivity - Class in com.google.zxing.client.android
 
PreferencesActivity() - +Constructor for class com.google.zxing.client.android.PreferencesActivity +
  +
preview_view - +Static variable in class com.google.zxing.client.android.R.id +
  +
processFinderPatternInfo(FinderPatternInfo) - +Method in class com.google.zxing.qrcode.detector.Detector +
  +
PRODUCT - +Static variable in class com.google.zxing.client.result.ParsedResultType +
  +
PRODUCT_MODE - +Static variable in class com.google.zxing.client.android.Intents.Scan +
Decode only UPC and EAN barcodes. +
ProductParsedResult - Class in com.google.zxing.client.result
 
ProductResultHandler - Class in com.google.zxing.client.android.result
 
ProductResultHandler(Activity, ParsedResult) - +Constructor for class com.google.zxing.client.android.result.ProductResultHandler +
  +
PURE_BARCODE - +Static variable in class com.google.zxing.DecodeHintType +
Image is a pure monochrome image of a barcode. +
putMetadata(ResultMetadataType, Object) - +Method in class com.google.zxing.Result +
  +
+
+

+Q

+
+
Q - +Static variable in class com.google.zxing.qrcode.decoder.ErrorCorrectionLevel +
Q = ~25% correction +
QR_CODE - +Static variable in class com.google.zxing.BarcodeFormat +
QR Code 2D barcode format. +
QR_CODE - +Static variable in class com.google.zxing.client.android.Contents.Format +
  +
QR_CODE_FIELD - +Static variable in class com.google.zxing.common.reedsolomon.GF256 +
  +
QR_CODE_MODE - +Static variable in class com.google.zxing.client.android.Intents.Scan +
Decode only QR codes. +
QRCode - Class in com.google.zxing.qrcode.encoder
 
QRCode() - +Constructor for class com.google.zxing.qrcode.encoder.QRCode +
  +
QRCodeEncoder - Class in com.google.zxing.client.android
 
QRCodeEncoder(Activity, Intent) - +Constructor for class com.google.zxing.client.android.QRCodeEncoder +
  +
QRCodeMultiReader - Class in com.google.zxing.multi.qrcode
This implementation can detect and decode multiple QR Codes in an image.
QRCodeMultiReader() - +Constructor for class com.google.zxing.multi.qrcode.QRCodeMultiReader +
  +
QRCodeReader - Class in com.google.zxing.qrcode
This implementation can detect and decode QR Codes in an image.
QRCodeReader() - +Constructor for class com.google.zxing.qrcode.QRCodeReader +
  +
QRCodeWriter - Class in com.google.zxing.qrcode
This object renders a QR Code as a ByteMatrix 2D array of greyscale values.
QRCodeWriter() - +Constructor for class com.google.zxing.qrcode.QRCodeWriter +
  +
QUERY - +Static variable in class com.google.zxing.client.android.Intents.SearchBookContents +
An optional field which is the text to search for. +
query_button - +Static variable in class com.google.zxing.client.android.R.id +
  +
query_text_view - +Static variable in class com.google.zxing.client.android.R.id +
  +
quit - +Static variable in class com.google.zxing.client.android.R.id +
  +
quitSynchronously() - +Method in class com.google.zxing.client.android.CaptureActivityHandler +
  +
+
+

+R

+
+
R - Class in com.google.zxing.client.android
 
R() - +Constructor for class com.google.zxing.client.android.R +
  +
R.attr - Class in com.google.zxing.client.android
 
R.attr() - +Constructor for class com.google.zxing.client.android.R.attr +
  +
R.color - Class in com.google.zxing.client.android
 
R.color() - +Constructor for class com.google.zxing.client.android.R.color +
  +
R.drawable - Class in com.google.zxing.client.android
 
R.drawable() - +Constructor for class com.google.zxing.client.android.R.drawable +
  +
R.id - Class in com.google.zxing.client.android
 
R.id() - +Constructor for class com.google.zxing.client.android.R.id +
  +
R.layout - Class in com.google.zxing.client.android
 
R.layout() - +Constructor for class com.google.zxing.client.android.R.layout +
  +
R.raw - Class in com.google.zxing.client.android
 
R.raw() - +Constructor for class com.google.zxing.client.android.R.raw +
  +
R.string - Class in com.google.zxing.client.android
 
R.string() - +Constructor for class com.google.zxing.client.android.R.string +
  +
R.styleable - Class in com.google.zxing.client.android
 
R.styleable() - +Constructor for class com.google.zxing.client.android.R.styleable +
  +
R.xml - Class in com.google.zxing.client.android
 
R.xml() - +Constructor for class com.google.zxing.client.android.R.xml +
  +
readBits(int) - +Method in class com.google.zxing.common.BitSource +
  +
Reader - Interface in com.google.zxing
Implementations of this interface can decode an image of a barcode in some format into + the String it encodes.
ReaderException - Exception in com.google.zxing
The general exception class throw when something goes wrong during decoding of a barcode.
ReasonableTimer - Class in com.google.zxing.client.rim.util
Used to determine if something happend within a specified amount of time.
ReasonableTimer() - +Constructor for class com.google.zxing.client.rim.util.ReasonableTimer +
  +
ReasonableTimer(long) - +Constructor for class com.google.zxing.client.rim.util.ReasonableTimer +
  +
ReedSolomonDecoder - Class in com.google.zxing.common.reedsolomon
Implements Reed-Solomon decoding, as the name implies.
ReedSolomonDecoder(GF256) - +Constructor for class com.google.zxing.common.reedsolomon.ReedSolomonDecoder +
  +
ReedSolomonEncoder - Class in com.google.zxing.common.reedsolomon
Implements Reed-Solomon enbcoding, as the name implies.
ReedSolomonEncoder(GF256) - +Constructor for class com.google.zxing.common.reedsolomon.ReedSolomonEncoder +
  +
ReedSolomonException - Exception in com.google.zxing.common.reedsolomon
Thrown when an exception occurs during Reed-Solomon decoding, such as when + there are too many errors to correct.
ReedSolomonException(String) - +Constructor for exception com.google.zxing.common.reedsolomon.ReedSolomonException +
  +
renderResult(byte[], int, int) - +Static method in class com.google.zxing.oned.AbstractUPCEANWriter +
  +
renderToBitmap() - +Method in class com.google.zxing.client.android.YUVMonochromeBitmapSource +
Create a greyscale Android Bitmap from the YUV data based on the crop rectangle. +
requestBarcode(Handler, int) - +Method in class com.google.zxing.client.android.QRCodeEncoder +
  +
reserve(int) - +Method in class com.google.zxing.common.ByteArray +
  +
restart_preview - +Static variable in class com.google.zxing.client.android.R.id +
  +
RESULT - +Static variable in class com.google.zxing.client.android.Intents.Scan +
If a barcode is found, Barcodes returns RESULT_OK to onActivityResult() of the app which + requested the scan via startSubActivity(). +
Result - Class in com.google.zxing
Encapsulates the result of decoding a barcode within an image.
Result(String, byte[], ResultPoint[], BarcodeFormat) - +Constructor for class com.google.zxing.Result +
  +
result_address_book - +Static variable in class com.google.zxing.client.android.R.string +
  +
result_button_view - +Static variable in class com.google.zxing.client.android.R.id +
  +
result_calendar - +Static variable in class com.google.zxing.client.android.R.string +
  +
result_email_address - +Static variable in class com.google.zxing.client.android.R.string +
  +
RESULT_FORMAT - +Static variable in class com.google.zxing.client.android.Intents.Scan +
Call intent.getStringExtra(RESULT_FORMAT) to determine which barcode format was found. +
result_geo - +Static variable in class com.google.zxing.client.android.R.string +
  +
result_image_border - +Static variable in class com.google.zxing.client.android.R.color +
  +
result_isbn - +Static variable in class com.google.zxing.client.android.R.string +
  +
result_list_view - +Static variable in class com.google.zxing.client.android.R.id +
  +
result_minor_text - +Static variable in class com.google.zxing.client.android.R.color +
  +
result_points - +Static variable in class com.google.zxing.client.android.R.color +
  +
result_product - +Static variable in class com.google.zxing.client.android.R.string +
  +
result_sms - +Static variable in class com.google.zxing.client.android.R.string +
  +
result_tel - +Static variable in class com.google.zxing.client.android.R.string +
  +
result_text - +Static variable in class com.google.zxing.client.android.R.color +
  +
result_text - +Static variable in class com.google.zxing.client.android.R.string +
  +
result_uri - +Static variable in class com.google.zxing.client.android.R.string +
  +
result_view - +Static variable in class com.google.zxing.client.android.R.color +
  +
result_view - +Static variable in class com.google.zxing.client.android.R.id +
  +
ResultButtonListener - Class in com.google.zxing.client.android.result
Handles the result of barcode decoding in the context of the Android platform, by dispatching the + proper intents to open other activities like GMail, Maps, etc.
ResultButtonListener(ResultHandler, int) - +Constructor for class com.google.zxing.client.android.result.ResultButtonListener +
  +
ResultHandler - Class in com.google.zxing.client.android.result
 
ResultHandler(Activity, ParsedResult) - +Constructor for class com.google.zxing.client.android.result.ResultHandler +
  +
ResultHandlerFactory - Class in com.google.zxing.client.android.result
 
ResultMetadataType - Class in com.google.zxing
Represents some type of metadata about the result of the decoding that the decoder + wishes to communicate back to the caller.
ResultParser - Class in com.google.zxing.client.result
Abstract class representing the result of decoding a barcode, as more than + a String -- as some type of structured data.
ResultParser() - +Constructor for class com.google.zxing.client.result.ResultParser +
  +
ResultPoint - Class in com.google.zxing
Encapsulates a point of interest in an image containing a barcode.
ResultPoint(float, float) - +Constructor for class com.google.zxing.ResultPoint +
  +
return_scan_result - +Static variable in class com.google.zxing.client.android.R.id +
  +
reverse() - +Method in class com.google.zxing.common.BitArray +
Reverses all bits in the array. +
rotateCounterClockwise() - +Method in class com.google.zxing.client.j2se.BufferedImageMonochromeBitmapSource +
  +
rotateCounterClockwise() - +Method in class com.google.zxing.common.BaseMonochromeBitmapSource +
  +
rotateCounterClockwise() - +Method in class com.google.zxing.common.CroppedMonochromeBitmapSource +
  +
rotateCounterClockwise() - +Method in interface com.google.zxing.MonochromeBitmapSource +
Optional operation which returns an implementation based on the same underlying + image, but which behaves as if the underlying image had been rotated 90 degrees + counterclockwise. +
ROW_SAMPLING - +Static variable in class com.google.zxing.BlackPointEstimationMethod +
Method probably most suitable for 1D barcode decoding, where one row at a time is sampled. +
rowSize - +Variable in class com.google.zxing.common.BitMatrix +
  +
+
+

+S

+
+
sampleGrid(MonochromeBitmapSource, int, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float) - +Method in class com.google.zxing.common.DefaultGridSampler +
  +
sampleGrid(MonochromeBitmapSource, int, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float) - +Method in class com.google.zxing.common.GridSampler +
Samples an image for a square matrix of bits of the given dimension. +
sbc_header_text - +Static variable in class com.google.zxing.client.android.R.color +
  +
sbc_header_view - +Static variable in class com.google.zxing.client.android.R.color +
  +
sbc_layout_view - +Static variable in class com.google.zxing.client.android.R.color +
  +
sbc_list_item - +Static variable in class com.google.zxing.client.android.R.color +
  +
sbc_name - +Static variable in class com.google.zxing.client.android.R.string +
  +
sbc_page_number_text - +Static variable in class com.google.zxing.client.android.R.color +
  +
sbc_snippet_text - +Static variable in class com.google.zxing.client.android.R.color +
  +
search_book_contents - +Static variable in class com.google.zxing.client.android.R.layout +
  +
search_book_contents_failed - +Static variable in class com.google.zxing.client.android.R.id +
  +
search_book_contents_header - +Static variable in class com.google.zxing.client.android.R.layout +
  +
search_book_contents_list_item - +Static variable in class com.google.zxing.client.android.R.layout +
  +
search_book_contents_succeeded - +Static variable in class com.google.zxing.client.android.R.id +
  +
searchBookContents(String) - +Method in class com.google.zxing.client.android.result.ResultHandler +
  +
SearchBookContentsActivity - Class in com.google.zxing.client.android
 
SearchBookContentsActivity() - +Constructor for class com.google.zxing.client.android.SearchBookContentsActivity +
  +
SearchBookContentsAdapter - Class in com.google.zxing.client.android
 
SearchBookContentsAdapter(Context, List<SearchBookContentsResult>) - +Constructor for class com.google.zxing.client.android.SearchBookContentsAdapter +
  +
SearchBookContentsListItem - Class in com.google.zxing.client.android
 
SearchBookContentsListItem(Context, AttributeSet) - +Constructor for class com.google.zxing.client.android.SearchBookContentsListItem +
  +
SearchBookContentsResult - Class in com.google.zxing.client.android
 
SearchBookContentsResult(String, String, boolean) - +Constructor for class com.google.zxing.client.android.SearchBookContentsResult +
  +
searchMap(String, String) - +Method in class com.google.zxing.client.android.result.ResultHandler +
Do a geo search using the address as the query. +
sendEmail(String, String, String) - +Method in class com.google.zxing.client.android.result.ResultHandler +
  +
sendEmailFromUri(String, String, String) - +Method in class com.google.zxing.client.android.result.ResultHandler +
  +
sendMMS(String, String, String) - +Method in class com.google.zxing.client.android.result.ResultHandler +
  +
sendMMSFromUri(String, String, String) - +Method in class com.google.zxing.client.android.result.ResultHandler +
  +
sendSMS(String, String) - +Method in class com.google.zxing.client.android.result.ResultHandler +
  +
sendSMSFromUri(String, String) - +Method in class com.google.zxing.client.android.result.ResultHandler +
  +
set(SearchBookContentsResult) - +Method in class com.google.zxing.client.android.SearchBookContentsListItem +
  +
set(int) - +Method in class com.google.zxing.common.BitArray +
Sets bit i. +
set(int, int) - +Method in class com.google.zxing.common.BitMatrix +
Sets the given bit to true. +
set(int, int) - +Method in class com.google.zxing.common.ByteArray +
  +
set(byte[], int, int) - +Method in class com.google.zxing.common.ByteArray +
  +
set(int, int, byte) - +Method in class com.google.zxing.common.ByteMatrix +
  +
set(int, int, int) - +Method in class com.google.zxing.common.ByteMatrix +
  +
setBulk(int, int) - +Method in class com.google.zxing.common.BitArray +
Sets a block of 32 bits, starting at bit i. +
setDate(String) - +Method in class com.google.zxing.client.rim.persistence.history.DecodeHistoryItem +
  +
setECLevel(ErrorCorrectionLevel) - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
setGridSampler(GridSampler) - +Static method in class com.google.zxing.common.GridSampler +
Sets the implementation of GridSampler used by the library. +
setHints(Hashtable) - +Method in class com.google.zxing.MultiFormatReader +
This method adds state to the MultiFormatReader. +
setImage(Image) - +Method in class com.google.zxing.client.bug.ImageCanvas +
  +
setMaskPattern(int) - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
setMatrix(ByteMatrix) - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
setMatrixWidth(int) - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
setMode(Mode) - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
setNumDataBytes(int) - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
setNumECBytes(int) - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
setNumRSBlocks(int) - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
setNumTotalBytes(int) - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
setQuery(String) - +Static method in class com.google.zxing.client.android.SearchBookContentsResult +
  +
setRegion(int, int, int, int) - +Method in class com.google.zxing.common.BitMatrix +
Sets a square region of the bit matrix to true. +
setResonableTime(long) - +Method in class com.google.zxing.client.rim.util.ReasonableTimer +
Sets the reasonable time to the given time +
SETTING_CAM_RES_MSG - +Static variable in class com.google.zxing.client.rim.persistence.AppSettings +
  +
setURI(String) - +Method in class com.google.zxing.client.rim.persistence.history.DecodeHistoryItem +
  +
setVersion(int) - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
share - +Static variable in class com.google.zxing.client.android.R.layout +
  +
share_menu_item - +Static variable in class com.google.zxing.client.android.R.drawable +
  +
share_name - +Static variable in class com.google.zxing.client.android.R.string +
  +
share_text - +Static variable in class com.google.zxing.client.android.R.color +
  +
share_via_barcode - +Static variable in class com.google.zxing.client.android.R.drawable +
  +
share_view - +Static variable in class com.google.zxing.client.android.R.color +
  +
ShareActivity - Class in com.google.zxing.client.android
 
ShareActivity() - +Constructor for class com.google.zxing.client.android.ShareActivity +
  +
shareByEmail(String) - +Method in class com.google.zxing.client.android.result.ResultHandler +
  +
shareBySMS(String) - +Method in class com.google.zxing.client.android.result.ResultHandler +
  +
size - +Variable in class com.google.zxing.common.BitArray +
  +
size() - +Method in class com.google.zxing.common.ByteArray +
  +
size() - +Method in class com.google.zxing.qrcode.encoder.BitVector +
  +
sizeInBytes() - +Method in class com.google.zxing.qrcode.encoder.BitVector +
  +
SMS - +Static variable in class com.google.zxing.client.android.Contents.Type +
An SMS type. +
SMS - +Static variable in class com.google.zxing.client.result.ParsedResultType +
  +
SMSParsedResult - Class in com.google.zxing.client.result
 
SMSParsedResult(String, String, String, String, String, String) - +Constructor for class com.google.zxing.client.result.SMSParsedResult +
  +
SMSResultHandler - Class in com.google.zxing.client.android.result
 
SMSResultHandler(Activity, ParsedResult) - +Constructor for class com.google.zxing.client.android.result.SMSResultHandler +
  +
snippet_view - +Static variable in class com.google.zxing.client.android.R.id +
  +
start(BundleContext) - +Method in class com.google.zxing.client.bug.Activator +
  +
startApp() - +Method in class com.google.zxing.client.j2me.ZXingMIDlet +
  +
status_text - +Static variable in class com.google.zxing.client.android.R.color +
  +
status_text_view - +Static variable in class com.google.zxing.client.android.R.id +
  +
status_view - +Static variable in class com.google.zxing.client.android.R.color +
  +
status_view - +Static variable in class com.google.zxing.client.android.R.id +
  +
stop(BundleContext) - +Method in class com.google.zxing.client.bug.Activator +
  +
STRUCTURED_APPEND - +Static variable in class com.google.zxing.qrcode.decoder.Mode +
  +
surfaceChanged(SurfaceHolder, int, int, int) - +Method in class com.google.zxing.client.android.CaptureActivity +
  +
surfaceCreated(SurfaceHolder) - +Method in class com.google.zxing.client.android.CaptureActivity +
  +
surfaceDestroyed(SurfaceHolder) - +Method in class com.google.zxing.client.android.CaptureActivity +
  +
+
+

+T

+
+
TEL - +Static variable in class com.google.zxing.client.result.ParsedResultType +
  +
TelParsedResult - Class in com.google.zxing.client.result
 
TelParsedResult(String, String, String) - +Constructor for class com.google.zxing.client.result.TelParsedResult +
  +
TelResultHandler - Class in com.google.zxing.client.android.result
 
TelResultHandler(Activity, ParsedResult) - +Constructor for class com.google.zxing.client.android.result.TelResultHandler +
  +
TERMINATOR - +Static variable in class com.google.zxing.qrcode.decoder.Mode +
  +
TEXT - +Static variable in class com.google.zxing.client.android.Contents.Type +
Plain text. +
TEXT - +Static variable in class com.google.zxing.client.result.ParsedResultType +
  +
TextParsedResult - Class in com.google.zxing.client.result
A simple result type encapsulating a string that has no further + interpretation.
TextParsedResult(String, String) - +Constructor for class com.google.zxing.client.result.TextParsedResult +
  +
TextResultHandler - Class in com.google.zxing.client.android.result
This class handles TextParsedResult as well as unknown formats.
TextResultHandler(Activity, ParsedResult) - +Constructor for class com.google.zxing.client.android.result.TextResultHandler +
  +
title_about - +Static variable in class com.google.zxing.client.android.R.string +
  +
toString() - +Method in class com.google.zxing.BarcodeFormat +
  +
toString() - +Method in class com.google.zxing.client.result.ParsedResult +
  +
toString() - +Method in class com.google.zxing.client.result.ParsedResultType +
  +
toString() - +Method in class com.google.zxing.common.BaseMonochromeBitmapSource +
  +
toString() - +Method in class com.google.zxing.common.BitArray +
  +
toString() - +Method in class com.google.zxing.common.BitMatrix +
  +
toString() - +Method in class com.google.zxing.common.ByteMatrix +
  +
toString() - +Method in class com.google.zxing.datamatrix.decoder.Version +
  +
toString() - +Method in class com.google.zxing.qrcode.decoder.ErrorCorrectionLevel +
  +
toString() - +Method in class com.google.zxing.qrcode.decoder.Mode +
  +
toString() - +Method in class com.google.zxing.qrcode.decoder.Version +
  +
toString() - +Method in class com.google.zxing.qrcode.encoder.BitVector +
  +
toString() - +Method in class com.google.zxing.qrcode.encoder.QRCode +
  +
toString() - +Method in class com.google.zxing.Result +
  +
toString() - +Method in class com.google.zxing.ResultPoint +
  +
transparent - +Static variable in class com.google.zxing.client.android.R.color +
  +
TRY_HARDER - +Static variable in class com.google.zxing.DecodeHintType +
Spend more time to try to find a barcode; optimize for accuracy, not speed. +
TWO_D_SAMPLING - +Static variable in class com.google.zxing.BlackPointEstimationMethod +
Method probably most suitable for use with 2D barcdoe format. +
TYPE - +Static variable in class com.google.zxing.client.android.Intents.Encode +
The type of data being supplied if the format is QR Code. +
type_text_view - +Static variable in class com.google.zxing.client.android.R.id +
  +
+
+

+U

+
+
unescapeBackslash(String) - +Static method in class com.google.zxing.client.result.ResultParser +
  +
UPC_A - +Static variable in class com.google.zxing.BarcodeFormat +
UPC-A 1D format. +
UPC_A - +Static variable in class com.google.zxing.client.android.Contents.Format +
  +
UPC_E - +Static variable in class com.google.zxing.BarcodeFormat +
UPC-E 1D format. +
UPC_E - +Static variable in class com.google.zxing.client.android.Contents.Format +
  +
UPCAReader - Class in com.google.zxing.oned
Implements decoding of the UPC-A format.
UPCAReader() - +Constructor for class com.google.zxing.oned.UPCAReader +
  +
UPCEANReader - Interface in com.google.zxing.oned
This interfaces captures additional functionality that readers of + UPC/EAN family of barcodes should expose.
UPCEANWriter - Interface in com.google.zxing.oned
 
UPCEReader - Class in com.google.zxing.oned
Implements decoding of the UPC-E format.
UPCEReader() - +Constructor for class com.google.zxing.oned.UPCEReader +
  +
update(Graphics) - +Method in class com.google.zxing.client.bug.ImageCanvas +
  +
URI - +Static variable in class com.google.zxing.client.result.ParsedResultType +
  +
URIParsedResult - Class in com.google.zxing.client.result
 
URIParsedResult(String, String) - +Constructor for class com.google.zxing.client.result.URIParsedResult +
  +
URIResultHandler - Class in com.google.zxing.client.android.result
 
URIResultHandler(Activity, ParsedResult) - +Constructor for class com.google.zxing.client.android.result.URIResultHandler +
  +
URLDecoder - Class in com.google.zxing.client.rim.util
Used to decode URL encoded characters.
+
+

+V

+
+
Version - Class in com.google.zxing.datamatrix.decoder
The Version object encapsulates attributes about a particular + size Data Matrix Code.
Version - Class in com.google.zxing.qrcode.decoder
See ISO 18004:2006 Annex D
Version.ECB - Class in com.google.zxing.qrcode.decoder
Encapsualtes the parameters for one error-correction block in one symbol version.
Version.ECBlocks - Class in com.google.zxing.qrcode.decoder
Encapsulates a set of error-correction blocks in one symbol version.
viewfinder_frame - +Static variable in class com.google.zxing.client.android.R.color +
  +
viewfinder_laser - +Static variable in class com.google.zxing.client.android.R.color +
  +
viewfinder_mask - +Static variable in class com.google.zxing.client.android.R.color +
  +
viewfinder_view - +Static variable in class com.google.zxing.client.android.R.id +
  +
ViewfinderView - +Static variable in class com.google.zxing.client.android.R.styleable +
Attributes that can be used with a ViewfinderView. +
ViewfinderView - Class in com.google.zxing.client.android
This view is overlaid on top of the camera preview.
ViewfinderView(Context, AttributeSet) - +Constructor for class com.google.zxing.client.android.ViewfinderView +
  +
+
+

+W

+
+
wasResonableTime() - +Method in class com.google.zxing.client.rim.util.ReasonableTimer +
Returns true if the timer finished in a reasonable amount of time. +
webSearch(String) - +Method in class com.google.zxing.client.android.result.ResultHandler +
  +
width - +Variable in class com.google.zxing.common.BitMatrix +
  +
width() - +Method in class com.google.zxing.common.ByteMatrix +
  +
Writer - Interface in com.google.zxing
The base class for all objects which encode/generate a barcode image.
WriterException - Exception in com.google.zxing
A base class which covers the range of exceptions which may occur when encoding a barcode using + the Writer framework.
WriterException() - +Constructor for exception com.google.zxing.WriterException +
  +
WriterException(String) - +Constructor for exception com.google.zxing.WriterException +
  +
+
+

+X

+
+
xor(BitVector) - +Method in class com.google.zxing.qrcode.encoder.BitVector +
  +
+
+

+Y

+
+
YUVMonochromeBitmapSource - Class in com.google.zxing.client.android
This object implements MonochromeBitmapSource around an array of YUV data, giving you the option + to crop to a rectangle within the full data.
YUVMonochromeBitmapSource(byte[], int, int) - +Constructor for class com.google.zxing.client.android.YUVMonochromeBitmapSource +
Builds an object around a YUV buffer from the camera. +
YUVMonochromeBitmapSource(byte[], int, int, Rect) - +Constructor for class com.google.zxing.client.android.YUVMonochromeBitmapSource +
Builds an object around a YUV buffer from the camera. +
YUVMonochromeBitmapSource(byte[], int, int, int, int, int, int) - +Constructor for class com.google.zxing.client.android.YUVMonochromeBitmapSource +
Builds an object around a YUV buffer from the camera. +
+
+

+Z

+
+
zxing_icon - +Static variable in class com.google.zxing.client.android.R.drawable +
  +
zxing_url - +Static variable in class com.google.zxing.client.android.R.string +
  +
ZXingMIDlet - Class in com.google.zxing.client.j2me
The actual reader application MIDlet.
ZXingMIDlet() - +Constructor for class com.google.zxing.client.j2me.ZXingMIDlet +
  +
ZXingUiApplication - Class in com.google.zxing.client.rim
Starts the application with the MenuScreen screen on the stack.
+
+A B C D E F G H I K L M N O P Q R S T U V W X Y Z + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/index.html b/docs/javadoc/index.html new file mode 100644 index 000000000..e8f3d2a32 --- /dev/null +++ b/docs/javadoc/index.html @@ -0,0 +1,39 @@ + + + + + + +Generated Documentation (Untitled) + + + + + + + + + + + +<H2> +Frame Alert</H2> + +<P> +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. +<BR> +Link to<A HREF="overview-summary.html">Non-frame version.</A> + + + diff --git a/docs/javadoc/overview-frame.html b/docs/javadoc/overview-frame.html new file mode 100644 index 000000000..cdd87869e --- /dev/null +++ b/docs/javadoc/overview-frame.html @@ -0,0 +1,104 @@ + + + + + + +Overview List + + + + + + + + + + + + + + + +
+
+ + + + + +
All Classes +

+ +Packages +
+com.google.zxing +
+com.google.zxing.client.android +
+com.google.zxing.client.android.result +
+com.google.zxing.client.bug +
+com.google.zxing.client.bug.app +
+com.google.zxing.client.bug.servicetracker +
+com.google.zxing.client.j2me +
+com.google.zxing.client.j2se +
+com.google.zxing.client.result +
+com.google.zxing.client.result.optional +
+com.google.zxing.client.rim +
+com.google.zxing.client.rim.persistence +
+com.google.zxing.client.rim.persistence.history +
+com.google.zxing.client.rim.util +
+com.google.zxing.common +
+com.google.zxing.common.detector +
+com.google.zxing.common.reedsolomon +
+com.google.zxing.datamatrix +
+com.google.zxing.datamatrix.decoder +
+com.google.zxing.datamatrix.detector +
+com.google.zxing.multi +
+com.google.zxing.multi.qrcode +
+com.google.zxing.multi.qrcode.detector +
+com.google.zxing.oned +
+com.google.zxing.pdf417 +
+com.google.zxing.pdf417.decoder +
+com.google.zxing.pdf417.detector +
+com.google.zxing.qrcode +
+com.google.zxing.qrcode.decoder +
+com.google.zxing.qrcode.detector +
+com.google.zxing.qrcode.encoder +
+com.google.zxing.web +
+

+ +

+  + + diff --git a/docs/javadoc/overview-summary.html b/docs/javadoc/overview-summary.html new file mode 100644 index 000000000..f6cf832f8 --- /dev/null +++ b/docs/javadoc/overview-summary.html @@ -0,0 +1,273 @@ + + + + + + +Overview + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages
com.google.zxing 
com.google.zxing.client.android 
com.google.zxing.client.android.result 
com.google.zxing.client.bug 
com.google.zxing.client.bug.app 
com.google.zxing.client.bug.servicetracker 
com.google.zxing.client.j2me 
com.google.zxing.client.j2se 
com.google.zxing.client.result 
com.google.zxing.client.result.optional 
com.google.zxing.client.rim 
com.google.zxing.client.rim.persistence 
com.google.zxing.client.rim.persistence.history 
com.google.zxing.client.rim.util 
com.google.zxing.common 
com.google.zxing.common.detector 
com.google.zxing.common.reedsolomon 
com.google.zxing.datamatrix 
com.google.zxing.datamatrix.decoder 
com.google.zxing.datamatrix.detector 
com.google.zxing.multi 
com.google.zxing.multi.qrcode 
com.google.zxing.multi.qrcode.detector 
com.google.zxing.oned 
com.google.zxing.pdf417 
com.google.zxing.pdf417.decoder 
com.google.zxing.pdf417.detector 
com.google.zxing.qrcode 
com.google.zxing.qrcode.decoder 
com.google.zxing.qrcode.detector 
com.google.zxing.qrcode.encoder 
com.google.zxing.web 
+ +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/overview-tree.html b/docs/javadoc/overview-tree.html new file mode 100644 index 000000000..3bb534c7e --- /dev/null +++ b/docs/javadoc/overview-tree.html @@ -0,0 +1,276 @@ + + + + + + +Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For All Packages

+
+
+
Package Hierarchies:
com.google.zxing, com.google.zxing.client.android, com.google.zxing.client.android.result, com.google.zxing.client.bug, com.google.zxing.client.bug.app, com.google.zxing.client.bug.servicetracker, com.google.zxing.client.j2me, com.google.zxing.client.j2se, com.google.zxing.client.result, com.google.zxing.client.result.optional, com.google.zxing.client.rim, com.google.zxing.client.rim.persistence, com.google.zxing.client.rim.persistence.history, com.google.zxing.client.rim.util, com.google.zxing.common, com.google.zxing.common.detector, com.google.zxing.common.reedsolomon, com.google.zxing.datamatrix, com.google.zxing.datamatrix.decoder, com.google.zxing.datamatrix.detector, com.google.zxing.multi, com.google.zxing.multi.qrcode, com.google.zxing.multi.qrcode.detector, com.google.zxing.oned, com.google.zxing.pdf417, com.google.zxing.pdf417.decoder, com.google.zxing.pdf417.detector, com.google.zxing.qrcode, com.google.zxing.qrcode.decoder, com.google.zxing.qrcode.detector, com.google.zxing.qrcode.encoder, com.google.zxing.web
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/package-list b/docs/javadoc/package-list new file mode 100644 index 000000000..7d2420e25 --- /dev/null +++ b/docs/javadoc/package-list @@ -0,0 +1,32 @@ +com.google.zxing +com.google.zxing.client.android +com.google.zxing.client.android.result +com.google.zxing.client.bug +com.google.zxing.client.bug.app +com.google.zxing.client.bug.servicetracker +com.google.zxing.client.j2me +com.google.zxing.client.j2se +com.google.zxing.client.result +com.google.zxing.client.result.optional +com.google.zxing.client.rim +com.google.zxing.client.rim.persistence +com.google.zxing.client.rim.persistence.history +com.google.zxing.client.rim.util +com.google.zxing.common +com.google.zxing.common.detector +com.google.zxing.common.reedsolomon +com.google.zxing.datamatrix +com.google.zxing.datamatrix.decoder +com.google.zxing.datamatrix.detector +com.google.zxing.multi +com.google.zxing.multi.qrcode +com.google.zxing.multi.qrcode.detector +com.google.zxing.oned +com.google.zxing.pdf417 +com.google.zxing.pdf417.decoder +com.google.zxing.pdf417.detector +com.google.zxing.qrcode +com.google.zxing.qrcode.decoder +com.google.zxing.qrcode.detector +com.google.zxing.qrcode.encoder +com.google.zxing.web diff --git a/docs/javadoc/resources/inherit.gif b/docs/javadoc/resources/inherit.gif new file mode 100644 index 000000000..c814867a1 Binary files /dev/null and b/docs/javadoc/resources/inherit.gif differ diff --git a/docs/javadoc/serialized-form.html b/docs/javadoc/serialized-form.html new file mode 100644 index 000000000..500b9809a --- /dev/null +++ b/docs/javadoc/serialized-form.html @@ -0,0 +1,314 @@ + + + + + + +Serialized Form + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Serialized Form

+
+
+ + + + + +
+Package com.google.zxing
+ +

+ + + + + +
+Class com.google.zxing.ReaderException extends java.lang.Exception implements Serializable
+ +

+ +

+ + + + + +
+Class com.google.zxing.WriterException extends java.lang.Exception implements Serializable
+ +

+


+ + + + + +
+Package com.google.zxing.client.bug
+ +

+ + + + + +
+Class com.google.zxing.client.bug.ImageCanvas extends java.awt.Canvas implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+image

+
+java.awt.Image image
+
+
+
+
+
+ + + + + +
+Package com.google.zxing.client.j2se
+ +

+ + + + + +
+Class com.google.zxing.client.j2se.GUIRunner extends javax.swing.JFrame implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+imageLabel

+
+javax.swing.JLabel imageLabel
+
+
+
+
+
+

+textArea

+
+javax.swing.JTextArea textArea
+
+
+
+
+
+ + + + + +
+Package com.google.zxing.common.reedsolomon
+ +

+ + + + + +
+Class com.google.zxing.common.reedsolomon.ReedSolomonException extends java.lang.Exception implements Serializable
+ +

+


+ + + + + +
+Package com.google.zxing.web
+ +

+ + + + + +
+Class com.google.zxing.web.DecodeServlet extends javax.servlet.http.HttpServlet implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+client

+
+org.apache.http.client.HttpClient client
+
+
+
+
+
+

+diskFileItemFactory

+
+org.apache.commons.fileupload.disk.DiskFileItemFactory diskFileItemFactory
+
+
+
+
+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/javadoc/stylesheet.css b/docs/javadoc/stylesheet.css new file mode 100644 index 000000000..6ea9e5161 --- /dev/null +++ b/docs/javadoc/stylesheet.css @@ -0,0 +1,29 @@ +/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF; color:#000000 } + +/* Headings */ +h1 { font-size: 145% } + +/* Table colors */ +.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ +.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ +.TableRowColor { background: #FFFFFF; color:#000000 } /* White */ + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ +.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} +