public class ResourceUtil extends Object
Constructor and Description |
---|
ResourceUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
copyResource(String classpath,
File out)
Copy a resource from the classpath into a file
|
static String |
readAsString(String resourceName) |
public static String readAsString(String resourceName) throws IOException
IOException
public static void copyResource(String classpath, File out) throws IOException
classpath
- The classpath specificationout
- The target fileIOException
Copyright © 2008-2014 Logical Objects. All Rights Reserved.