|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.neuclear.commons.crypto.channels.AbstractCryptoChannel
org.neuclear.commons.crypto.channels.AbstractEncodingChannel
public abstract class AbstractEncodingChannel
This is an AbstractChannel for encodings such as base64 etc. You write raw data to it and read the encoded data with read(). TODO This should probably be blocking.
| Field Summary |
|---|
| Fields inherited from class org.neuclear.commons.crypto.channels.AbstractCryptoChannel |
|---|
closed |
| Constructor Summary | |
|---|---|
protected |
AbstractEncodingChannel()
|
| Method Summary | |
|---|---|
(package private) abstract int |
encode(java.nio.ByteBuffer buffer)
|
int |
write(java.nio.ByteBuffer buffer)
|
| Methods inherited from class org.neuclear.commons.crypto.channels.AbstractCryptoChannel |
|---|
close, isOpen, pipe, pipe, source, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractEncodingChannel()
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public int write(java.nio.ByteBuffer buffer)
throws java.io.IOException
java.io.IOException
abstract int encode(java.nio.ByteBuffer buffer)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||