|
||||||||||
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(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(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(DataOutputStream out) throws IOException
out
- the stream to write into
IOException
- if the operation can't be completedvoid read(DataInputStream in) throws IOException
in
- the stream to read from
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 |