public Triple lookup(String key) { return lookup(key, (URL) null); }
public Triple lookup(String key) {return lookup(key,(URL)null);}
public Triple lookup(String key) {return lookup(key,(URL)null);}
/** * Allow users to search the default rc * @param key * @param url null => not url specific * @return value corresponding to key+url, or null if does not exist */ static synchronized public String find(String key, String url) { if(key == null) return null; if(!initialized) RC.initialize(); Triple t = dfaltRC.lookup(key,url); return (t==null?null:t.value); }
/** * Allow users to search the default rc * * @param key * @param url null => not url specific * @return value corresponding to key+url, or null if does not exist */ static synchronized public String find(String key, String url) { if (key == null) return null; if (!initialized) RC.initialize(); Triple t = dfaltRC.lookup(key, url); return (t == null ? null : t.value); }
/** * Allow users to search the default rc * @param key * @param url null => not url specific * @return value corresponding to key+url, or null if does not exist */ static synchronized public String find(String key, String url) { if(key == null) return null; if(!initialized) RC.initialize(); Triple t = dfaltRC.lookup(key,url); return (t==null?null:t.value); }
/** * Record some well known parameters */ static void setWellKnown() { if(dfaltRC.triplestore.size() == 0) return; // Walk the set of triples looking for those that have no url for(String key: dfaltRC.keySet()) { Triple triple = dfaltRC.lookup(key); if(triple.url == null) { RC.set(key,triple.value); // let set sort it out } } }
/** * Record some well known parameters */ static void setWellKnown() { if (dfaltRC.triplestore.size() == 0) return; // Walk the set of triples looking for those that have no url for (String key : dfaltRC.keySet()) { Triple triple = dfaltRC.lookup(key); if (triple.url == null) { RC.set(key, triple.value); // let set sort it out } } }
/** * Record some well known parameters */ static void setWellKnown() { if(dfaltRC.triplestore.size() == 0) return; // Walk the set of triples looking for those that have no url for(String key: dfaltRC.keySet()) { Triple triple = dfaltRC.lookup(key); if(triple.url == null) { RC.set(key,triple.value); // let set sort it out } } }