public class LocalFileSharedContentProvider extends LocalImageSharedContentProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
categories, name, urlTYPE_DEFAULT, TYPE_IMAGE, TYPE_MULTIMEDIA, TYPE_TEXT| Constructor and Description |
|---|
LocalFileSharedContentProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
acceptedDocument(ContentContext ctx,
String fileName) |
protected ComponentBean |
getComponentBean(String name,
String category,
String specialValue,
String lg) |
protected FileFilter |
getFilter() |
protected String |
getPreviewURL(ContentContext ctx,
ComponentBean compBean) |
protected File |
getRootFolder(ContentContext ctx) |
getCategories, getContent, getType, isCategoryAccepted, isUploadable, uploadgetCategoriesSize, getContent, getContentSize, getLabel, getName, getURL, isCategoryAccepted, isEmpty, isLarge, isSearch, refresh, searchContent, setCategories, setName, setURLpublic static final String NAME
protected FileFilter getFilter()
getFilter in class LocalImageSharedContentProviderprotected File getRootFolder(ContentContext ctx)
getRootFolder in class LocalImageSharedContentProviderprotected ComponentBean getComponentBean(String name, String category, String specialValue, String lg)
getComponentBean in class LocalImageSharedContentProviderprotected String getPreviewURL(ContentContext ctx, ComponentBean compBean) throws Exception
getPreviewURL in class LocalImageSharedContentProviderExceptionprotected boolean acceptedDocument(ContentContext ctx, String fileName)
acceptedDocument in class LocalImageSharedContentProviderCopyright © 2012-2018. All Rights Reserved.