Class PathUtils
java.lang.Object
org.gcube.data.access.storagehub.fs.PathUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.gcube.common.storagehub.client.dsl.ItemContainer<? extends org.gcube.common.storagehub.model.items.Item>getLastComponent(String path) getParentPath(String path) org.gcube.common.storagehub.client.dsl.ItemContainer<? extends org.gcube.common.storagehub.model.items.Item>
-
Field Details
-
logger
public static org.slf4j.Logger logger
-
-
Constructor Details
-
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 Details
-
getLastComponent
-
getParentPath
-
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)
-