ClientLibrary
instead.@Deprecated public enum LibraryType extends Enum<LibraryType>
LibraryType
...Enum Constant and Description |
---|
CSS
Deprecated.
CSS library type
|
JS
Deprecated.
JS library type
|
Modifier and Type | Field and Description |
---|---|
String |
contentType
Deprecated.
The content type of the library
|
String |
extension
Deprecated.
The extension, including the dot (.)
|
Modifier and Type | Method and Description |
---|---|
static LibraryType |
fromRequest(SlingHttpServletRequest request)
Deprecated.
|
static LibraryType |
valueOf(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 String extension
public final String contentType
public static LibraryType[] values()
for (LibraryType c : LibraryType.values()) System.out.println(c);
public static LibraryType 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 static LibraryType fromRequest(SlingHttpServletRequest request)
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"