Class ClasspathResourceUtils

java.lang.Object
eu.europeana.apikey.util.ClasspathResourceUtils

public class ClasspathResourceUtils extends Object
The type Classpath resource utils.
  • Method Details

    • 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 - the io exception