Package com.google.zxing.oned
Enum Code128Writer.CType
- java.lang.Object
-
- java.lang.Enum<Code128Writer.CType>
-
- com.google.zxing.oned.Code128Writer.CType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Code128Writer.CType>
- Enclosing class:
- Code128Writer
private static enum Code128Writer.CType extends java.lang.Enum<Code128Writer.CType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FNC_1
ONE_DIGIT
TWO_DIGITS
UNCODABLE
-
Constructor Summary
Constructors Modifier Constructor Description private
CType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Code128Writer.CType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Code128Writer.CType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNCODABLE
public static final Code128Writer.CType UNCODABLE
-
ONE_DIGIT
public static final Code128Writer.CType ONE_DIGIT
-
TWO_DIGITS
public static final Code128Writer.CType TWO_DIGITS
-
FNC_1
public static final Code128Writer.CType FNC_1
-
-
Method Detail
-
values
public static Code128Writer.CType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Code128Writer.CType c : Code128Writer.CType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Code128Writer.CType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-