|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ApplicationResource
A resource that is created by the application and is stored persistent
by the ApplicationResourceManager.
| Method Summary | |
|---|---|
void |
read(java.io.DataInputStream in)
Reads the content of this resource from a stream of bytes. |
void |
readXML(XElement element)
Reads the contents of this resource from a xml element. |
void |
write(java.io.DataOutputStream out)
Transforms this resource in a stream of bytes. |
void |
writeXML(XElement element)
Writes the contents of this resource in xml format. |
| Method Detail |
|---|
void write(java.io.DataOutputStream out)
throws java.io.IOException
out - the stream to write into
java.io.IOException - if the operation can't be completed
void read(java.io.DataInputStream in)
throws java.io.IOException
in - the stream to read from
java.io.IOException - if the operation can't be finishedvoid writeXML(XElement element)
element - the element to write into, the attributes of
element should not be changed.void readXML(XElement element)
element - the element to read from.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||