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
-
Constructor Summary
-
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:BlobUrlResolver
Returns the blob file url for the given content- Specified by:
getBlobUrl
in interfaceBlobUrlResolver
- Parameters:
contentUrl
- the url of the content- Returns:
- the blob url
-
getContentUrl
Description copied from interface:BlobUrlResolver
Returns the content url for the given blob file- Specified by:
getContentUrl
in interfaceBlobUrlResolver
- Parameters:
blobUrl
- the url of the blob file- Returns:
- the content url
-