Package com.tagtraum.ubermusic.dbpedia
Class DBpedia
- java.lang.Object
-
- com.tagtraum.core.WebService
-
- com.tagtraum.ubermusic.dbpedia.DBpedia
-
public class DBpedia extends WebService
DBpedia.- Author:
- Hendrik Schreiber
-
-
Field Summary
-
Fields inherited from class com.tagtraum.core.WebService
HTTP_METHOD_GET, HTTP_METHOD_POST, HTTP_METHOD_PUT, LOG
-
-
Constructor Summary
Constructors Constructor Description DBpedia()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Statement>
getStatements(String dbpediaId)
List<Statement>
getStatements(String dbpediaId, boolean live)
static String
toDBpediaId(String url)
-
Methods inherited from class com.tagtraum.core.WebService
cacheResource, clearCache, getCache, getConnectTimeOut, getDomFactory, getJSONArray, getJSONArray, getJSONObject, getJSONObject, getJSONObjectWithPayload, getMaxAge, getReadTimeOut, getRequestDelay, getSSLSocketFactory, getUserAgent, getXmlDocument, getXmlObject, handleStatusCode, isAcceptGzipContentEncoding, openConnection, openConnection, openInputStream, readURL, setAcceptGzipContentEncoding, setCache, setConnectTimeOut, setDomFactory, setMaxAge, setNextAllowedConnection, setReadTimeOut, setRequestDelay, setSSLSocketFactory, setUserAgent, toParameterString, useCacheOnly, waitForTurn
-
-
-
-
Method Detail
-
getStatements
public List<Statement> getStatements(String dbpediaId, boolean live) throws IOException
- Throws:
IOException
-
getStatements
public List<Statement> getStatements(String dbpediaId) throws IOException
- Throws:
IOException
-
-