public class WikipediaGenerator extends URLGenerator
Modifier and Type | Class and Description |
---|---|
static class |
WikipediaGenerator.Lang |
URLGenerator.Mode, URLGenerator.URLFilter
SourceBase.ElementType
Modifier and Type | Field and Description |
---|---|
protected WikipediaGenerator.Lang |
lang |
static String |
SPECIAL_URLS |
depthLimit, edgeWeight, filters, hrefPattern, lock, mode, newUrls, nodeWeight, printProgress, step, stepUrls, threads, urls
addEdgeLabels, addNodeLabels, directed, edgeAttributeRange, edgeAttributes, internalGraph, nodeAttributeRange, nodeAttributes, random, randomlyDirected
attrSinks, eltsSinks, eventProcessing, eventQueue, sourceId, sourceTime
Constructor and Description |
---|
WikipediaGenerator(String... articles) |
WikipediaGenerator(WikipediaGenerator.Lang lang,
String... articles) |
Modifier and Type | Method and Description |
---|---|
void |
addArticle(String name) |
protected String |
getNodeLabel(String url) |
acceptOnlyMatchingURL, addHostFilter, addNodeURL, addURL, begin, connect, declineMatchingURL, enableProgression, getEdgeId, getNodeId, isValid, nextEvents, nextEventsThreaded, parseUrl, progress, setDepthLimit, setDirected, setEdgeWeightAttribute, setMode, setNodeWeightAttribute, setThreadCount, synchronizedOperation
addEdge, addEdgeAttribute, addEdgeLabels, addNode, addNode, addNodeAttribute, addNodeLabels, clearKeptData, delEdge, delNode, end, isUsingInternalGraph, removeEdgeAttribute, removeNodeAttribute, setDirectedEdges, setEdgeAttributesRange, setNodeAttributesRange, setRandomSeed, setUseInternalGraph
addAttributeSink, addElementSink, addSink, attributeSinks, clearAttributeSinks, clearElementSinks, clearSinks, elementSinks, manageEvents, removeAttributeSink, removeElementSink, removeSink, sendAttributeChangedEvent, sendAttributeChangedEvent, sendEdgeAdded, sendEdgeAdded, sendEdgeAttributeAdded, sendEdgeAttributeAdded, sendEdgeAttributeChanged, sendEdgeAttributeChanged, sendEdgeAttributeRemoved, sendEdgeAttributeRemoved, sendEdgeRemoved, sendEdgeRemoved, sendGraphAttributeAdded, sendGraphAttributeAdded, sendGraphAttributeChanged, sendGraphAttributeChanged, sendGraphAttributeRemoved, sendGraphAttributeRemoved, sendGraphCleared, sendGraphCleared, sendNodeAdded, sendNodeAdded, sendNodeAttributeAdded, sendNodeAttributeAdded, sendNodeAttributeChanged, sendNodeAttributeChanged, sendNodeAttributeRemoved, sendNodeAttributeRemoved, sendNodeRemoved, sendNodeRemoved, sendStepBegins, sendStepBegins
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAttributeSink, addElementSink, addSink, clearAttributeSinks, clearElementSinks, clearSinks, removeAttributeSink, removeElementSink, removeSink
public static final String SPECIAL_URLS
protected final WikipediaGenerator.Lang lang
public WikipediaGenerator(String... articles)
public WikipediaGenerator(WikipediaGenerator.Lang lang, String... articles)
public void addArticle(String name)
protected String getNodeLabel(String url) throws URISyntaxException
getNodeLabel
in class URLGenerator
URISyntaxException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses