net.sf.f8api
Enum FacebookParam

java.lang.Object
  extended by java.lang.Enum<FacebookParam>
      extended by net.sf.f8api.FacebookParam
All Implemented Interfaces:
java.io.Serializable, java.lang.CharSequence, java.lang.Comparable<FacebookParam>

public enum FacebookParam
extends java.lang.Enum<FacebookParam>
implements java.lang.CharSequence


Enum Constant Summary
ADDED
           
API_KEY
           
EXPIRES
           
FRIENDS
           
IN_CANVAS
           
IN_IFRAME
           
IN_PROFILE
           
PROFILE_UPDATE_TIME
           
SESSION_KEY
           
SIGNATURE
           
TIME
           
USER
           
 
Method Summary
 char charAt(int index)
           
static FacebookParam get(java.lang.String key)
          Retrieves the FacebookParam corresponding to the supplied String key.
 java.lang.String getSignatureName()
           
static boolean isInNamespace(java.lang.String key)
          Indicates whether a given key is in the FacebookParam namespace
static boolean isSignature(java.lang.String key)
           
 int length()
           
static void main(java.lang.String[] args)
           
static java.lang.String stripSignaturePrefix(java.lang.String paramName)
           
 java.lang.CharSequence subSequence(int start, int end)
           
 java.lang.String toString()
           
static FacebookParam valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FacebookParam[] 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

SIGNATURE

public static final FacebookParam SIGNATURE

USER

public static final FacebookParam USER

SESSION_KEY

public static final FacebookParam SESSION_KEY

EXPIRES

public static final FacebookParam EXPIRES

IN_CANVAS

public static final FacebookParam IN_CANVAS

IN_IFRAME

public static final FacebookParam IN_IFRAME

IN_PROFILE

public static final FacebookParam IN_PROFILE

TIME

public static final FacebookParam TIME

FRIENDS

public static final FacebookParam FRIENDS

ADDED

public static final FacebookParam ADDED

PROFILE_UPDATE_TIME

public static final FacebookParam PROFILE_UPDATE_TIME

API_KEY

public static final FacebookParam API_KEY
Method Detail

values

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

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

valueOf

public static FacebookParam 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

get

public static FacebookParam get(java.lang.String key)
Retrieves the FacebookParam corresponding to the supplied String key.

Parameters:
key - a possible FacebookParam
Returns:
the matching FacebookParam or null if there's no match

isInNamespace

public static boolean isInNamespace(java.lang.String key)
Indicates whether a given key is in the FacebookParam namespace

Parameters:
key -
Returns:
boolean

isSignature

public static boolean isSignature(java.lang.String key)

charAt

public char charAt(int index)
Specified by:
charAt in interface java.lang.CharSequence

length

public int length()
Specified by:
length in interface java.lang.CharSequence

subSequence

public java.lang.CharSequence subSequence(int start,
                                          int end)
Specified by:
subSequence in interface java.lang.CharSequence

toString

public java.lang.String toString()
Specified by:
toString in interface java.lang.CharSequence
Overrides:
toString in class java.lang.Enum<FacebookParam>

getSignatureName

public java.lang.String getSignatureName()

stripSignaturePrefix

public static java.lang.String stripSignaturePrefix(java.lang.String paramName)

main

public static void main(java.lang.String[] args)


Copyright © 2007 Jason Thrasher. All Rights Reserved.