public class DictionaryResource extends java.lang.Object implements Dictionary
Constructor and Description |
---|
DictionaryResource() |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String source,
java.lang.String target) |
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
get() |
void |
load(org.apache.uima.resource.DataResource data) |
void |
load(java.lang.String id,
java.io.InputStream inputStream) |
void |
load(java.net.URI resourceIdentifier) |
java.lang.String |
source() |
java.lang.String |
target() |
public java.lang.String source()
public java.lang.String target()
public java.util.Map<java.lang.String,java.util.Set<java.lang.String>> get()
get
in interface Dictionary
public void add(java.lang.String source, java.lang.String target)
add
in interface Dictionary
public void load(java.net.URI resourceIdentifier) throws java.lang.Exception
load
in interface Dictionary
java.lang.Exception
public void load(java.lang.String id, java.io.InputStream inputStream) throws java.io.IOException
load
in interface Dictionary
java.io.IOException
public void load(org.apache.uima.resource.DataResource data) throws org.apache.uima.resource.ResourceInitializationException
load
in interface org.apache.uima.resource.SharedResourceObject
org.apache.uima.resource.ResourceInitializationException