org.apache.maven.util
Class Base64

java.lang.Object
  extended byorg.apache.maven.util.Base64

public final class Base64
extends java.lang.Object

Encode/Decode Base-64.

Author:
John Casey

Constructor Summary
Base64()
           
 
Method Summary
static byte[] decode(java.lang.String src)
           
static byte[] decode(java.lang.String src, boolean useLineDelimiter)
           
static java.lang.String encode(byte[] data)
           
static java.lang.String encode(byte[] data, boolean useLineDelimiter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64

public Base64()
Method Detail

encode

public static java.lang.String encode(byte[] data)

encode

public static java.lang.String encode(byte[] data,
                                      boolean useLineDelimiter)

decode

public static byte[] decode(java.lang.String src)

decode

public static byte[] decode(java.lang.String src,
                            boolean useLineDelimiter)


Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.