de.fuberlin.wiwiss.ng4j.semwebclient
Class DereferencingResult

java.lang.Object
  extended by de.fuberlin.wiwiss.ng4j.semwebclient.DereferencingResult

public class DereferencingResult
extends Object

The dereferencing result contains informations about the success or failure of a DereferencingTasks execution.

Author:
Tobias Gauß

Field Summary
static int STATUS_MALFORMED_URL
           
static int STATUS_NEW_URIS_FOUND
           
static int STATUS_OK
           
static int STATUS_PARSING_FAILED
           
static int STATUS_UNABLE_TO_CONNECT
           
 
Constructor Summary
DereferencingResult(DereferencingTask task, int resultCode, List urilist)
           
DereferencingResult(DereferencingTask task, int resultCode, NamedGraphSet resultData, Exception resultException)
           
 
Method Summary
 String getErrorMessage()
           
 int getResultCode()
           
 NamedGraphSet getResultData()
           
 DereferencingTask getTask()
           
 String getURI()
           
 List getUriList()
           
 boolean isSuccess()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

DereferencingResult

public DereferencingResult(DereferencingTask task,
                           int resultCode,
                           NamedGraphSet resultData,
                           Exception resultException)

DereferencingResult

public DereferencingResult(DereferencingTask task,
                           int resultCode,
                           List urilist)
Method Detail

getTask

public DereferencingTask getTask()

getResultCode

public int getResultCode()

getResultData

public NamedGraphSet getResultData()

getURI

public String getURI()

getErrorMessage

public String getErrorMessage()

isSuccess

public boolean isSuccess()

getUriList

public List getUriList()