ClientLibrary instead.@Deprecated public enum LibraryType extends java.lang.Enum<LibraryType>
LibraryType...| Enum Constant and Description |
|---|
CSS
Deprecated.
CSS library type
|
JS
Deprecated.
JS library type
|
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
contentType
Deprecated.
The content type of the library
|
java.lang.String |
extension
Deprecated.
The extension, including the dot (.)
|
| Modifier and Type | Method and Description |
|---|---|
static LibraryType |
fromRequest(SlingHttpServletRequest request)
Deprecated.
|
static LibraryType |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static LibraryType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LibraryType JS
public static final LibraryType CSS
public final java.lang.String extension
public final java.lang.String contentType
public static LibraryType[] values()
for (LibraryType c : LibraryType.values()) System.out.println(c);
public static LibraryType 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 LibraryType fromRequest(SlingHttpServletRequest request)
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"