Class PathUtils
- java.lang.Object
-
- org.gcube.data.access.storagehub.fs.PathUtils
-
public class PathUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)StringgetLastComponent(String path)StringgetParentPath(String path)org.gcube.common.storagehub.client.dsl.ItemContainer<? extends org.gcube.common.storagehub.model.items.Item>getPath(String path)
-
-
-
Constructor Detail
-
PathUtils
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)
-
-
Method Detail
-
getPath
public org.gcube.common.storagehub.client.dsl.ItemContainer<? extends org.gcube.common.storagehub.model.items.Item> getPath(String path)
-
getByPath
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)
-
-