nl.bitwalker.useragentutils
Enum Application

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

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

Enum constants for internet applications like web-application and rich internet application.

Author:
harald

Enum Constant Summary
AOL_WEBMAIL
           
COMPUSERVE
           
GMAIL
           
HORDE
          Popular open source webmail client.
HOTMAIL
           
MAIL_COM
          Mail.com Mail.com provides consumers with web-based e-mail services
MOBILEME
          MobileMe webmail client by Apple.
OTHER_WEBMAIL
           
UNKNOWN
           
YAHOO_MAIL
           
 
Method Summary
 ApplicationType getApplicationType()
           
 short getId()
           
 Manufacturer getManufacturer()
           
 java.lang.String getName()
           
 boolean isInReferrerString(java.lang.String referrerString)
           
static Application parseReferrerString(java.lang.String referrerString)
           
static Application valueOf(short id)
          Returns the enum constant of this type with the specified id.
static Application valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Application[] 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

HOTMAIL

public static final Application HOTMAIL

GMAIL

public static final Application GMAIL

YAHOO_MAIL

public static final Application YAHOO_MAIL

COMPUSERVE

public static final Application COMPUSERVE

AOL_WEBMAIL

public static final Application AOL_WEBMAIL

MOBILEME

public static final Application MOBILEME
MobileMe webmail client by Apple. Previously known as .mac.


MAIL_COM

public static final Application MAIL_COM
Mail.com Mail.com provides consumers with web-based e-mail services


HORDE

public static final Application HORDE
Popular open source webmail client. Often installed by providers or privately.


OTHER_WEBMAIL

public static final Application OTHER_WEBMAIL

UNKNOWN

public static final Application UNKNOWN
Method Detail

values

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

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

valueOf

public static Application 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

getId

public short getId()

getName

public java.lang.String getName()

getApplicationType

public ApplicationType getApplicationType()
Returns:
the applicationType

getManufacturer

public Manufacturer getManufacturer()
Returns:
the manufacturer

isInReferrerString

public boolean isInReferrerString(java.lang.String referrerString)

parseReferrerString

public static Application parseReferrerString(java.lang.String referrerString)

valueOf

public static Application valueOf(short id)
Returns the enum constant of this type with the specified id. Throws IllegalArgumentException if the value does not exist.

Parameters:
id -
Returns:


Copyright © 2011. All Rights Reserved.