goldengate.common.digest
Enum FilesystemBasedDigest.DigestAlgo
java.lang.Object
java.lang.Enum<FilesystemBasedDigest.DigestAlgo>
goldengate.common.digest.FilesystemBasedDigest.DigestAlgo
- All Implemented Interfaces:
- Serializable, Comparable<FilesystemBasedDigest.DigestAlgo>
- Enclosing class:
- FilesystemBasedDigest
public static enum FilesystemBasedDigest.DigestAlgo
- extends Enum<FilesystemBasedDigest.DigestAlgo>
All Algo that Digest Class could handle
- Author:
- Frederic Bregier
CRC32
public static final FilesystemBasedDigest.DigestAlgo CRC32
ADLER32
public static final FilesystemBasedDigest.DigestAlgo ADLER32
MD5
public static final FilesystemBasedDigest.DigestAlgo MD5
MD2
public static final FilesystemBasedDigest.DigestAlgo MD2
SHA1
public static final FilesystemBasedDigest.DigestAlgo SHA1
SHA256
public static final FilesystemBasedDigest.DigestAlgo SHA256
SHA384
public static final FilesystemBasedDigest.DigestAlgo SHA384
SHA512
public static final FilesystemBasedDigest.DigestAlgo SHA512
name
public String name
byteSize
public int byteSize
values
public static FilesystemBasedDigest.DigestAlgo[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (FilesystemBasedDigest.DigestAlgo c : FilesystemBasedDigest.DigestAlgo.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FilesystemBasedDigest.DigestAlgo valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getByteSize
public int getByteSize()
- Returns:
- the length in bytes of one Digest
getHexSize
public int getHexSize()
- Returns:
- the length in Hex form of one Digest
Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.