BaseEncodeType

Inheritance: java.lang.Object

public class BaseEncodeType

Base class for SymbologyEncodeType.

Methods

MethodDescription
equals(Object other)Returns a value indicating whether this instance is equal to a specified BaseEncodeType value.
getClass()
getClassification()Gets a classification of this symbology.
getString()Converts the instance of BaseEncodeType to its equivalent string representation.
getString(BaseEncodeType instance)Converts the instance of BaseEncodeType to its equivalent string representation.
getTypeIndex()Gets an index of encode type
getTypeName()Gets a name of encode type
hashCode()Returns the hash code for this instance.
notify()
notifyAll()
parse(String stringEncodeType)Converts the string representation of the name of a BaseEncodeType to its instance.
toString()Returns the name of the given BaseEncodeType as a string.
tryParse(String parsingType, BaseEncodeType[] result)Converts the string representation of a BaseEncodeType to its instance.
tryParse(String parsingType, SymbologyEncodeType[] result)Converts the string representation of a BaseEncodeType to its instance.
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object other)

public boolean equals(Object other)

Returns a value indicating whether this instance is equal to a specified BaseEncodeType value.

Parameters:

ParameterTypeDescription
otherjava.lang.ObjectAn BaseEncodeType value to compare to this instance.

Returns: boolean - true if obj has the same value as this instance; otherwise, false .

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getClassification()

public BarcodeClassifications getClassification()

Gets a classification of this symbology.

Returns: BarcodeClassifications

getString()

public String getString()

Converts the instance of BaseEncodeType to its equivalent string representation. The string format is: “Index:0; Name:Codabar”.

Returns: java.lang.String - A string representing the complete value of the encode type

getString(BaseEncodeType instance)

public static String getString(BaseEncodeType instance)

Converts the instance of BaseEncodeType to its equivalent string representation. The string format is: “Index:-1; Name:None”.

Parameters:

ParameterTypeDescription
instanceBaseEncodeTypeThe BaseEncodeType instance to convert

Returns: java.lang.String - A string representing the complete value of the given encode type

getTypeIndex()

public short getTypeIndex()

Gets an index of encode type

Returns: short

getTypeName()

public String getTypeName()

Gets a name of encode type

Returns: java.lang.String

hashCode()

public int hashCode()

Returns the hash code for this instance.

Returns: int - A 32-bit signed integer hash code.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

parse(String stringEncodeType)

public static BaseEncodeType parse(String stringEncodeType)

Converts the string representation of the name of a BaseEncodeType to its instance.

Parameters:

ParameterTypeDescription
stringEncodeTypejava.lang.StringA string containing the name of a BaseEncodeType to convert.

Returns: BaseEncodeType - the instance of , if conversion was successful; otherwise, it returns .

toString()

public String toString()

Returns the name of the given BaseEncodeType as a string.

Returns: java.lang.String - A string representing the name of the encode type

tryParse(String parsingType, BaseEncodeType[] result)

public static boolean tryParse(String parsingType, BaseEncodeType[] result)

Converts the string representation of a BaseEncodeType to its instance. A return value indicates whether the conversion succeeded or failed.

Parameters:

ParameterTypeDescription
parsingTypejava.lang.StringA string in the format as “Index:-1; Name:None” to convert.
resultBaseEncodeType[]An actual SingleEncodeType returns, when conversion has completed successfully;

otherwise it returns null. |

Returns: boolean - true if s was converted successfully; otherwise, false .

tryParse(String parsingType, SymbologyEncodeType[] result)

public static boolean tryParse(String parsingType, SymbologyEncodeType[] result)

Converts the string representation of a BaseEncodeType to its instance. A return value indicates whether the conversion succeeded or failed.

Parameters:

ParameterTypeDescription
parsingTypejava.lang.StringA string in the format as “Index:-1; Name:None” to convert.
resultSymbologyEncodeType[]An actual SingleEncodeType returns, when conversion has completed successfully;

otherwise it returns null. |

Returns: boolean - true if s was converted successfully; otherwise, false .

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int