Interface BundleSource

    • Method Detail

      • getBundles

        List<Bundle> getBundles()
        Get all the bundles that seem initially correct.
        Returns:
        A list of the available bundle objects.
      • checkIsValidBundleFile

        boolean checkIsValidBundleFile​(String bundleId,
                                       String relativeFilePath)
        Checks that the bundleId exists, and that the file is listed in the metadata.
        Parameters:
        bundleId - The Id of the bundle to which the requested file belongs.
        relativeFilePath - the relative path of the file, as listed in the metadata.
        Returns:
        true if the bundle exists and file is listed in the metadata. false otherwise.