java.lang.Object | |
↳ | org.apache.log4j.lf5.util.Resource |
Resource encapsulates access to Resources via the Classloader.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
_name |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default, no argument constructor.
| |||||||||||
Construct a Resource given a name.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the InputStream for this Resource.
| |||||||||||
Get the InputStreamReader for this Resource.
| |||||||||||
Get the name of the resource.
| |||||||||||
Get the URL of the Resource.
| |||||||||||
Set the name of the resource.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Default, no argument constructor.
Get the InputStream for this Resource. Uses the classloader from this Resource.
Get the InputStreamReader for this Resource. Uses the classloader from this Resource.
Get the name of the resource. Set setName() for a description of a resource.
Get the URL of the Resource. Uses the classloader from this Resource.
Set the name of the resource.
A resource is some data (images, audio, text, etc) that can be accessed by class code in a way that is independent of the location of the code.
The name of a resource is a "/"-separated path name that identifies the resource.