public class DeepaMehtaUtils extends Object
Modifier and Type | Field and Description |
---|---|
private static String |
DM4_HOST_URL |
private static Logger |
logger |
Constructor and Description |
---|
DeepaMehtaUtils() |
Modifier and Type | Method and Description |
---|---|
static List<Long> |
idList(Iterable<? extends Identifiable> items) |
static boolean |
isDeepaMehtaURL(URL url)
Checks if an URL refers to this DeepaMehta installation.
|
static org.codehaus.jettison.json.JSONArray |
toJSONArray(Iterable<? extends JSONEnabled> items) |
static List |
toList(org.codehaus.jettison.json.JSONArray o) |
static Map |
toMap(org.codehaus.jettison.json.JSONObject o) |
static Map |
toMap(org.codehaus.jettison.json.JSONObject o,
Map map) |
static String |
topicNames(Iterable<? extends Topic> topics) |
static List<TopicModel> |
toTopicModels(Iterable<? extends Topic> topics) |
private static final String DM4_HOST_URL
public DeepaMehtaUtils()
public static boolean isDeepaMehtaURL(URL url)
public static List<Long> idList(Iterable<? extends Identifiable> items)
public static List<TopicModel> toTopicModels(Iterable<? extends Topic> topics)
public static String topicNames(Iterable<? extends Topic> topics)
public static org.codehaus.jettison.json.JSONArray toJSONArray(Iterable<? extends JSONEnabled> items)
Copyright © 2015. All Rights Reserved.