ElegantJ Data Tables Java API Specification v1.1

com.elegantj.net.message
Class CharacterEncoder

java.lang.Object
  extended bycom.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
Throws:
java.io.IOException

encodeBufferSuffix

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

encodeLinePrefix

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

encodeLineSuffix

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

encodeAtom

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

readFully

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

encode

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

encode

public void encode(byte[] abyte0,
                   java.io.OutputStream outputstream)
            throws java.io.IOException
Throws:
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
Throws:
java.io.IOException

encodeBuffer

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

encodeBuffer

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

ElegantJ Data Tables Java API Specification v1.1

Submit a bug or feature

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