public final class UrlUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
buildCreateBlobUrl(String strBaseUrl,
String strBlobStore)
Build the url to upload a file.
|
static String |
buildDeleteBlobUrl(String strBaseUrl)
Build the url to delete a file.
|
static String |
buildFileUrl(String strBaseUrl,
String strBlobStore,
String strBlobKey)
Build the url to get a file url.
|
static String |
getBlobKeyFromUrl(String strUrl)
Get the blob key from the url
|
static String |
getBlobStoreFromUrl(String strUrl)
Get the blobstore service name from the url
|
static String |
getParameterValue(String strUrl,
String strParameter)
Extract the parameter value from the url
|
public static String buildCreateBlobUrl(String strBaseUrl, String strBlobStore)
strBaseUrl - the base urlstrBlobStore - the blobstore service namepublic static String buildDeleteBlobUrl(String strBaseUrl)
strBaseUrl - the base urlpublic static String buildFileUrl(String strBaseUrl, String strBlobStore, String strBlobKey)
strBaseUrl - the base urlstrBlobStore - the blobstore service namestrBlobKey - the blob keypublic static String getParameterValue(String strUrl, String strParameter)
strUrl - the urlstrParameter - the parameterpublic static String getBlobStoreFromUrl(String strUrl)
strUrl - the urlCopyright © 2021 City of Paris. All rights reserved.