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