public enum EWebSiteResourceType extends Enum<EWebSiteResourceType> implements com.helger.commons.id.IHasID<String>, com.helger.commons.name.IHasDisplayName
| Modifier and Type | Method and Description |
|---|---|
abstract com.helger.html.hc.IHCNode |
createNode(com.helger.commons.url.ISimpleURL aURL,
com.helger.css.media.ICSSMediaList aMediaList) |
String |
getDisplayName() |
String |
getFileExtension() |
static EWebSiteResourceType |
getFromIDOrNull(String sID) |
String |
getID() |
com.helger.commons.mime.IMimeType |
getMimeType() |
static EWebSiteResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EWebSiteResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EWebSiteResourceType JS
public static final EWebSiteResourceType CSS
public static EWebSiteResourceType[] values()
for (EWebSiteResourceType c : EWebSiteResourceType.values()) System.out.println(c);
public static EWebSiteResourceType 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 null@Nonnull @Nonempty public String getID()
getID in interface com.helger.commons.id.IHasID<String>@Nonnull public com.helger.commons.mime.IMimeType getMimeType()
null.@Nonnull @Nonempty public String getFileExtension()
@Nonnull @Nonempty public String getDisplayName()
getDisplayName in interface com.helger.commons.name.IHasDisplayName@Nonnull public abstract com.helger.html.hc.IHCNode createNode(@Nonnull com.helger.commons.url.ISimpleURL aURL, @Nullable com.helger.css.media.ICSSMediaList aMediaList)
@Nullable public static EWebSiteResourceType getFromIDOrNull(@Nullable String sID)
Copyright © 2014–2023 Philip Helger. All rights reserved.