Class BlobUrlResolverImpl
java.lang.Object
org.craftercms.commons.file.blob.impl.BlobUrlResolverImpl
- All Implemented Interfaces:
BlobUrlResolver
Default implementation of
BlobUrlResolver- Since:
- 3.1.6
- Author:
- joseross
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBlobUrl(String contentUrl) Returns the blob file url for the given contentgetContentUrl(String blobUrl) Returns the content url for the given blob file
-
Field Details
-
fileExtension
Extension used for the blob files
-
-
Constructor Details
-
BlobUrlResolverImpl
-
-
Method Details
-
getBlobUrl
Description copied from interface:BlobUrlResolverReturns the blob file url for the given content- Specified by:
getBlobUrlin interfaceBlobUrlResolver- Parameters:
contentUrl- the url of the content- Returns:
- the blob url
-
getContentUrl
Description copied from interface:BlobUrlResolverReturns the content url for the given blob file- Specified by:
getContentUrlin interfaceBlobUrlResolver- Parameters:
blobUrl- the url of the blob file- Returns:
- the content url
-