edu.berkeley.guir.papier_mache.barcode
Class EanDecoder.EanBar

java.lang.Object
  extended by edu.berkeley.guir.papier_mache.barcode.EanDecoder.EanBar
Enclosing class:
EanDecoder

public class EanDecoder.EanBar
extends java.lang.Object


Constructor Summary
EanDecoder.EanBar()
           
 
Method Summary
 boolean Decode(int[] bY, edu.berkeley.guir.papier_mache.barcode.EanDecoder.EanStatistics posEan)
           
 int getCenterGuardPos(boolean start)
           
 int getLeftCodePos(boolean start)
           
 int getLeftGuardPos(boolean start)
           
 int getRightCodePos(boolean start)
           
 int getRightGuardPos(boolean start)
           
 boolean hasCenterGuard()
           
 boolean hasLeftCode()
           
 boolean hasLeftGuard()
           
 boolean hasRightCode()
           
 boolean hasRightGuard()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EanDecoder.EanBar

public EanDecoder.EanBar()
Method Detail

hasLeftGuard

public boolean hasLeftGuard()

hasLeftCode

public boolean hasLeftCode()

getLeftCodePos

public int getLeftCodePos(boolean start)

getRightCodePos

public int getRightCodePos(boolean start)

getLeftGuardPos

public int getLeftGuardPos(boolean start)

getCenterGuardPos

public int getCenterGuardPos(boolean start)

getRightGuardPos

public int getRightGuardPos(boolean start)

hasCenterGuard

public boolean hasCenterGuard()

hasRightCode

public boolean hasRightCode()

hasRightGuard

public boolean hasRightGuard()

Decode

public boolean Decode(int[] bY,
                      edu.berkeley.guir.papier_mache.barcode.EanDecoder.EanStatistics posEan)

toString

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