org.jboss.netty.handler.codec.base64
类 Base64

java.lang.Object
  继承者 org.jboss.netty.handler.codec.base64.Base64

public class Base64
extends java.lang.Object

Utility class for ChannelBuffer that encodes and decodes to and from Base64 notation.

The encoding and decoding algorithm in this class has been derived from Robert Harder's Public Domain Base64 Encoder/Decoder.


方法摘要
static ChannelBuffer decode(ChannelBuffer src)
           
static ChannelBuffer decode(ChannelBuffer src, Base64Dialect dialect)
           
static ChannelBuffer decode(ChannelBuffer src, Base64Dialect dialect, ChannelBufferFactory bufferFactory)
           
static ChannelBuffer decode(ChannelBuffer src, ChannelBufferFactory bufferFactory)
           
static ChannelBuffer decode(ChannelBuffer src, int off, int len)
           
static ChannelBuffer decode(ChannelBuffer src, int off, int len, Base64Dialect dialect)
           
static ChannelBuffer decode(ChannelBuffer src, int off, int len, Base64Dialect dialect, ChannelBufferFactory bufferFactory)
           
static ChannelBuffer decode(ChannelBuffer src, int off, int len, ChannelBufferFactory bufferFactory)
           
static ChannelBuffer encode(ChannelBuffer src)
           
static ChannelBuffer encode(ChannelBuffer src, Base64Dialect dialect)
           
static ChannelBuffer encode(ChannelBuffer src, Base64Dialect dialect, ChannelBufferFactory bufferFactory)
           
static ChannelBuffer encode(ChannelBuffer src, boolean breakLines)
           
static ChannelBuffer encode(ChannelBuffer src, boolean breakLines, Base64Dialect dialect)
           
static ChannelBuffer encode(ChannelBuffer src, boolean breakLines, Base64Dialect dialect, ChannelBufferFactory bufferFactory)
           
static ChannelBuffer encode(ChannelBuffer src, boolean breakLines, ChannelBufferFactory bufferFactory)
           
static ChannelBuffer encode(ChannelBuffer src, ChannelBufferFactory bufferFactory)
           
static ChannelBuffer encode(ChannelBuffer src, int off, int len)
           
static ChannelBuffer encode(ChannelBuffer src, int off, int len, Base64Dialect dialect)
           
static ChannelBuffer encode(ChannelBuffer src, int off, int len, Base64Dialect dialect, ChannelBufferFactory bufferFactory)
           
static ChannelBuffer encode(ChannelBuffer src, int off, int len, boolean breakLines)
           
static ChannelBuffer encode(ChannelBuffer src, int off, int len, boolean breakLines, Base64Dialect dialect)
           
static ChannelBuffer encode(ChannelBuffer src, int off, int len, boolean breakLines, Base64Dialect dialect, ChannelBufferFactory bufferFactory)
           
static ChannelBuffer encode(ChannelBuffer src, int off, int len, boolean breakLines, ChannelBufferFactory bufferFactory)
           
static ChannelBuffer encode(ChannelBuffer src, int off, int len, ChannelBufferFactory bufferFactory)
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

encode

public static ChannelBuffer encode(ChannelBuffer src)

encode

public static ChannelBuffer encode(ChannelBuffer src,
                                   Base64Dialect dialect)

encode

public static ChannelBuffer encode(ChannelBuffer src,
                                   ChannelBufferFactory bufferFactory)

encode

public static ChannelBuffer encode(ChannelBuffer src,
                                   Base64Dialect dialect,
                                   ChannelBufferFactory bufferFactory)

encode

public static ChannelBuffer encode(ChannelBuffer src,
                                   boolean breakLines)

encode

public static ChannelBuffer encode(ChannelBuffer src,
                                   boolean breakLines,
                                   Base64Dialect dialect)

encode

public static ChannelBuffer encode(ChannelBuffer src,
                                   boolean breakLines,
                                   ChannelBufferFactory bufferFactory)

encode

public static ChannelBuffer encode(ChannelBuffer src,
                                   boolean breakLines,
                                   Base64Dialect dialect,
                                   ChannelBufferFactory bufferFactory)

encode

public static ChannelBuffer encode(ChannelBuffer src,
                                   int off,
                                   int len)

encode

public static ChannelBuffer encode(ChannelBuffer src,
                                   int off,
                                   int len,
                                   Base64Dialect dialect)

encode

public static ChannelBuffer encode(ChannelBuffer src,
                                   int off,
                                   int len,
                                   ChannelBufferFactory bufferFactory)

encode

public static ChannelBuffer encode(ChannelBuffer src,
                                   int off,
                                   int len,
                                   Base64Dialect dialect,
                                   ChannelBufferFactory bufferFactory)

encode

public static ChannelBuffer encode(ChannelBuffer src,
                                   int off,
                                   int len,
                                   boolean breakLines)

encode

public static ChannelBuffer encode(ChannelBuffer src,
                                   int off,
                                   int len,
                                   boolean breakLines,
                                   Base64Dialect dialect)

encode

public static ChannelBuffer encode(ChannelBuffer src,
                                   int off,
                                   int len,
                                   boolean breakLines,
                                   ChannelBufferFactory bufferFactory)

encode

public static ChannelBuffer encode(ChannelBuffer src,
                                   int off,
                                   int len,
                                   boolean breakLines,
                                   Base64Dialect dialect,
                                   ChannelBufferFactory bufferFactory)

decode

public static ChannelBuffer decode(ChannelBuffer src)

decode

public static ChannelBuffer decode(ChannelBuffer src,
                                   Base64Dialect dialect)

decode

public static ChannelBuffer decode(ChannelBuffer src,
                                   ChannelBufferFactory bufferFactory)

decode

public static ChannelBuffer decode(ChannelBuffer src,
                                   Base64Dialect dialect,
                                   ChannelBufferFactory bufferFactory)

decode

public static ChannelBuffer decode(ChannelBuffer src,
                                   int off,
                                   int len)

decode

public static ChannelBuffer decode(ChannelBuffer src,
                                   int off,
                                   int len,
                                   Base64Dialect dialect)

decode

public static ChannelBuffer decode(ChannelBuffer src,
                                   int off,
                                   int len,
                                   ChannelBufferFactory bufferFactory)

decode

public static ChannelBuffer decode(ChannelBuffer src,
                                   int off,
                                   int len,
                                   Base64Dialect dialect,
                                   ChannelBufferFactory bufferFactory)