Package io.outofprintmagazine.nlp.utils
Class WikimediaUtils
- java.lang.Object
-
- io.outofprintmagazine.nlp.utils.WikimediaUtils
-
public class WikimediaUtils extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
WikimediaUtils.ImageInfoPageHandler
protected class
WikimediaUtils.ImagePageHandler
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getImages(String title)
List<String>
getImagesByTag(String text)
List<String>
getImagesByText(String text)
static WikimediaUtils
getInstance(IParameterStore parameterStore)
-
-
-
Method Detail
-
getInstance
public static WikimediaUtils getInstance(IParameterStore parameterStore) throws IOException
- Throws:
IOException
-
getImagesByText
public List<String> getImagesByText(String text) throws IOException, URISyntaxException
- Throws:
IOException
URISyntaxException
-
getImagesByTag
public List<String> getImagesByTag(String text) throws IOException, URISyntaxException
- Throws:
IOException
URISyntaxException
-
getImages
public List<String> getImages(String title) throws IOException, URISyntaxException
- Throws:
IOException
URISyntaxException
-
-