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
|
|
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 |
pStream
protected java.io.PrintStream pStream
CharacterEncoder
public CharacterEncoder()
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)
Submit a bug or feature
Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjbeans.com
All Rights Reserved.