Class FileUtils


  • public class FileUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FileUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<java.net.URI> getBundlesRecursive​(java.net.URI sourceDir)
      Get a list of URLs for the bundles under the parent URL
      static boolean isBundle​(java.io.File file)
      Check whether a file is a bundle.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileUtils

        public FileUtils()
    • Method Detail

      • isBundle

        public static boolean isBundle​(java.io.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 java.util.List<java.net.URI> getBundlesRecursive​(java.net.URI sourceDir)
                                                                throws java.io.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:
        java.io.IOException