Class Util

java.lang.Object
nl.knaw.dans.lib.ocflext.Util

public class Util extends Object
  • 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 convert
      relativeToPath - the path to relativize the item path to
      Returns:
      the converted item