asgaard.utils.encode
Class CodedInputStream
java.lang.Object
|
+--java.io.InputStream
|
+--asgaard.utils.encode.CodedInputStream
- Direct Known Subclasses:
- HexDecInputStream, HexEncInputStream
- public abstract class CodedInputStream
- extends java.io.InputStream
Field Summary |
protected java.lang.String |
buf
|
protected java.io.InputStream |
in
|
Method Summary |
abstract java.lang.String |
getCoded()
Get the decoded data. |
void |
setInputStream(java.io.InputStream input)
Set the InputStream. |
void |
writeBuffer(java.lang.String s)
sets a HEX-ASCII-String to buf |
Methods inherited from class java.io.InputStream |
available,
close,
mark,
markSupported,
read,
read,
read,
reset,
skip |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
in
protected java.io.InputStream in
buf
protected java.lang.String buf
CodedInputStream
public CodedInputStream()
- Creates the Stream.
CodedInputStream
public CodedInputStream(java.io.InputStream input)
- Creates the Stream.
getCoded
public abstract java.lang.String getCoded()
throws java.io.IOException
- Get the decoded data.
writeBuffer
public void writeBuffer(java.lang.String s)
- sets a HEX-ASCII-String to buf
setInputStream
public void setInputStream(java.io.InputStream input)
- Set the InputStream.