|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<UserAgentType>
net.sf.uadetector.UserAgentType
public enum UserAgentType
This enum represents the type of an user agent. The assignment to a type is performed within the UAS data.
| Enum Constant Summary | |
|---|---|
BROWSER
A web browser, especially on a desktop, notebook or workstation |
|
EMAIL_CLIENT
An email client, email reader |
|
FEED_READER
A news aggregator, also termed a feed aggregator, feed reader, news reader, RSS reader or simply aggregator |
|
LIBRARY
A library is a collection of resources used to develop software. |
|
MEDIAPLAYER
Media player, also called multimedia player, is a term typically used to describe computer software for playing back multimedia files. |
|
MOBILE_BROWSER
A mobile browser, also called a microbrowser, minibrowser, or wireless internet browser (WIB), is a web browser designed for use on a mobile device. |
|
OFFLINE_BROWSER
Offline browser which may download completely or partially a website to a hard drive |
|
OTHER
A software that doesn't match the other types |
|
ROBOT
Bots, such as Web crawlers |
|
UNKNOWN
An unknown user agent type |
|
USERAGENT_ANONYMIZER
A software to hide the real user agent information |
|
VALIDATOR
A software or service that validates parts of a website or webservice, such as CSS, HTML, JSON, XML |
|
WAP_BROWSER
A WAP browser is a web browser for mobile devices such as mobile phones that uses the Wireless Application Protocol (WAP). |
|
| Method Summary | |
|---|---|
static UserAgentType |
evaluateByTypeName(java.lang.String typeName)
This method try to find by the given type name a matching enum value. |
java.lang.String |
getName()
Returns the name of the user agent type. |
static UserAgentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static UserAgentType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final UserAgentType BROWSER
public static final UserAgentType EMAIL_CLIENT
public static final UserAgentType FEED_READER
public static final UserAgentType LIBRARY
public static final UserAgentType MEDIAPLAYER
public static final UserAgentType MOBILE_BROWSER
public static final UserAgentType OFFLINE_BROWSER
public static final UserAgentType OTHER
public static final UserAgentType ROBOT
public static final UserAgentType UNKNOWN
public static final UserAgentType USERAGENT_ANONYMIZER
public static final UserAgentType VALIDATOR
public static final UserAgentType WAP_BROWSER
| Method Detail |
|---|
public static UserAgentType[] values()
for (UserAgentType c : UserAgentType.values()) System.out.println(c);
public static UserAgentType 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 name
java.lang.NullPointerException - if the argument is null
public static UserAgentType evaluateByTypeName(@Nonnull
java.lang.String typeName)
typeName - name of an user agent type
UserAgentType#UNKNOWN
net.sf.qualitycheck.exception.IllegalNullArgumentException - if the given argument is null@Nonnull public java.lang.String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||