|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Serializer
Method Summary | |
---|---|
AttributeHolder[] |
readAttributeHolders(java.io.Reader reader)
Read the attribute holders using the given reader. |
LookupTable[] |
readAttributes(java.io.Reader reader,
java.lang.String[] attributes)
Load only some attributes |
ResourceDescription[] |
readResourceDescriptions(java.io.Reader reader)
Read the resource descriptions using the given reader. |
Resource[] |
readResources(java.io.Reader reader)
Read the resources using the given reader. |
void |
writeResourceDescriptions(Resource[] descr,
java.io.Writer writer)
Write the resource descriptions using the given writer. |
void |
writeResourceDescriptions(ResourceDescription[] descr,
java.io.Writer writer)
Write the resource descriptions using the given writer. |
void |
writeResources(AttributeHolder[] holders,
java.io.Writer writer)
Write the resources using the given writer. |
Method Detail |
---|
void writeResourceDescriptions(ResourceDescription[] descr, java.io.Writer writer) throws java.io.IOException, SerializationException
descr
- the resource descriptions arraywriter
- the writer
java.io.IOException
SerializationException
void writeResourceDescriptions(Resource[] descr, java.io.Writer writer) throws java.io.IOException, SerializationException
descr
- the resource descriptions arraywriter
- the writer
java.io.IOException
SerializationException
void writeResources(AttributeHolder[] holders, java.io.Writer writer) throws java.io.IOException, SerializationException
descr
- the resource arraywriter
- the writer
java.io.IOException
SerializationException
ResourceDescription[] readResourceDescriptions(java.io.Reader reader) throws java.io.IOException, SerializationException
writer
- the reader
java.io.IOException
SerializationException
Resource[] readResources(java.io.Reader reader) throws java.io.IOException, SerializationException
writer
- the reader
java.io.IOException
SerializationException
AttributeHolder[] readAttributeHolders(java.io.Reader reader) throws java.io.IOException, SerializationException
writer
- the reader
java.io.IOException
SerializationException
LookupTable[] readAttributes(java.io.Reader reader, java.lang.String[] attributes) throws java.io.IOException, SerializationException
attributes
- the attribute names array.
java.io.IOException
SerializationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |