Package org.apache.cxf.common.util
Class Base64UrlUtility
- java.lang.Object
-
- org.apache.cxf.common.util.Base64UrlUtility
-
public final class Base64UrlUtility extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]decode(String encoded)static Stringencode(byte[] id)static Stringencode(String str)static voidencodeAndStream(byte[] id, int o, int l, OutputStream os)static StringencodeChunk(byte[] id, int offset, int length)
-
-
-
Method Detail
-
decode
public static byte[] decode(String encoded) throws Base64Exception
- Throws:
Base64Exception
-
encode
public static String encode(byte[] id)
-
encodeChunk
public static String encodeChunk(byte[] id, int offset, int length)
-
encodeAndStream
public static void encodeAndStream(byte[] id, int o, int l, OutputStream os) throws IOException- Throws:
IOException
-
-