org.jboss.portal.common.util
Enum Base64.EncodingOption

java.lang.Object
  extended by java.lang.Enum<Base64.EncodingOption>
      extended by org.jboss.portal.common.util.Base64.EncodingOption
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Base64.EncodingOption>
Enclosing class:
Base64

public static enum Base64.EncodingOption
extends java.lang.Enum<Base64.EncodingOption>


Enum Constant Summary
NOCARRIAGERETURN
           
STANDARD
           
USEURLSAFEENCODING
           
 
Method Summary
static Base64.EncodingOption valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Base64.EncodingOption[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

USEURLSAFEENCODING

public static final Base64.EncodingOption USEURLSAFEENCODING

NOCARRIAGERETURN

public static final Base64.EncodingOption NOCARRIAGERETURN

STANDARD

public static final Base64.EncodingOption STANDARD
Method Detail

values

public static final Base64.EncodingOption[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Base64.EncodingOption c : Base64.EncodingOption.values())
        System.out.println(c);

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

valueOf

public static Base64.EncodingOption 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