public class ActivityUtil extends Object
CrawlingActivity
objects.Constructor and Description |
---|
ActivityUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addStep(org.dice_research.squirrel.data.uri.CrawleableUri uri,
Class<?> clazz)
A simple method which attaches a step with the given Class to the
CrawlingActivity of the given URI if it exists. |
static void |
addStep(org.dice_research.squirrel.data.uri.CrawleableUri uri,
Class<?> clazz,
String... actions)
A simple method which attaches a step with the given Class and the given
actions to the
CrawlingActivity of the given URI if it exists. |
public static void addStep(org.dice_research.squirrel.data.uri.CrawleableUri uri, Class<?> clazz, String... actions)
CrawlingActivity
of the given URI if it exists.uri
- the URI that is crawled and to which the given actions should be
addedclazz
- the Class of the calling objectactions
- the actions the object when handling the given URIpublic static void addStep(org.dice_research.squirrel.data.uri.CrawleableUri uri, Class<?> clazz)
CrawlingActivity
of the given URI if it exists.uri
- the URI that is crawled and to which the given actions should be
addedclazz
- the Class of the calling objectCopyright © 2017–2020. All rights reserved.