public class PixabaySharedContentProvider extends AbstractSharedContentProvider
categories, name, urlTYPE_DEFAULT, TYPE_IMAGE, TYPE_MULTIMEDIA, TYPE_TEXT| Constructor and Description |
|---|
PixabaySharedContentProvider() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCategoriesSize(ContentContext ctx) |
Collection<SharedContent> |
getContent(ContentContext ctx) |
int |
getContentSize(ContentContext ctx) |
String |
getType() |
boolean |
isLarge() |
static void |
main(String[] args) |
void |
refresh(ContentContext ctx)
refresh the content list and the list of categories
|
Collection<SharedContent> |
searchContent(ContentContext ctx,
String query) |
getCategories, getContent, getLabel, getName, getURL, isCategoryAccepted, isCategoryAccepted, isEmpty, isSearch, isUploadable, setCategories, setName, setURL, uploadpublic void refresh(ContentContext ctx)
ISharedContentProviderrefresh in interface ISharedContentProviderrefresh in class AbstractSharedContentProviderpublic Collection<SharedContent> searchContent(ContentContext ctx, String query)
searchContent in interface ISharedContentProvidersearchContent in class AbstractSharedContentProviderpublic Collection<SharedContent> getContent(ContentContext ctx)
getContent in interface ISharedContentProvidergetContent in class AbstractSharedContentProviderpublic String getType()
getType in interface ISharedContentProvidergetType in class AbstractSharedContentProviderpublic int getContentSize(ContentContext ctx)
getContentSize in interface ISharedContentProvidergetContentSize in class AbstractSharedContentProviderpublic int getCategoriesSize(ContentContext ctx)
getCategoriesSize in interface ISharedContentProvidergetCategoriesSize in class AbstractSharedContentProviderpublic static void main(String[] args) throws MalformedURLException, Exception
MalformedURLExceptionExceptionpublic boolean isLarge()
isLarge in interface ISharedContentProviderisLarge in class AbstractSharedContentProviderCopyright © 2012-2018. All Rights Reserved.