Package nl.knaw.dans.lib.ocflext
Class Util
java.lang.Object
nl.knaw.dans.lib.ocflext.Util
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Util
public Util()
-
-
Method Details
-
fromItem
public static io.ocfl.core.storage.common.Listing fromItem(nl.knaw.dans.layerstore.Item item, String relativeToPath) Convert an Item to a Listing.- Parameters:
item
- the item to convertrelativeToPath
- the path to relativize the item path to- Returns:
- the converted item
-