public class ResourceUtils
extends java.lang.Object
Constructor and Description |
---|
ResourceUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
getResourceListing(java.lang.Class<?> clazz,
java.lang.String path)
List directory contents for a resource folder.
|
public static java.lang.String[] getResourceListing(java.lang.Class<?> clazz, java.lang.String path) throws java.net.URISyntaxException, java.io.IOException
clazz
- Any java class that lives in the same place as the resources
you want.path
- Should end with "/".java.net.URISyntaxException
java.io.IOException