org.jboss.security
Class Base64Utils

java.lang.Object
  extended by org.jboss.security.Base64Utils

public class Base64Utils
extends Object

Base64 encoding/decoding utilities

Version:
$Revison:$
Author:
Scott.Stark@jboss.org

Field Summary
static String BASE16_ENCODING
           
static String BASE64_ENCODING
           
 
Constructor Summary
Base64Utils()
           
 
Method Summary
static byte[] fromb64(String str)
           
static String tob64(byte[] buffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASE64_ENCODING

public static final String BASE64_ENCODING
See Also:
Constant Field Values

BASE16_ENCODING

public static final String BASE16_ENCODING
See Also:
Constant Field Values
Constructor Detail

Base64Utils

public Base64Utils()
Method Detail

tob64

public static String tob64(byte[] buffer)

fromb64

public static byte[] fromb64(String str)
                      throws NumberFormatException
Throws:
NumberFormatException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.