public static enum Base64Benchmark.Codec extends java.lang.Enum<Base64Benchmark.Codec>
Enum Constant and Description |
---|
commonsCodec
Codec of Apache Commons Codec.
|
dataTypeConverter
Codec of JAXB, part of the Java runtime since 1.6.
|
javaUtil
Official codec of the Java runtime since 1.8.
|
migBase
Codec of MiGBase64, repackaged by brsanthu.
|
xstreamInternal
XStream's own codec.
|
Modifier and Type | Method and Description |
---|---|
abstract byte[] |
decode(java.lang.String encoded) |
abstract java.lang.String |
encode(byte[] data) |
static Base64Benchmark.Codec |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Base64Benchmark.Codec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Base64Benchmark.Codec xstreamInternal
public static final Base64Benchmark.Codec dataTypeConverter
public static final Base64Benchmark.Codec javaUtil
public static final Base64Benchmark.Codec commonsCodec
public static final Base64Benchmark.Codec migBase
public static Base64Benchmark.Codec[] values()
for (Base64Benchmark.Codec c : Base64Benchmark.Codec.values()) System.out.println(c);
public static Base64Benchmark.Codec 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 namejava.lang.NullPointerException
- if the argument is nullpublic abstract byte[] decode(java.lang.String encoded)
public abstract java.lang.String encode(byte[] data)
Copyright © 2004–2024 XStream. All rights reserved.