de.fuberlin.wiwiss.marbles.loading
Class ExtendedDereferencingTask
java.lang.Object
de.fuberlin.wiwiss.ng4j.semwebclient.DereferencingTask
de.fuberlin.wiwiss.marbles.loading.ExtendedDereferencingTask
public class ExtendedDereferencingTask
- extends DereferencingTask
Extends DereferencingTask with redirectStep,
done and forceReload properties
- Author:
- Christian Becker
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtendedDereferencingTask
public ExtendedDereferencingTask(DereferencingListener listener,
java.lang.String uri,
int step,
int redirectStep,
boolean forceReload)
- Constructs an
ExtendedDereferencingTask
- Parameters:
listener - uri - step - The distance from the focal resourceredirectStep - The number of redirects performed in the course of this individual requestforceReload - Set this to true if the URL should be loaded even if a valid copy is already in the cache
getRedirectStep
public int getRedirectStep()
setRedirectStep
public void setRedirectStep(int redirectStep)
isDone
public boolean isDone()
- Returns:
- true, if the URL has been loaded
setDone
public void setDone(boolean done)
- Parameters:
done - Set this to true when the URL has been loaded
isForceReload
public boolean isForceReload()
- Returns:
- true, if the URL should be loaded even if a valid copy is already in the cache