org.openscience.jmol.app.jmolpanel
Class JsonNioService.JSONObject

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<String,Object>
          extended by org.openscience.jmol.app.jmolpanel.JsonNioService.JSONObject
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>
Enclosing class:
JsonNioService

 class JsonNioService.JSONObject
extends Hashtable<String,Object>


Constructor Summary
JsonNioService.JSONObject()
           
JsonNioService.JSONObject(String msg)
           
 
Method Summary
 double getDouble(String key)
           
 int getInt(String key)
           
 List<JsonNioService.JSONObject> getJSONArray(String key)
           
 long getLong(String key)
           
(package private)  String getString(String key)
           
(package private)  boolean has(String key)
           
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JsonNioService.JSONObject

public JsonNioService.JSONObject()

JsonNioService.JSONObject

JsonNioService.JSONObject(String msg)
                    throws Exception
Throws:
Exception
Method Detail

has

boolean has(String key)

getString

String getString(String key)
           throws Exception
Throws:
Exception

getJSONArray

public List<JsonNioService.JSONObject> getJSONArray(String key)
                                             throws Exception
Throws:
Exception

getLong

public long getLong(String key)
             throws Exception
Throws:
Exception

getInt

public int getInt(String key)
           throws Exception
Throws:
Exception

getDouble

public double getDouble(String key)
                 throws Exception
Throws:
Exception