com.sibvisions.util.type
Enum StringUtil.CaseSensitiveType

java.lang.Object
  extended by java.lang.Enum<StringUtil.CaseSensitiveType>
      extended by com.sibvisions.util.type.StringUtil.CaseSensitiveType
All Implemented Interfaces:
Serializable, Comparable<StringUtil.CaseSensitiveType>
Enclosing class:
StringUtil

public static enum StringUtil.CaseSensitiveType
extends Enum<StringUtil.CaseSensitiveType>

case senstive types.


Enum Constant Summary
LowerCase
          all letters are lower case.
MixedCase
          letters are upper and lower case.
NoLetter
          no letter available.
UpperCase
          all letters are upper case.
 
Method Summary
static StringUtil.CaseSensitiveType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StringUtil.CaseSensitiveType[] 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

LowerCase

public static final StringUtil.CaseSensitiveType LowerCase
all letters are lower case.


UpperCase

public static final StringUtil.CaseSensitiveType UpperCase
all letters are upper case.


MixedCase

public static final StringUtil.CaseSensitiveType MixedCase
letters are upper and lower case.


NoLetter

public static final StringUtil.CaseSensitiveType NoLetter
no letter available.

Method Detail

values

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

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

valueOf

public static StringUtil.CaseSensitiveType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.