UPCEANWriter (ZXing 3.5.0 API)

com.google.zxing.oned

## Class UPCEANWriter

- java.lang.Object
- - com.google.zxing.oned.OneDimensionalCodeWriter
  - - com.google.zxing.oned.UPCEANWriter

- All Implemented Interfaces:
    Writer
  Direct Known Subclasses:
    EAN13Writer, EAN8Writer, UPCEWriter

      public abstract class UPCEANWriter
      extends OneDimensionalCodeWriter

  Encapsulates functionality and implementation that is common to UPC and EAN families of one-dimensional barcodes.

  Author:
    aripollak@gmail.com (Ari Pollak), dsbnatut@gmail.com (Kazuki Nishiura)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UPCEANWriter()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getDefaultMargin()`

    - ### Methods inherited from class com.google.zxing.oned.OneDimensionalCodeWriter

      `appendPattern, checkNumeric, encode, encode, encode, encode, getSupportedWriteFormats`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### UPCEANWriter

          public UPCEANWriter()

  - ### Method Detail

    - #### getDefaultMargin

          public int getDefaultMargin()

      Overrides:
        `getDefaultMargin` in class `OneDimensionalCodeWriter`

Copyright © 2007–2022. All rights reserved.