Apache CXF API

org.apache.cxf.rs.security.oauth2.utils
Class Base64UrlUtility

java.lang.Object
  extended by org.apache.cxf.rs.security.oauth2.utils.Base64UrlUtility

public final class Base64UrlUtility
extends Object


Method Summary
static byte[] decode(String encoded)
           
static String encode(byte[] id)
           
static String encode(String str)
           
static String encodeChunk(byte[] id, int offset, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

decode

public static byte[] decode(String encoded)
                     throws Base64Exception
Throws:
Base64Exception

encode

public static String encode(String str)

encode

public static String encode(byte[] id)

encodeChunk

public static String encodeChunk(byte[] id,
                                 int offset,
                                 int length)

Apache CXF API

Apache CXF