|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.spy.SpyObject
net.spy.util.NetStringDecoder
public class NetStringDecoder
Decode netstrings. See netstring spec.
| Constructor Summary | |
|---|---|
NetStringDecoder(java.lang.String enc)
Get an instance of NetStringDecoder. |
|
| Method Summary | |
|---|---|
java.lang.String |
decodeString(java.io.InputStream is)
Pull a netstring from the given InputStream and decode it. |
| Methods inherited from class net.spy.SpyObject |
|---|
getLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NetStringDecoder(java.lang.String enc)
| Method Detail |
|---|
public java.lang.String decodeString(java.io.InputStream is)
throws java.io.IOException
is - a stream containing a netstring
java.io.IOException - if there is a problem decoding the netstring
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||