public class BlobUrlResolverImpl extends Object implements BlobUrlResolver
BlobUrlResolver
Modifier and Type | Field and Description |
---|---|
protected String |
fileExtension
Extension used for the blob files
|
Constructor and Description |
---|
BlobUrlResolverImpl(String fileExtension) |
Modifier and Type | Method and Description |
---|---|
String |
getBlobUrl(String contentUrl)
Returns the blob file url for the given content
|
String |
getContentUrl(String blobUrl)
Returns the content url for the given blob file
|
protected String fileExtension
public BlobUrlResolverImpl(String fileExtension)
public String getBlobUrl(String contentUrl)
BlobUrlResolver
getBlobUrl
in interface BlobUrlResolver
contentUrl
- the url of the contentpublic String getContentUrl(String blobUrl)
BlobUrlResolver
getContentUrl
in interface BlobUrlResolver
blobUrl
- the url of the blob fileCopyright © 2023 CrafterCMS. All rights reserved.