public final class UriPaths extends Object
| Modifier and Type | Method and Description |
|---|---|
static URI |
fromResourceId(StorageResourceId resourceId,
boolean allowEmptyObjectName)
Constructs and returns full path for the given bucket and object names.
|
static URI |
fromStringPathComponents(String bucketName,
String objectName,
boolean allowEmptyObjectName)
Constructs and returns full path for the given bucket and object names.
|
static URI |
getParentPath(URI path)
Gets the parent directory of the given path.
|
static URI |
toDirectory(URI path)
Converts the given path to look like a directory path.
|
public static URI toDirectory(URI path)
path - Path to convert.public static URI getParentPath(URI path)
path - Path to convert.public static URI fromResourceId(StorageResourceId resourceId, boolean allowEmptyObjectName)
Copyright © 2023. All rights reserved.