public interface ResourceLoader
Modifier and Type | Method and Description |
---|---|
List<String> |
getLines(String resource)
Accesses a resource by name and returns the (non comment) lines
containing data.
|
Object |
newInstance(String cname,
String... subpackages) |
InputStream |
openResource(String resource) |
InputStream openResource(String resource) throws IOException
IOException
List<String> getLines(String resource) throws IOException
A comment line is any line that starts with the character "#"
resource
- IOException