SymbologyEncodeType
Inheritance: java.lang.Object, com.aspose.barcode.generation.BaseEncodeType
public class SymbologyEncodeType extends BaseEncodeType
Symbology encode type. See EncodeTypes to get instance.
Create symbology encode type SymbologyEncodeType symbologyType = EncodeTypes.GS_1_CODE_128
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
other | java.lang.Object | An 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:
Parameter | Type | Description |
---|---|---|
instance | BaseEncodeType | The 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:
Parameter | Type | Description |
---|---|---|
stringEncodeType | java.lang.String | A 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:
Parameter | Type | Description |
---|---|---|
parsingType | java.lang.String | A string in the format as “Index:-1; Name:None” to convert. |
result | BaseEncodeType[] | 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:
Parameter | Type | Description |
---|---|---|
parsingType | java.lang.String | A string in the format as “Index:-1; Name:None” to convert. |
result | SymbologyEncodeType[] | 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:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |