cn.dreampie.security.encode
类 CharacterEncoder

java.lang.Object
  继承者 cn.dreampie.security.encode.CharacterEncoder
直接已知子类:
BASE64Encoder

public abstract class CharacterEncoder
extends Object

Created by ice on 15-1-12.


字段摘要
protected  PrintStream pStream
           
 
构造方法摘要
CharacterEncoder()
           
 
方法摘要
protected abstract  int bytesPerAtom()
           
protected abstract  int bytesPerLine()
           
 String encode(byte[] var1)
           
 void encode(byte[] var1, OutputStream var2)
           
 String encode(ByteBuffer var1)
           
 void encode(ByteBuffer var1, OutputStream var2)
           
 void encode(InputStream var1, OutputStream var2)
           
protected abstract  void encodeAtom(OutputStream var1, byte[] var2, int var3, int var4)
           
 String encodeBuffer(byte[] var1)
           
 void encodeBuffer(byte[] var1, OutputStream var2)
           
 String encodeBuffer(ByteBuffer var1)
           
 void encodeBuffer(ByteBuffer var1, OutputStream var2)
           
 void encodeBuffer(InputStream var1, OutputStream var2)
           
protected  void encodeBufferPrefix(OutputStream var1)
           
protected  void encodeBufferSuffix(OutputStream var1)
           
protected  void encodeLinePrefix(OutputStream var1, int var2)
           
protected  void encodeLineSuffix(OutputStream var1)
           
protected  int readFully(InputStream var1, byte[] var2)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

pStream

protected PrintStream pStream
构造方法详细信息

CharacterEncoder

public CharacterEncoder()
方法详细信息

bytesPerAtom

protected abstract int bytesPerAtom()

bytesPerLine

protected abstract int bytesPerLine()

encodeBufferPrefix

protected void encodeBufferPrefix(OutputStream var1)
                           throws IOException
抛出:
IOException

encodeBufferSuffix

protected void encodeBufferSuffix(OutputStream var1)
                           throws IOException
抛出:
IOException

encodeLinePrefix

protected void encodeLinePrefix(OutputStream var1,
                                int var2)
                         throws IOException
抛出:
IOException

encodeLineSuffix

protected void encodeLineSuffix(OutputStream var1)
                         throws IOException
抛出:
IOException

encodeAtom

protected abstract void encodeAtom(OutputStream var1,
                                   byte[] var2,
                                   int var3,
                                   int var4)
                            throws IOException
抛出:
IOException

readFully

protected int readFully(InputStream var1,
                        byte[] var2)
                 throws IOException
抛出:
IOException

encode

public void encode(InputStream var1,
                   OutputStream var2)
            throws IOException
抛出:
IOException

encode

public void encode(byte[] var1,
                   OutputStream var2)
            throws IOException
抛出:
IOException

encode

public String encode(byte[] var1)

encode

public void encode(ByteBuffer var1,
                   OutputStream var2)
            throws IOException
抛出:
IOException

encode

public String encode(ByteBuffer var1)

encodeBuffer

public void encodeBuffer(InputStream var1,
                         OutputStream var2)
                  throws IOException
抛出:
IOException

encodeBuffer

public void encodeBuffer(byte[] var1,
                         OutputStream var2)
                  throws IOException
抛出:
IOException

encodeBuffer

public String encodeBuffer(byte[] var1)

encodeBuffer

public void encodeBuffer(ByteBuffer var1,
                         OutputStream var2)
                  throws IOException
抛出:
IOException

encodeBuffer

public String encodeBuffer(ByteBuffer var1)


Copyright © 2015. All rights reserved.