Class FileUtils

java.lang.Object
org.apache.aries.util.filesystem.FileUtils

public class FileUtils extends Object
  • Constructor Details

    • FileUtils

      public FileUtils()
  • Method Details

    • isBundle

      public static boolean isBundle(File file)
      Check whether a file is a bundle.
      Parameters:
      file - the file path
      Returns:
      true if the file is a bundle, false else
    • getBundlesRecursive

      public static List<URI> getBundlesRecursive(URI sourceDir) throws IOException
      Get a list of URLs for the bundles under the parent URL
      Parameters:
      sourceDir - The parent URL
      Returns:
      the list of URLs for the bundles
      Throws:
      IOException