org.eclipse.webdav.internal.authentication
Class Base64Encoder
java.lang.Object
org.eclipse.webdav.internal.authentication.Base64Encoder
public final class Base64Encoder
- extends Object
This class implements a BASE64 character encoder as specified in
RFC1521.
Method Summary |
static String |
encode(byte[] data)
Returns the BASE64 encoded String of the given data. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Base64Encoder
public Base64Encoder()
encode
public static String encode(byte[] data)
- Returns the BASE64 encoded
String
of the given data.
- Parameters:
data
- the bytes to be BASE64 encoded
- Returns:
- the BASE64 encoded
String
of the given data
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.