public class VocabularyScraper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.lang.String> |
classVocabulary |
private JSONObject |
scraperDefinition |
private java.util.Map<DigestURL,java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.String>> |
vocMap |
Constructor and Description |
---|
VocabularyScraper() |
VocabularyScraper(JSONObject init) |
VocabularyScraper(java.lang.String init) |
Modifier and Type | Method and Description |
---|---|
void |
check(DigestURL root,
java.lang.String className,
CharBuffer content) |
java.util.Map<java.lang.String,java.lang.String> |
removeVocMap(DigestURL root) |
java.lang.String |
toString() |
private final JSONObject scraperDefinition
private java.util.Map<java.lang.String,java.lang.String> classVocabulary
private final java.util.Map<DigestURL,java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.String>> vocMap
public VocabularyScraper()
public VocabularyScraper(JSONObject init)
init
- must be a property list of property lists: the key of the top property list is the name of the vocabulary, the name of the embedded property list is the entity class and the value of the embedded property is the entity namepublic VocabularyScraper(java.lang.String init)
public java.lang.String toString()
toString
in class java.lang.Object
public void check(DigestURL root, java.lang.String className, CharBuffer content)
public java.util.Map<java.lang.String,java.lang.String> removeVocMap(DigestURL root)