public interface Locator
Locators.getDefault()| Modifier and Type | Method and Description |
|---|---|
String |
getDirectory()
Returns the directory used to resolve the relative path, or null
if relative path is not allowed.
|
URL |
getResource(String name)
Finds the resource with the given name.
|
InputStream |
getResourceAsStream(String name)
Returns an input stream for reading the specified resource.
|
String getDirectory()
Note: if the returned directory is not null, it must end with '/'.
URL getResource(String name)
InputStream getResourceAsStream(String name)
Copyright © 2018. All rights reserved.