Package com.hierynomus.mssmb2
Enum SMB3CompressionAlgorithm
- java.lang.Object
-
- java.lang.Enum<SMB3CompressionAlgorithm>
-
- com.hierynomus.mssmb2.SMB3CompressionAlgorithm
-
- All Implemented Interfaces:
EnumWithValue<SMB3CompressionAlgorithm>
,java.io.Serializable
,java.lang.Comparable<SMB3CompressionAlgorithm>
,java.lang.constant.Constable
public enum SMB3CompressionAlgorithm extends java.lang.Enum<SMB3CompressionAlgorithm> implements EnumWithValue<SMB3CompressionAlgorithm>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
-
Nested classes/interfaces inherited from interface com.hierynomus.protocol.commons.EnumWithValue
EnumWithValue.EnumUtils
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LZ77
LZ77_HUFFMAN
LZNT1
NONE
-
Method Summary
Modifier and Type Method Description long
getValue()
static SMB3CompressionAlgorithm
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SMB3CompressionAlgorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final SMB3CompressionAlgorithm NONE
-
LZNT1
public static final SMB3CompressionAlgorithm LZNT1
-
LZ77
public static final SMB3CompressionAlgorithm LZ77
-
LZ77_HUFFMAN
public static final SMB3CompressionAlgorithm LZ77_HUFFMAN
-
-
Method Detail
-
values
public static SMB3CompressionAlgorithm[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SMB3CompressionAlgorithm 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
-
getValue
public long getValue()
- Specified by:
getValue
in interfaceEnumWithValue<SMB3CompressionAlgorithm>
-
-