public interface BlobStore
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_KEY_CONFIGURATION |
static String |
CONFIG_KEY_ID |
static String |
CONFIG_KEY_MAPPING |
static String |
CONFIG_KEY_MAPPING_PREFIX |
static String |
CONFIG_KEY_MAPPING_PUBLISHING_TARGET |
static String |
CONFIG_KEY_MAPPING_STORE_TARGET |
static String |
CONFIG_KEY_PATTERN |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the unique id of the store
|
org.springframework.core.io.Resource |
getResource(String path,
Blob blob)
Resolves the given blob to a readable resource
|
void |
init(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> config)
Performs all setup needed with the given configuration
|
boolean |
isCompatible(String path)
Indicates if the given path is compatible with the store
|
static final String CONFIG_KEY_ID
static final String CONFIG_KEY_PATTERN
static final String CONFIG_KEY_MAPPING
static final String CONFIG_KEY_MAPPING_PUBLISHING_TARGET
static final String CONFIG_KEY_MAPPING_STORE_TARGET
static final String CONFIG_KEY_MAPPING_PREFIX
static final String CONFIG_KEY_CONFIGURATION
void init(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> config) throws ConfigurationException
config
- the configuration objectConfigurationException
- is any error occursString getId()
boolean isCompatible(String path)
path
- path to checkCopyright © 2023 CrafterCMS. All rights reserved.