nl.bitwalker.useragentutils
Enum Manufacturer

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

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

Enum constants representing manufacturers of operating systems and client software. Manufacturer could be used for specific handling of browser requests.

Author:
harald

Enum Constant Summary
AOL
          AOL LLC.
APPLE
          Apple Inc.
BLACKBERRY
          Research In Motion Limited
COMPUSERVE
          CompuServe Interactive Services, Inc.
GOOGLE
          Google Inc.
MICROSOFT
          Microsoft Corporation
MMC
          Mail.com Media Corporation
MOZILLA
          Mozilla Foundation
NINTENDO
          Nintendo
NOKIA
          Nokia Corporation
OPERA
          Opera Software ASA
OTHER
          Unknow or rare manufacturer
PALM
          Palm, Inc.
SONY
          Sony Computer Entertainment, Inc.
SONY_ERICSSON
          Sony Ericsson Mobile Communications AB
SUN
          Sun Microsystems, Inc.
SYMBIAN
          Symbian Ltd.
YAHOO
          Yahoo Inc.
 
Method Summary
 byte getId()
           
 java.lang.String getName()
           
static Manufacturer valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Manufacturer[] 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

OTHER

public static final Manufacturer OTHER
Unknow or rare manufacturer


MICROSOFT

public static final Manufacturer MICROSOFT
Microsoft Corporation


APPLE

public static final Manufacturer APPLE
Apple Inc.


SUN

public static final Manufacturer SUN
Sun Microsystems, Inc.


SYMBIAN

public static final Manufacturer SYMBIAN
Symbian Ltd.


NOKIA

public static final Manufacturer NOKIA
Nokia Corporation


BLACKBERRY

public static final Manufacturer BLACKBERRY
Research In Motion Limited


PALM

public static final Manufacturer PALM
Palm, Inc.


SONY_ERICSSON

public static final Manufacturer SONY_ERICSSON
Sony Ericsson Mobile Communications AB


SONY

public static final Manufacturer SONY
Sony Computer Entertainment, Inc.


NINTENDO

public static final Manufacturer NINTENDO
Nintendo


OPERA

public static final Manufacturer OPERA
Opera Software ASA


MOZILLA

public static final Manufacturer MOZILLA
Mozilla Foundation


GOOGLE

public static final Manufacturer GOOGLE
Google Inc.


COMPUSERVE

public static final Manufacturer COMPUSERVE
CompuServe Interactive Services, Inc.


YAHOO

public static final Manufacturer YAHOO
Yahoo Inc.


AOL

public static final Manufacturer AOL
AOL LLC.


MMC

public static final Manufacturer MMC
Mail.com Media Corporation

Method Detail

values

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

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

valueOf

public static Manufacturer 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 byte getId()
Returns:
the id

getName

public java.lang.String getName()
Returns:
the name


Copyright © 2011. All Rights Reserved.