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