ElegantJCharts Java API Specification v2.0

com.elegantj.net.message
Class CharacterEncoder

java.lang.Object
  |
  +--com.elegantj.net.message.CharacterEncoder
Direct Known Subclasses:
BASE64Encoder

public abstract class CharacterEncoder
extends java.lang.Object


Field Summary
protected  java.io.PrintStream pStream
           
 
Constructor Summary
CharacterEncoder()
           
 
Method Summary
protected abstract  int bytesPerAtom()
           
protected abstract  int bytesPerLine()
           
 java.lang.String encode(byte[] abyte0)
           
 void encode(byte[] abyte0, java.io.OutputStream outputstream)
           
 void encode(java.io.InputStream inputstream, java.io.OutputStream outputstream)
           
protected abstract  void encodeAtom(java.io.OutputStream outputstream, byte[] abyte0, int i, int j)
           
 java.lang.String encodeBuffer(byte[] abyte0)
           
 void encodeBuffer(byte[] abyte0, java.io.OutputStream outputstream)
           
 void encodeBuffer(java.io.InputStream inputstream, java.io.OutputStream outputstream)
           
protected  void encodeBufferPrefix(java.io.OutputStream outputstream)
           
protected  void encodeBufferSuffix(java.io.OutputStream outputstream)
           
protected  void encodeLinePrefix(java.io.OutputStream outputstream, int i)
           
protected  void encodeLineSuffix(java.io.OutputStream outputstream)
           
protected  int readFully(java.io.InputStream inputstream, byte[] abyte0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pStream

protected java.io.PrintStream pStream
Constructor Detail

CharacterEncoder

public CharacterEncoder()
Method Detail

bytesPerAtom

protected abstract int bytesPerAtom()

bytesPerLine

protected abstract int bytesPerLine()

encodeBufferPrefix

protected void encodeBufferPrefix(java.io.OutputStream outputstream)
                           throws java.io.IOException
java.io.IOException

encodeBufferSuffix

protected void encodeBufferSuffix(java.io.OutputStream outputstream)
                           throws java.io.IOException
java.io.IOException

encodeLinePrefix

protected void encodeLinePrefix(java.io.OutputStream outputstream,
                                int i)
                         throws java.io.IOException
java.io.IOException

encodeLineSuffix

protected void encodeLineSuffix(java.io.OutputStream outputstream)
                         throws java.io.IOException
java.io.IOException

encodeAtom

protected abstract void encodeAtom(java.io.OutputStream outputstream,
                                   byte[] abyte0,
                                   int i,
                                   int j)
                            throws java.io.IOException
java.io.IOException

readFully

protected int readFully(java.io.InputStream inputstream,
                        byte[] abyte0)
                 throws java.io.IOException
java.io.IOException

encode

public void encode(java.io.InputStream inputstream,
                   java.io.OutputStream outputstream)
            throws java.io.IOException
java.io.IOException

encode

public void encode(byte[] abyte0,
                   java.io.OutputStream outputstream)
            throws java.io.IOException
java.io.IOException

encode

public java.lang.String encode(byte[] abyte0)

encodeBuffer

public void encodeBuffer(java.io.InputStream inputstream,
                         java.io.OutputStream outputstream)
                  throws java.io.IOException
java.io.IOException

encodeBuffer

public void encodeBuffer(byte[] abyte0,
                         java.io.OutputStream outputstream)
                  throws java.io.IOException
java.io.IOException

encodeBuffer

public java.lang.String encodeBuffer(byte[] abyte0)

ElegantJCharts Java API Specification v2.0

For any feedback, suggestion, or query, please revert back to support@elegantcharts.com

Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjcharts.com
All Rights Reserved.