|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.common.classloader.ResourceEntry
public class ResourceEntry
This class defines an entry in the class/resource table of the XClassLoader
| Constructor Summary | |
|---|---|
ResourceEntry()
Constructor. |
|
ResourceEntry(java.net.URL repositoryUrl)
Constructor. |
|
ResourceEntry(java.net.URL repositoryUrl,
byte[] content)
Constructor. |
|
| Method Summary | |
|---|---|
protected java.net.URL |
createURL()
Creates an URL to this object. |
byte[] |
getBytes()
Reads the resource from the repository. |
byte[] |
getContent()
Gets the cached contents of the entry. |
java.net.URL |
getRepositoryUrl()
Gets the name of the repository this entry belongs to. |
void |
setContent(byte[] content)
Sets the cached contents of the entry. |
void |
setRepositoryUrl(java.net.URL repositoryUrl)
Sets the name of the repository this entry belongs to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceEntry()
public ResourceEntry(java.net.URL repositoryUrl)
repositoryUrl - Name of the repository this entry belongs to
public ResourceEntry(java.net.URL repositoryUrl,
byte[] content)
repositoryUrl - Name of the repository this entry belongs tocontent - Cached contents of the entry| Method Detail |
|---|
public java.net.URL getRepositoryUrl()
public void setRepositoryUrl(java.net.URL repositoryUrl)
public byte[] getContent()
public void setContent(byte[] content)
public byte[] getBytes()
protected java.net.URL createURL()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||