java.lang.Object | |
↳ | org.apache.log4j.lf5.util.ResourceUtils |
ResourceUtils. Provide a set of convenience methods for working with Resources.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the InputStream for this resource.
| |||||||||||
Get the URL for this resource.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Get the InputStream for this resource. Note: to convert an InputStream into an InputReader, use: new InputStreamReader(InputStream).
object | The object to grab the Classloader from. This parameter is quite important from a visibility of resources standpoint as the hierarchy of Classloaders plays a role. |
---|---|
resource | The resource to load. |
Resource
getResourceAsURL(Object, Resource)
Get the URL for this resource.
object | The object to grab the Classloader from. This parameter is quite important from a visibility of resources standpoint as the hierarchy of Classloaders plays a role. |
---|---|
resource | The resource to load. |