MCPcopy Create free account
hub / github.com/GateNLP/gate-core / getLr

Method getLr

src/main/java/gate/DataStore.java:99–99  ·  view source on GitHub ↗

Get a resource from the persistent store. You should never call this method directly, instead use the following: FeatureMap params = Factory.newFeatureMap(); params.put(DataStore.DATASTORE_FEATURE_NAME, datastore); params.put(DataStore.LR_ID_FEATURE_NAME, lrID); LanguageResource lr = (L

(String lrClassName, Object lrId)

Source from the content-addressed store, hash-verified

97 * LanguageResource lr = (LanguageResource)Factory.createResource(lrClassName, params);</pre>
98 */
99 LanguageResource getLr(String lrClassName, Object lrId)
100 throws PersistenceException,SecurityException;
101
102 /** Get a list of the types of LR that are present in the data store. */

Callers 2

createResourceMethod · 0.95
getLrMethod · 0.65

Implementers 1

SerialDataStoresrc/main/java/gate/persist/SerialDataS

Calls

no outgoing calls

Tested by

no test coverage detected