Package ome.services.blitz.util
Class ChecksumAlgorithmMapper
- java.lang.Object
-
- ome.services.blitz.util.ChecksumAlgorithmMapper
-
public class ChecksumAlgorithmMapper extends java.lang.Object
Work withChecksumAlgorithm
enumeration instances, including mapping their values back toChecksumType
s.- Since:
- 5.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.function.Function<ChecksumAlgorithm,java.lang.String>
CHECKSUM_ALGORITHM_NAMER
-
Constructor Summary
Constructors Constructor Description ChecksumAlgorithmMapper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<ChecksumAlgorithm>
getAllChecksumAlgorithms()
static ChecksumAlgorithm
getChecksumAlgorithm(java.lang.String name)
static ome.util.checksum.ChecksumType
getChecksumType(ome.model.enums.ChecksumAlgorithm algorithm)
static ome.util.checksum.ChecksumType
getChecksumType(ChecksumAlgorithm algorithm)
-
-
-
Field Detail
-
CHECKSUM_ALGORITHM_NAMER
public static java.util.function.Function<ChecksumAlgorithm,java.lang.String> CHECKSUM_ALGORITHM_NAMER
-
-
Method Detail
-
getChecksumType
public static ome.util.checksum.ChecksumType getChecksumType(ome.model.enums.ChecksumAlgorithm algorithm)
-
getChecksumType
public static ome.util.checksum.ChecksumType getChecksumType(ChecksumAlgorithm algorithm)
-
getChecksumAlgorithm
public static ChecksumAlgorithm getChecksumAlgorithm(java.lang.String name)
-
getAllChecksumAlgorithms
public static java.util.List<ChecksumAlgorithm> getAllChecksumAlgorithms()
-
-