public class ResourceJSONContentImpl extends ResourceContentImpl implements ResourceJSONContent
| Modifier and Type | Field and Description |
|---|---|
protected org.json.JSONObject |
jsonObject |
frameworkUtil, resource, url| Constructor and Description |
|---|
ResourceJSONContentImpl(Resource resource,
String url,
FrameworkBean frameworkUtil) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
getJSON()
Gets the JSON.
|
String |
getJSONString()
Gets the JSON string.
|
getBytes, getInputStream, getReader, getResource, getStringContentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBytes, getInputStream, getReader, getResource, getStringContentpublic ResourceJSONContentImpl(Resource resource, String url, FrameworkBean frameworkUtil)
public String getJSONString() throws IOException
ResourceJSONContentgetJSONString in interface ResourceJSONContentIOExceptionpublic org.json.JSONObject getJSON()
throws org.json.JSONException,
IOException
ResourceJSONContentgetJSON in interface ResourceJSONContentorg.json.JSONExceptionIOExceptionCopyright © 2005–2016 Alfresco Software. All rights reserved.