Class ResourceUtil


  • public class ResourceUtil
    extends Object
    Helper class for dealing with Resources
    Author:
    pesse
    • Method Detail

      • copyResources

        public static void copyResources​(Path resourceAsPath,
                                         Path targetDirectory)
        Copy directory from a jar file to the destination folder
        Parameters:
        resourceAsPath - The resource to get children from
        targetDirectory - If set to true it will only return files, not directories