public class MicroformatMF2JAnalyzer extends AbstractAnalyzer
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOGGER |
collector, tripleEncoder
Constructor and Description |
---|
MicroformatMF2JAnalyzer(UriCollector collector) |
Modifier and Type | Method and Description |
---|---|
static String |
addContextToJSON(String data) |
Iterator<byte[]> |
analyze(org.dice_research.squirrel.data.uri.CrawleableUri curi,
File data,
org.dice_research.squirrel.sink.Sink sink) |
static org.apache.jena.rdf.model.Model |
createModelFromJSONLD(String content)
Creates a Model from JSON-LD
|
boolean |
isElegible(org.dice_research.squirrel.data.uri.CrawleableUri curi,
File data) |
static String |
replaceVocab(String data) |
public MicroformatMF2JAnalyzer(UriCollector collector)
public Iterator<byte[]> analyze(org.dice_research.squirrel.data.uri.CrawleableUri curi, File data, org.dice_research.squirrel.sink.Sink sink)
public static org.apache.jena.rdf.model.Model createModelFromJSONLD(String content)
content
- the data in JSON-LDpublic boolean isElegible(org.dice_research.squirrel.data.uri.CrawleableUri curi, File data)
Copyright © 2017–2020. All rights reserved.