public class LocalFileSharedContentProvider extends LocalImageSharedContentProvider
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
categories, name, url
TYPE_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, upload
getCategoriesSize, getContent, getContentSize, getLabel, getName, getURL, isCategoryAccepted, isEmpty, isLarge, isSearch, refresh, searchContent, setCategories, setName, setURL
public static final String NAME
protected FileFilter getFilter()
getFilter
in class LocalImageSharedContentProvider
protected File getRootFolder(ContentContext ctx)
getRootFolder
in class LocalImageSharedContentProvider
protected ComponentBean getComponentBean(String name, String category, String specialValue, String lg)
getComponentBean
in class LocalImageSharedContentProvider
protected String getPreviewURL(ContentContext ctx, ComponentBean compBean) throws Exception
getPreviewURL
in class LocalImageSharedContentProvider
Exception
protected boolean acceptedDocument(ContentContext ctx, String fileName)
acceptedDocument
in class LocalImageSharedContentProvider
Copyright © 2012-2018. All Rights Reserved.