public enum QuotingBehavior extends Enum<QuotingBehavior>
Contains all the possible quoting-behaviors a CSV-writer may have.
Modifier and Type | Method and Description |
---|---|
static @Nullable QuotingBehavior |
fromCode(int code)
Gets the enumeration value given the proper unique code.
|
int |
getCode()
Gets the unique code that lies behind this particular enumeration.
|
String |
toString()
Displays the name of the enumeration in lower case with the first letter capitalized.
|
static QuotingBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuotingBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuotingBehavior MINIMAL
public static final QuotingBehavior ALL
public static QuotingBehavior[] values()
for (QuotingBehavior c : QuotingBehavior.values()) System.out.println(c);
public static QuotingBehavior valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getCode()
@Nullable public static @Nullable QuotingBehavior fromCode(int code)
code
- The code the enumeration value should be found for.public String toString()
toString
in class Enum<QuotingBehavior>
Copyright © 2016 Unterrainer Informatik OG. All rights reserved.