|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CompressionAlgorithm>
com.morpho.morphosmart.sdk.CompressionAlgorithm
public enum CompressionAlgorithm
Enum Constant Summary | |
---|---|
MORPHO_COMPRESS_V1
This compression algorithm is recommended when the device is connected by a RS232 port. |
|
MORPHO_COMPRESS_WSQ
WSQ image compression (Wavelets Scalar Quantization algorithm) is applied. |
|
MORPHO_NO_COMPRESS
No image compression is applied. |
|
NO_IMAGE
|
Method Summary | |
---|---|
int |
getCode()
|
static CompressionAlgorithm |
GetCompressionAlgorithm(int firmwareCompressionAlgorithm)
|
java.lang.String |
getExtension()
|
java.lang.String |
getLabel()
|
protected static CompressionAlgorithm |
getValue(int id)
|
static CompressionAlgorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CompressionAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CompressionAlgorithm NO_IMAGE
public static final CompressionAlgorithm MORPHO_NO_COMPRESS
public static final CompressionAlgorithm MORPHO_COMPRESS_V1
public static final CompressionAlgorithm MORPHO_COMPRESS_WSQ
Method Detail |
---|
public static CompressionAlgorithm[] values()
for (CompressionAlgorithm c : CompressionAlgorithm.values()) System.out.println(c);
public static CompressionAlgorithm valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int getCode()
public java.lang.String getLabel()
public java.lang.String getExtension()
public static CompressionAlgorithm GetCompressionAlgorithm(int firmwareCompressionAlgorithm)
firmwareCompressionAlgorithm
- firmware Compression Algorithm
protected static CompressionAlgorithm getValue(int id)
id
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |