Package lumis.portal.theme
Enum IThemeSPI.ResourceFolder
- java.lang.Object
-
- java.lang.Enum<IThemeSPI.ResourceFolder>
-
- lumis.portal.theme.IThemeSPI.ResourceFolder
-
- All Implemented Interfaces:
Serializable
,Comparable<IThemeSPI.ResourceFolder>
- Enclosing interface:
- IThemeSPI
public static enum IThemeSPI.ResourceFolder extends Enum<IThemeSPI.ResourceFolder>
The resources folders that the themes handles.- Since:
- 7.0.0
- Version:
- $Revision: 15055 $ $Date: 2012-11-29 18:48:37 -0200 (Thu, 29 Nov 2012) $
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFolder()
Returns the resource folder name.static IThemeSPI.ResourceFolder
valueOf(String name)
Returns the enum constant of this type with the specified name.static IThemeSPI.ResourceFolder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEF
public static final IThemeSPI.ResourceFolder DEF
The "def" folder.- Since:
- 7.0.0
-
WWW
public static final IThemeSPI.ResourceFolder WWW
The "www" folder.- Since:
- 7.0.0
-
-
Method Detail
-
values
public static IThemeSPI.ResourceFolder[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IThemeSPI.ResourceFolder c : IThemeSPI.ResourceFolder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IThemeSPI.ResourceFolder valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getFolder
public String getFolder()
Returns the resource folder name.- Returns:
- the resource folder name.
- Since:
- 7.0.0
-
-