Class EANManufacturerOrgSupport

java.lang.Object
com.google.zxing.oned.EANManufacturerOrgSupport

final class EANManufacturerOrgSupport extends Object
Records EAN prefix to GS1 Member Organization, where the member organization correlates strongly with a country. This is an imperfect means of identifying a country of origin by EAN-13 barcode value. See http://en.wikipedia.org/wiki/List_of_GS1_country_codes.
  • Field Details

    • ranges

      private final List<int[]> ranges
    • countryIdentifiers

      private final List<String> countryIdentifiers
  • Constructor Details

    • EANManufacturerOrgSupport

      EANManufacturerOrgSupport()
  • Method Details

    • lookupCountryIdentifier

      String lookupCountryIdentifier(String productCode)
    • add

      private void add(int[] range, String id)
    • initIfNeeded

      private void initIfNeeded()