public enum PrettyPrinterDisplayType extends java.lang.Enum<PrettyPrinterDisplayType>
| Modifier and Type | Method and Description |
|---|---|
Page.ResourceType |
getResourceType()
Converts PrettyPrinterDisplayType values to the appropriate
Page.ResourceType values that Stetho understands |
static PrettyPrinterDisplayType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrettyPrinterDisplayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrettyPrinterDisplayType JSON
public static final PrettyPrinterDisplayType HTML
public static final PrettyPrinterDisplayType TEXT
public static PrettyPrinterDisplayType[] values()
for (PrettyPrinterDisplayType c : PrettyPrinterDisplayType.values()) System.out.println(c);
public static PrettyPrinterDisplayType 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 Page.ResourceType getResourceType()
Page.ResourceType values that Stetho understands