Class FileUtils


  • public class FileUtils
    extends Object
    • Constructor Detail

      • FileUtils

        public FileUtils()
    • Method Detail

      • 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