Package org.aksw.qa.annotation.spotter
Class ASpotter
java.lang.Object
org.aksw.qa.annotation.spotter.ASpotter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static PersistentCacheprivate static org.slf4j.Loggerprivate intprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEntities(String question)private Stringprotected StringrequestPOST(String input, String requestURL, String contentType)toString()
-
Field Details
-
log
private static final org.slf4j.Logger log -
useCache
private boolean useCache -
cache
-
timeout
private int timeout
-
-
Constructor Details
-
ASpotter
public ASpotter()
-
-
Method Details
-
getEntities
-
requestPOST
-
post
private String post(String urlParameters, String requestURL, String contentType) throws MalformedURLException, IOException, ProtocolException -
toString
-