org.exoplatform.gwtframework.commons.util
Enum BrowserResolver.Browser

java.lang.Object
  extended by java.lang.Enum<BrowserResolver.Browser>
      extended by org.exoplatform.gwtframework.commons.util.BrowserResolver.Browser
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BrowserResolver.Browser>
Enclosing class:
BrowserResolver

public static enum BrowserResolver.Browser
extends java.lang.Enum<BrowserResolver.Browser>


Enum Constant Summary
CHROME
           
FIREFOX
           
IE
           
SAFARI
           
 
Method Summary
 boolean isCurrent()
           
 java.lang.String toString()
           
static BrowserResolver.Browser valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BrowserResolver.Browser[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

IE

public static final BrowserResolver.Browser IE

SAFARI

public static final BrowserResolver.Browser SAFARI

CHROME

public static final BrowserResolver.Browser CHROME

FIREFOX

public static final BrowserResolver.Browser FIREFOX
Method Detail

values

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

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

valueOf

public static BrowserResolver.Browser 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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<BrowserResolver.Browser>

isCurrent

public boolean isCurrent()


Copyright © 2012 eXo Platform SAS. All Rights Reserved.