winterwell.jtwitter
Enum TwitterAccount.KAccessLevel

java.lang.Object
  extended by java.lang.Enum<TwitterAccount.KAccessLevel>
      extended by winterwell.jtwitter.TwitterAccount.KAccessLevel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TwitterAccount.KAccessLevel>
Enclosing class:
TwitterAccount

public static enum TwitterAccount.KAccessLevel
extends java.lang.Enum<TwitterAccount.KAccessLevel>


Enum Constant Summary
NONE
          no login or invalid login
READ_ONLY
          Read public messages
READ_WRITE
          Read, write of public messages (but not DMs)
READ_WRITE_DM
          Read, write of public and private messages
 
Method Summary
static TwitterAccount.KAccessLevel valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TwitterAccount.KAccessLevel[] 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

NONE

public static final TwitterAccount.KAccessLevel NONE
no login or invalid login


READ_ONLY

public static final TwitterAccount.KAccessLevel READ_ONLY
Read public messages


READ_WRITE

public static final TwitterAccount.KAccessLevel READ_WRITE
Read, write of public messages (but not DMs)


READ_WRITE_DM

public static final TwitterAccount.KAccessLevel READ_WRITE_DM
Read, write of public and private messages

Method Detail

values

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

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

valueOf

public static TwitterAccount.KAccessLevel 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