public static enum CefRequest.ResourceType extends java.lang.Enum<CefRequest.ResourceType>
限定符和类型 | 方法和说明 |
---|---|
static CefRequest.ResourceType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
返回带有指定名称的该类型的枚举常量。 |
static CefRequest.ResourceType[] |
values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
按照声明该枚举类型的常量的顺序,返回包含这些常量的数组。 |
public static final CefRequest.ResourceType RT_FAVICON
public static final CefRequest.ResourceType RT_FONT_RESOURCE
public static final CefRequest.ResourceType RT_IMAGE
public static final CefRequest.ResourceType RT_MAIN_FRAME
public static final CefRequest.ResourceType RT_MEDIA
public static final CefRequest.ResourceType RT_OBJECT
public static final CefRequest.ResourceType RT_PING
public static final CefRequest.ResourceType RT_PREFETCH
public static final CefRequest.ResourceType RT_SCRIPT
public static final CefRequest.ResourceType RT_SERVICE_WORKER
public static final CefRequest.ResourceType RT_SHARED_WORKER
public static final CefRequest.ResourceType RT_STYLESHEET
public static final CefRequest.ResourceType RT_SUB_FRAME
public static final CefRequest.ResourceType RT_SUB_RESOURCE
public static final CefRequest.ResourceType RT_WORKER
public static final CefRequest.ResourceType RT_XHR
public static CefRequest.ResourceType valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。
- 要返回的枚举常量的名称。
java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量
- 如果该枚举类型没有带有指定名称的常量
java.lang.NullPointerException
- 如果参数为空值
- 如果参数为空值
public static CefRequest.ResourceType[] values()
for (CefRequest.ResourceType c : CefRequest.ResourceType.values()) System.out.println(c);