Package org.codelibs.fess.helper
Enum UserAgentHelper.UserAgentType
- java.lang.Object
-
- java.lang.Enum<UserAgentHelper.UserAgentType>
-
- org.codelibs.fess.helper.UserAgentHelper.UserAgentType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<UserAgentHelper.UserAgentType>
- Enclosing class:
- UserAgentHelper
public static enum UserAgentHelper.UserAgentType extends java.lang.Enum<UserAgentHelper.UserAgentType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserAgentHelper.UserAgentTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static UserAgentHelper.UserAgentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IE
public static final UserAgentHelper.UserAgentType IE
-
FIREFOX
public static final UserAgentHelper.UserAgentType FIREFOX
-
CHROME
public static final UserAgentHelper.UserAgentType CHROME
-
SAFARI
public static final UserAgentHelper.UserAgentType SAFARI
-
OPERA
public static final UserAgentHelper.UserAgentType OPERA
-
OTHER
public static final UserAgentHelper.UserAgentType OTHER
-
-
Method Detail
-
values
public static UserAgentHelper.UserAgentType[] 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 (UserAgentHelper.UserAgentType c : UserAgentHelper.UserAgentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserAgentHelper.UserAgentType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-