public class PackageFiles extends Object
Constructor and Description |
---|
PackageFiles() |
Modifier and Type | Method and Description |
---|---|
String[] |
getFileNameListing(Class clazz,
String path)
List directory contents for a resource folder.
|
public String[] getFileNameListing(Class clazz, String path) throws URISyntaxException, IOException
clazz
- Any java class that lives in the same place as the resources you want.path
- Should end with "/", but not start with one.URISyntaxException
IOException
Copyright © 2018. All rights reserved.