com.atlassian.jira.util
Enum UserAgentUtil.OperatingSystem.OperatingSystemFamily

java.lang.Object
  extended by java.lang.Enum<UserAgentUtil.OperatingSystem.OperatingSystemFamily>
      extended by com.atlassian.jira.util.UserAgentUtil.OperatingSystem.OperatingSystemFamily
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<UserAgentUtil.OperatingSystem.OperatingSystemFamily>
Enclosing class:
UserAgentUtil.OperatingSystem

public static enum UserAgentUtil.OperatingSystem.OperatingSystemFamily
extends java.lang.Enum<UserAgentUtil.OperatingSystem.OperatingSystemFamily>


Enum Constant Summary
AMIGA
           
BEOS
           
BLACKBERRY
           
BSD
           
GOOGLE
           
GOOGLE_BOT
           
LINUX
           
MAC
           
MSNBOT
           
NINTENDO_WII
           
NOKIA
           
SONY
           
SUN_OS
           
SYMBIAN
           
UNIX
           
UNKNOWN
           
WEB_CRAWLER
           
WINDOWS
           
 
Method Summary
 java.lang.String getUserAgentString()
           
static UserAgentUtil.OperatingSystem.OperatingSystemFamily valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static UserAgentUtil.OperatingSystem.OperatingSystemFamily[] 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

GOOGLE

public static final UserAgentUtil.OperatingSystem.OperatingSystemFamily GOOGLE

GOOGLE_BOT

public static final UserAgentUtil.OperatingSystem.OperatingSystemFamily GOOGLE_BOT

MSNBOT

public static final UserAgentUtil.OperatingSystem.OperatingSystemFamily MSNBOT

WEB_CRAWLER

public static final UserAgentUtil.OperatingSystem.OperatingSystemFamily WEB_CRAWLER

WINDOWS

public static final UserAgentUtil.OperatingSystem.OperatingSystemFamily WINDOWS

LINUX

public static final UserAgentUtil.OperatingSystem.OperatingSystemFamily LINUX

MAC

public static final UserAgentUtil.OperatingSystem.OperatingSystemFamily MAC

BSD

public static final UserAgentUtil.OperatingSystem.OperatingSystemFamily BSD

SUN_OS

public static final UserAgentUtil.OperatingSystem.OperatingSystemFamily SUN_OS

UNIX

public static final UserAgentUtil.OperatingSystem.OperatingSystemFamily UNIX

SONY

public static final UserAgentUtil.OperatingSystem.OperatingSystemFamily SONY

NOKIA

public static final UserAgentUtil.OperatingSystem.OperatingSystemFamily NOKIA

BLACKBERRY

public static final UserAgentUtil.OperatingSystem.OperatingSystemFamily BLACKBERRY

SYMBIAN

public static final UserAgentUtil.OperatingSystem.OperatingSystemFamily SYMBIAN

BEOS

public static final UserAgentUtil.OperatingSystem.OperatingSystemFamily BEOS

AMIGA

public static final UserAgentUtil.OperatingSystem.OperatingSystemFamily AMIGA

NINTENDO_WII

public static final UserAgentUtil.OperatingSystem.OperatingSystemFamily NINTENDO_WII

UNKNOWN

public static final UserAgentUtil.OperatingSystem.OperatingSystemFamily UNKNOWN
Method Detail

values

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

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

valueOf

public static UserAgentUtil.OperatingSystem.OperatingSystemFamily 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

getUserAgentString

public java.lang.String getUserAgentString()


Copyright © 2002-2010 Atlassian. All Rights Reserved.