nl.bitwalker.useragentutils
Enum ApplicationType

java.lang.Object
  extended by java.lang.Enum<ApplicationType>
      extended by nl.bitwalker.useragentutils.ApplicationType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ApplicationType>

public enum ApplicationType
extends java.lang.Enum<ApplicationType>

Enum constants classifying the different types of applications which are common in referrer strings

Author:
harald

Enum Constant Summary
UNKNOWN
           
WEBMAIL
          Webmail service like Windows Live Hotmail and Gmail.
 
Method Summary
 java.lang.String getName()
           
static ApplicationType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ApplicationType[] 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

WEBMAIL

public static final ApplicationType WEBMAIL
Webmail service like Windows Live Hotmail and Gmail.


UNKNOWN

public static final ApplicationType UNKNOWN
Method Detail

values

public static ApplicationType[] 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 (ApplicationType c : ApplicationType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ApplicationType 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 name
java.lang.NullPointerException - if the argument is null

getName

public java.lang.String getName()


Copyright © 2011. All Rights Reserved.