public class PathUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
PathUtils(org.cache2k.Cache<String,org.gcube.common.storagehub.client.dsl.ItemContainer<org.gcube.common.storagehub.model.items.Item>> cache,
org.gcube.common.storagehub.client.dsl.FolderContainer rootDirectory,
org.gcube.common.storagehub.client.dsl.StorageHubClient client) |
| Modifier and Type | Method and Description |
|---|---|
org.gcube.common.storagehub.client.dsl.ItemContainer<? extends org.gcube.common.storagehub.model.items.Item> |
getByPath(String path,
org.gcube.common.storagehub.client.dsl.FolderContainer parentContainer) |
String |
getLastComponent(String path) |
String |
getParentPath(String path) |
org.gcube.common.storagehub.client.dsl.ItemContainer<? extends org.gcube.common.storagehub.model.items.Item> |
getPath(String path) |
public PathUtils(org.cache2k.Cache<String,org.gcube.common.storagehub.client.dsl.ItemContainer<org.gcube.common.storagehub.model.items.Item>> cache, org.gcube.common.storagehub.client.dsl.FolderContainer rootDirectory, org.gcube.common.storagehub.client.dsl.StorageHubClient client)
public org.gcube.common.storagehub.client.dsl.ItemContainer<? extends org.gcube.common.storagehub.model.items.Item> getPath(String path)
public org.gcube.common.storagehub.client.dsl.ItemContainer<? extends org.gcube.common.storagehub.model.items.Item> getByPath(String path, org.gcube.common.storagehub.client.dsl.FolderContainer parentContainer)
Copyright © 2021. All Rights Reserved.