Package org.nuxeo.ecm.core.blob
Class LocalBlobProvider
- java.lang.Object
 - 
- org.nuxeo.ecm.core.blob.AbstractBlobProvider
 - 
- org.nuxeo.ecm.core.blob.BlobStoreBlobProvider
 - 
- org.nuxeo.ecm.core.blob.LocalBlobProvider
 
 
 
 
- 
- All Implemented Interfaces:
 BlobProvider
- Direct Known Subclasses:
 AESBlobProvider
public class LocalBlobProvider extends BlobStoreBlobProvider
A simple blob provider storing blobs on the local filesystem.- Since:
 - 11.1
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class org.nuxeo.ecm.core.blob.BlobStoreBlobProvider
BlobStoreBlobProvider.AutoDeleteFileInputStream 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description protected LocalBlobStoreConfigurationconfig- 
Fields inherited from class org.nuxeo.ecm.core.blob.BlobStoreBlobProvider
DIGEST_KEY_STRATEGY, KEY_STRATEGY_PROPERTY, MANAGED_KEY_STRATEGY, store 
- 
Fields inherited from class org.nuxeo.ecm.core.blob.AbstractBlobProvider
blobProviderId, properties 
 - 
 
- 
Constructor Summary
Constructors Constructor Description LocalBlobProvider() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes this blob provider and releases resources that may be held by it.protected BlobStoregetBlobStore(String blobProviderId, Map<String,String> properties)protected StringgetDigestAlgorithm()The digest algorithm to use for the default key strategy.PathgetStorageDir()protected BlobStorenewBlobStore(String name, KeyStrategy keyStrategy, PathStrategy pathStrategy)- 
Methods inherited from class org.nuxeo.ecm.core.blob.BlobStoreBlobProvider
deleteBlob, fixupDigest, getBinaryGarbageCollector, getBinaryManager, getFile, getKeyStrategy, getStream, getStream, initialize, readBlob, stripBlobKeyPrefix, supportsSync, updateBlob, writeBlob, writeBlob 
- 
Methods inherited from class org.nuxeo.ecm.core.blob.AbstractBlobProvider
allowByteRange, getProperties, hasCreateFromKeyPermission, isRecordMode, isTransactional, isTransient, supportsUserUpdate, supportsUserUpdateDefaultFalse, supportsUserUpdateDefaultTrue 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface org.nuxeo.ecm.core.blob.BlobProvider
canConvert, getAppLinks, getAvailableConversions, getStatus, getThumbnail, getURI, isVersion, performsExternalAccessControl, readBlob 
 - 
 
 - 
 
- 
- 
Field Detail
- 
config
protected LocalBlobStoreConfiguration config
 
 - 
 
- 
Constructor Detail
- 
LocalBlobProvider
public LocalBlobProvider()
 
 - 
 
- 
Method Detail
- 
getBlobStore
protected BlobStore getBlobStore(String blobProviderId, Map<String,String> properties) throws IOException
- Specified by:
 getBlobStorein classBlobStoreBlobProvider- Throws:
 IOException
 
- 
newBlobStore
protected BlobStore newBlobStore(String name, KeyStrategy keyStrategy, PathStrategy pathStrategy)
 
- 
close
public void close()
Description copied from interface:BlobProviderCloses this blob provider and releases resources that may be held by it. 
- 
getDigestAlgorithm
protected String getDigestAlgorithm()
Description copied from class:BlobStoreBlobProviderThe digest algorithm to use for the default key strategy.- Specified by:
 getDigestAlgorithmin classBlobStoreBlobProvider
 
- 
getStorageDir
public Path getStorageDir()
 
 - 
 
 -