enc
Class JSONEncoder

java.lang.Object
  extended by enc.JSONEncoder
All Implemented Interfaces:
Encoder, Encoder.Text<org.json.JSONObject>

public class JSONEncoder
extends java.lang.Object
implements Encoder.Text<org.json.JSONObject>

Author:
dannycoward

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.net.websocket.Encoder
Encoder.Binary<T>, Encoder.Text<T>
 
Constructor Summary
JSONEncoder()
           
 
Method Summary
 java.lang.String encode(org.json.JSONObject o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONEncoder

public JSONEncoder()
Method Detail

encode

public java.lang.String encode(org.json.JSONObject o)
                        throws EncodeException
Specified by:
encode in interface Encoder.Text<org.json.JSONObject>
Throws:
EncodeException


Copyright © 2012. All Rights Reserved.