Class Utils


  • final class Utils
    extends Object
    Benchmarks utility methods.
    Since:
    1.1
    Author:
    Michael Heuer
    • Constructor Detail

      • Utils

        Utils()
    • Method Detail

      • copyResource

        static void copyResource​(String name,
                                 File file)
                          throws IOException
        Copy a classpath resource to a file.
        Parameters:
        name - classpath resource name
        file - file to copy classpath resource to
        Throws:
        IOException - if an I/O error occurs