public interface PathCodec
| Modifier and Type | Method and Description |
|---|---|
java.net.URI |
getPath(java.lang.String bucketName,
java.lang.String objectName,
boolean allowEmptyObjectName)
Constructs and returns full path for the given object name.
|
StorageResourceId |
validatePathAndGetId(java.net.URI path,
boolean allowEmptyObjectName)
Validates the given URI and if valid, returns the associated StorageResourceId.
|
StorageResourceId validatePathAndGetId(java.net.URI path, boolean allowEmptyObjectName)
path - The GCS URI to validate.allowEmptyObjectName - If true, a missing object name is not considered invalid.java.net.URI getPath(java.lang.String bucketName,
java.lang.String objectName,
boolean allowEmptyObjectName)
Copyright © 2019. All rights reserved.