PngCompressionMethod
Inheritance: java.lang.Object, java.lang.Enum
All Implemented Interfaces: com.groupdocs.metadata.core.IEnumValue
public enum PngCompressionMethod extends Enum<PngCompressionMethod> implements IEnumValue
Defines compression methods used in the PNG format.
Fields
Field | Description |
---|---|
Deflate | Represents the deflate/inflate compression with a sliding window. |
Methods
Deflate
public static final PngCompressionMethod Deflate
Represents the deflate/inflate compression with a sliding window.
values()
public static PngCompressionMethod[] values()
Returns: com.groupdocs.metadata.core.PngCompressionMethod[]
valueOf(String name)
public static PngCompressionMethod valueOf(String name)
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: PngCompressionMethod
getByRawValue(int rawValue)
public static PngCompressionMethod getByRawValue(int rawValue)
Parameters:
Parameter | Type | Description |
---|---|---|
rawValue | int |
Returns: PngCompressionMethod
getFirst()
public static IEnumValue getFirst()
Returns: IEnumValue
getAllValues()
public Object[] getAllValues()
Returns the array of all values defined in the class.
Returns: java.lang.Object[]
getEnumValueByRawValue(int rawValue)
public IEnumValue getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
Parameters:
Parameter | Type | Description |
---|---|---|
rawValue | int |
Returns: IEnumValue
getEnumValueByName(String name)
public IEnumValue getEnumValueByName(String name)
Returns the enumeration value by its name.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: IEnumValue
getRawValueType()
public RawIntegerType getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
Returns: RawIntegerType
getRawValue()
public int getRawValue()
Returns the raw value of this enumeration value.
Returns: int