// Path: core/src/main/java/com/justyoyo/contrast/FormatException.java
// public final class FormatException extends ReaderException {
// 
//   private static final FormatException instance = new FormatException();
// 
//   private FormatException() {
//     // do nothing
//   }
// 
//   public static FormatException getFormatInstance() {
//     return instance;
//   }
// 
// }


import com.justyoyo.contrast.FormatException;
import java.util.HashMap;
import java.util.Map;
/*
 * Copyright 2008 ZXing authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.justyoyo.contrast.common;



/**
 * Encapsulates a Character Set ECI, according to "Extended Channel Interpretations" 5.3.1.1
 * of ISO 18004.
 *
 * @author Sean Owen
 */
public enum CharacterSetECI {

  // Enum name is a Java encoding valid for java.lang and java.io
  Cp437(new int[]{0,2}),
  ISO8859_1(new int[]{1,3}, "ISO-8859-1"),
  ISO8859_2(4, "ISO-8859-2"),
  ISO8859_3(5, "ISO-8859-3"),
// Path: core/src/main/java/com/justyoyo/contrast/FormatException.java
// public final class FormatException extends ReaderException {
// 
//   private static final FormatException instance = new FormatException();
// 
//   private FormatException() {
//     // do nothing
//   }
// 
//   public static FormatException getFormatInstance() {
//     return instance;
//   }
// 
// }


// Path: core/src/main/java/com/justyoyo/contrast/common/CharacterSetECI.java
import com.justyoyo.contrast.FormatException;
import java.util.HashMap;
import java.util.Map;

/*
 * Copyright 2008 ZXing authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.justyoyo.contrast.common;



/**
 * Encapsulates a Character Set ECI, according to "Extended Channel Interpretations" 5.3.1.1
 * of ISO 18004.
 *
 * @author Sean Owen
 */
public enum CharacterSetECI {

  // Enum name is a Java encoding valid for java.lang and java.io
  Cp437(new int[]{0,2}),
  ISO8859_1(new int[]{1,3}, "ISO-8859-1"),
  ISO8859_2(4, "ISO-8859-2"),
  ISO8859_3(5, "ISO-8859-3"),
  ISO8859_4(6, "ISO-8859-4"),