public class ResourceTraversor
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceTraversor.Entry |
| Constructor and Description |
|---|
ResourceTraversor(int levels,
long maxResources,
Resource resource,
boolean tidy) |
| Modifier and Type | Method and Description |
|---|---|
int |
collectResources()
Recursive descent from startResource, collecting JSONObjects into
startObject.
|
long |
getCount() |
JSONObject |
getJSONObject() |
public ResourceTraversor(int levels,
long maxResources,
Resource resource,
boolean tidy)
throws JSONException
JSONExceptionpublic int collectResources()
throws RecursionTooDeepException,
JSONException
JSONExceptionRecursionTooDeepExceptionpublic long getCount()
public JSONObject getJSONObject()
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"