Package eu.europeana.apikey.util
Class ClasspathResourceUtils
- java.lang.Object
-
- eu.europeana.apikey.util.ClasspathResourceUtils
-
public class ClasspathResourceUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetResourceContentFromPath(String path)Get a resource in classpath as a String
-
-
-
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
-
-