Package org.apache.juneau.marshall.csv
Enum Class CsvByteArrayCellFormat
- All Implemented Interfaces:
Serializable,Comparable<CsvByteArrayCellFormat>,Constable
Format for serializing
byte[] arrays in CSV cells.
BASE64— Base64 encoding (e.g.SGVsbG8gV29ybGQ=). Matches JSON default.SEMICOLON_DELIMITED— Semicolon-delimited decimal byte values (e.g.72;101;108;108;111).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBase64 encoding.Semicolon-delimited decimal byte values. -
Method Summary
Modifier and TypeMethodDescriptionstatic CsvByteArrayCellFormatReturns the enum constant of this class with the specified name.static CsvByteArrayCellFormat[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BASE64
Base64 encoding. -
SEMICOLON_DELIMITED
Semicolon-delimited decimal byte values.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-