com.twistedmatrix.spread
Class Jelly.JellyDecoder

java.lang.Object
  |
  +--com.twistedmatrix.spread.Jelly.JellyDecoder
Direct Known Subclasses:
PBJellyDecoder
Enclosing class:
Jelly

public static class Jelly.JellyDecoder
extends java.lang.Object

Decoder for s-expressions.


Field Summary
protected  JellyPolicy policy
           
 
Constructor Summary
Jelly.JellyDecoder()
          Create a new decoder with the default policy.
Jelly.JellyDecoder(JellyPolicy policy)
          Create a new decoder with the given class mapper.
 
Method Summary
 java.lang.Object unjelly(java.lang.Object o)
          Decode an s-expression.
protected  java.lang.Object unjellyBoolean(ByteString value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

policy

protected JellyPolicy policy
Constructor Detail

Jelly.JellyDecoder

public Jelly.JellyDecoder(JellyPolicy policy)
Create a new decoder with the given class mapper.

Jelly.JellyDecoder

public Jelly.JellyDecoder()
Create a new decoder with the default policy.
Method Detail

unjelly

public java.lang.Object unjelly(java.lang.Object o)
Decode an s-expression.

unjellyBoolean

protected java.lang.Object unjellyBoolean(ByteString value)