|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--loader.ResourcePacket
It is used to sent the class byte array to the requester.
It could also store some further information.
| Constructor Summary | |
ResourcePacket(byte[] bytes)
Costructor for the byte array |
|
ResourcePacket(java.lang.String error)
Costructor for errors |
|
| Method Summary | |
java.lang.String |
getError()
return the string for the error |
byte[] |
getResourceBytes()
return the byte array |
boolean |
isOK()
if no error happened |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public ResourcePacket(java.lang.String error)
error - the error that was found on the serverpublic ResourcePacket(byte[] bytes)
bytes - the byte array for the requested class| Method Detail |
public boolean isOK()
public java.lang.String getError()
public byte[] getResourceBytes()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||