de.fuberlin.wiwiss.marbles.loading
Class DereferencingResult
java.lang.Object
de.fuberlin.wiwiss.marbles.loading.DereferencingResult
public class DereferencingResult
- extends java.lang.Object
The dereferencing result contains informations about the
success or failure of a DereferencingTasks execution.
- Author:
- Tobias Gauß
Adapted to the Apache HTTP Client and Sesame by Christian Becker
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STATUS_OK
public static final int STATUS_OK
- See Also:
- Constant Field Values
STATUS_PARSING_FAILED
public static final int STATUS_PARSING_FAILED
- See Also:
- Constant Field Values
STATUS_MALFORMED_URL
public static final int STATUS_MALFORMED_URL
- See Also:
- Constant Field Values
STATUS_UNABLE_TO_CONNECT
public static final int STATUS_UNABLE_TO_CONNECT
- See Also:
- Constant Field Values
STATUS_NEW_URIS_FOUND
public static final int STATUS_NEW_URIS_FOUND
- See Also:
- Constant Field Values
DereferencingResult
public DereferencingResult(DereferencingTask task,
int resultCode,
org.apache.commons.httpclient.HttpMethod method,
org.openrdf.model.Graph resultData,
java.lang.Exception resultException)
DereferencingResult
public DereferencingResult(DereferencingTask task,
int resultCode,
java.util.List urilist)
getTask
public DereferencingTask getTask()
getResultCode
public int getResultCode()
getResultData
public org.openrdf.model.Graph getResultData()
setResultData
public void setResultData(org.openrdf.model.Graph resultData)
getURI
public java.lang.String getURI()
getErrorMessage
public java.lang.String getErrorMessage()
isSuccess
public boolean isSuccess()
getUriList
public java.util.List getUriList()
getMethod
public org.apache.commons.httpclient.HttpMethod getMethod()
setMethod
public void setMethod(org.apache.commons.httpclient.HttpMethod method)
getResultException
public java.lang.Exception getResultException()
setResultException
public void setResultException(java.lang.Exception resultException)
setResultCode
public void setResultCode(int resultCode)