public static enum BodyOptions.MIMETruncation extends java.lang.Enum<BodyOptions.MIMETruncation>
| Enum Constant and Description |
|---|
TRUNCATE_10240 |
TRUNCATE_102400 |
TRUNCATE_20480 |
TRUNCATE_4096 |
TRUNCATE_5120 |
TRUNCATE_51200 |
TRUNCATE_7168 |
TRUNCATE_ALL |
TRUNCATE_NOTHING |
| Modifier and Type | Method and Description |
|---|---|
int |
charsToKeep() |
static BodyOptions.MIMETruncation |
fromXml(java.lang.String txt) |
java.lang.String |
toString() |
static BodyOptions.MIMETruncation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BodyOptions.MIMETruncation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
java.lang.String |
xmlValue() |
public static final BodyOptions.MIMETruncation TRUNCATE_ALL
public static final BodyOptions.MIMETruncation TRUNCATE_4096
public static final BodyOptions.MIMETruncation TRUNCATE_5120
public static final BodyOptions.MIMETruncation TRUNCATE_7168
public static final BodyOptions.MIMETruncation TRUNCATE_10240
public static final BodyOptions.MIMETruncation TRUNCATE_20480
public static final BodyOptions.MIMETruncation TRUNCATE_51200
public static final BodyOptions.MIMETruncation TRUNCATE_102400
public static final BodyOptions.MIMETruncation TRUNCATE_NOTHING
public static BodyOptions.MIMETruncation[] values()
for (BodyOptions.MIMETruncation c : BodyOptions.MIMETruncation.values()) System.out.println(c);
public static BodyOptions.MIMETruncation 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 static BodyOptions.MIMETruncation fromXml(java.lang.String txt)
public int charsToKeep()
public java.lang.String xmlValue()
public java.lang.String toString()
toString in class java.lang.Enum<BodyOptions.MIMETruncation>Copyright © 2024. All Rights Reserved.