Smack

org.jivesoftware.smack.util
Class Base64Encoder

java.lang.Object
  extended by org.jivesoftware.smack.util.Base64Encoder
All Implemented Interfaces:
StringEncoder

public class Base64Encoder
extends Object
implements StringEncoder

A Base 64 encoding implementation.

Author:
Florian Schmaus

Method Summary
 String decode(String s)
          Decodes an string back to it's initial representation
 String encode(String s)
          Encodes an string to another representation
static Base64Encoder getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Base64Encoder getInstance()

encode

public String encode(String s)
Description copied from interface: StringEncoder
Encodes an string to another representation

Specified by:
encode in interface StringEncoder
Returns:

decode

public String decode(String s)
Description copied from interface: StringEncoder
Decodes an string back to it's initial representation

Specified by:
decode in interface StringEncoder
Returns:

Smack

Copyright © 2003-2007 Jive Software.