barcodescanner-ag凯发旗舰厅



com.spire.barcode
class barcodescanner

java.lang.object
  extended by com.spire.barcode.barcodescanner

public final class barcodescanner
extends java.lang.object

provide barcode scanning services.


constructor summary
barcodescanner()
           
 
method summary
static java.lang.string[] scan(java.awt.image.bufferedimage bitmap)
          scan barcode from bitmap.
static java.lang.string[] scan(java.awt.image.bufferedimage image, barcodetype barcodetype)
          scan barcode from image.
static java.lang.string[] scan(java.awt.image.bufferedimage bitmap, java.awt.rectangle rect, barcodetype barcodetype)
          scans barcode from bitmap.
static java.lang.string[] scan(java.io.inputstream stream)
          scan barcode from image stream.
static java.lang.string[] scan(java.io.inputstream stream, boolean includechecksum)
          scan barcode from image stream.
static java.lang.string[] scan(java.lang.string filename)
          scan barcode from image file.
static java.lang.string[] scan(java.lang.string filename, barcodetype barcodetype)
          scans barcode from image file.
static java.lang.string[] scan(java.lang.string filename, boolean includechecksum)
          scan barcode from image file.
static java.lang.string scanone(java.awt.image.bufferedimage bitmap)
          scan barcode from bitmap.
static java.lang.string scanone(java.io.inputstream stream)
          scan barcode from image stream.
static java.lang.string scanone(java.io.inputstream stream, boolean includechecksum)
          scan barcode from image stream.
static java.lang.string scanone(java.lang.string filename)
          scan barcode from image file.
static java.lang.string scanone(java.lang.string filename, boolean includechecksum)
          scan barcode from image file.
 
constructor detail

barcodescanner

public barcodescanner()
method detail

scan

public static java.lang.string[] scan(java.lang.string filename,
                                      barcodetype barcodetype)
scans barcode from image file.
parameters:
filename - file name
barcodetype - barcode type
returns:
barcode text list
throws:
java.lang.exception

scan

public static java.lang.string[] scan(java.awt.image.bufferedimage image,
                                      barcodetype barcodetype)
scan barcode from image.
parameters:
image - image object
barcodetype - barcode type
returns:
barcode text list

scan

public static java.lang.string[] scan(java.lang.string filename)
scan barcode from image file.
parameters:
filename - image file path.
returns:
barcode text list.
throws:
java.lang.exception

scan

public static java.lang.string[] scan(java.lang.string filename,
                                      boolean includechecksum)
scan barcode from image file.
parameters:
filename - image file path.
includechecksum -
returns:
barcode text list.
throws:
java.lang.exception

scanone

public static java.lang.string scanone(java.lang.string filename)
scan barcode from image file.
parameters:
filename - image file path.
returns:
barcode text list.
throws:
java.lang.exception

scanone

public static java.lang.string scanone(java.lang.string filename,
                                       boolean includechecksum)
scan barcode from image file.
parameters:
filename - image file path.
includechecksum -
returns:
barcode text list.
throws:
java.lang.exception

scan

public static java.lang.string[] scan(java.io.inputstream stream)
scan barcode from image stream.
parameters:
stream - image stream.
returns:
barcode text list.

scan

public static java.lang.string[] scan(java.io.inputstream stream,
                                      boolean includechecksum)
scan barcode from image stream.
parameters:
stream - image stream.
includechecksum -
returns:
barcode text list.

scanone

public static java.lang.string scanone(java.io.inputstream stream)
scan barcode from image stream.
parameters:
stream - image stream.
returns:
barcode text list.

scanone

public static java.lang.string scanone(java.io.inputstream stream,
                                       boolean includechecksum)
scan barcode from image stream.
parameters:
stream - image stream.
includechecksum -
returns:
barcode text list.

scan

public static java.lang.string[] scan(java.awt.image.bufferedimage bitmap)
scan barcode from bitmap.
parameters:
bitmap - bitmap object.
returns:
barcode text list.

scanone

public static java.lang.string scanone(java.awt.image.bufferedimage bitmap)
scan barcode from bitmap.
parameters:
bitmap - bitmap object.
returns:
barcode text list.

scan

public static java.lang.string[] scan(java.awt.image.bufferedimage bitmap,
                                      java.awt.rectangle rect,
                                      barcodetype barcodetype)
scans barcode from bitmap.
parameters:
bitmap - bitmap object.
rect - scan rectangle
barcodetype - barcode type
returns:
barcode text list.


网站地图