org.apache.shindig.expressions
Class OpensocialFunctions

java.lang.Object
  extended by org.apache.shindig.expressions.OpensocialFunctions

public final class OpensocialFunctions
extends Object

Default functions in the "os:" namespace prefix.


Method Summary
static String decodeBase64(String text)
          Decode a base-64 encoded string.
static String formDecode(String text)
          Form decode a string
static String formEncode(String text)
          Form encode a string
static Object parseJson(String text)
          Convert a string to a JSON Object or JSON Array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parseJson

public static Object parseJson(String text)
Convert a string to a JSON Object or JSON Array.


decodeBase64

public static String decodeBase64(String text)
Decode a base-64 encoded string.


formEncode

public static String formEncode(String text)
Form encode a string


formDecode

public static String formDecode(String text)
Form decode a string

Parameters:
text -
Returns:


Copyright © 2007-2012. All Rights Reserved.