public class JSONContentProvider extends Object
.json files in a
directory. It only reads each file when necessary (it has not been read yet
or it has changed since the last reading).| Constructor and Description |
|---|
JSONContentProvider(String directory)
Creates a new JSON content provider.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,net.sf.json.JSONObject> |
get()
Gets all the JSON contents.
|
public JSONContentProvider(String directory)
directory - Path to the directory containing the .json files.Copyright © 2018. All rights reserved.