ElegantJCharts Java API Specification v2.0

com.elegantj.net.message
Class CharacterDecoder

java.lang.Object
  |
  +--com.elegantj.net.message.CharacterDecoder
Direct Known Subclasses:
BASE64Decoder

public abstract class CharacterDecoder
extends java.lang.Object


Constructor Summary
CharacterDecoder()
           
 
Method Summary
protected abstract  int bytesPerAtom()
           
protected abstract  int bytesPerLine()
           
protected  void decodeAtom(java.io.InputStream inputstream, java.io.OutputStream outputstream, int i)
           
 byte[] decodeBuffer(java.io.InputStream inputstream)
           
 void decodeBuffer(java.io.InputStream inputstream, java.io.OutputStream outputstream)
           
 byte[] decodeBuffer(java.lang.String s)
           
protected  void decodeBufferPrefix(java.io.InputStream inputstream, java.io.OutputStream outputstream)
           
protected  void decodeBufferSuffix(java.io.InputStream inputstream, java.io.OutputStream outputstream)
           
protected  int decodeLinePrefix(java.io.InputStream inputstream, java.io.OutputStream outputstream)
           
protected  void decodeLineSuffix(java.io.InputStream inputstream, java.io.OutputStream outputstream)
           
protected  int readFully(java.io.InputStream inputstream, byte[] abyte0, int i, int j)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharacterDecoder

public CharacterDecoder()
Method Detail

bytesPerAtom

protected abstract int bytesPerAtom()

bytesPerLine

protected abstract int bytesPerLine()

decodeBufferPrefix

protected void decodeBufferPrefix(java.io.InputStream inputstream,
                                  java.io.OutputStream outputstream)
                           throws java.io.IOException
java.io.IOException

decodeBufferSuffix

protected void decodeBufferSuffix(java.io.InputStream inputstream,
                                  java.io.OutputStream outputstream)
                           throws java.io.IOException
java.io.IOException

decodeLinePrefix

protected int decodeLinePrefix(java.io.InputStream inputstream,
                               java.io.OutputStream outputstream)
                        throws java.io.IOException
java.io.IOException

decodeLineSuffix

protected void decodeLineSuffix(java.io.InputStream inputstream,
                                java.io.OutputStream outputstream)
                         throws java.io.IOException
java.io.IOException

decodeAtom

protected void decodeAtom(java.io.InputStream inputstream,
                          java.io.OutputStream outputstream,
                          int i)
                   throws java.io.IOException
java.io.IOException

readFully

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

decodeBuffer

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

decodeBuffer

public byte[] decodeBuffer(java.lang.String s)
                    throws java.io.IOException
java.io.IOException

decodeBuffer

public byte[] decodeBuffer(java.io.InputStream inputstream)
                    throws java.io.IOException
java.io.IOException

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.