Class ClasspathResourceUtils


  • public class ClasspathResourceUtils
    extends Object
    • Method Detail

      • getResourceContentFromPath

        public static String getResourceContentFromPath​(String path)
                                                 throws IOException
        Get a resource in classpath as a String
        Parameters:
        path - well, the path, obviously.
        Returns:
        String containing resource based on http://stackoverflow.com/a/5445161/204788
        Throws:
        IOException