Class ConfiguredBarcodeFormatter

java.lang.Object
org.openwms.common.transport.barcode.ConfiguredBarcodeFormatter
All Implemented Interfaces:
BarcodeFormatter

public class ConfiguredBarcodeFormatter extends Object implements BarcodeFormatter
A ConfiguredBarcodeFormat.
Author:
Heiko Scherrer
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • pattern

      private String pattern
    • padder

      private String padder
    • length

      private String length
    • alignment

      private String alignment
    • prefix

      private String prefix
    • suffix

      private String suffix
  • Constructor Details

    • ConfiguredBarcodeFormatter

      public ConfiguredBarcodeFormatter()
  • Method Details

    • format

      @Measured public String format(String barcode)
      Format the given barcode.
      Specified by:
      format in interface BarcodeFormatter
      Parameters:
      barcode - The Barcode to format
      Returns:
      The formatted barcode or null if barcode is null