|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DODeserializer
Reads a Fedora object in some format.
Implementations of this interface MUST implement a public, no-arg constructor.
| Method Summary | |
|---|---|
void |
deserialize(InputStream in,
DigitalObject obj,
String encoding,
int transContext)
Deserializes the given stream. |
DODeserializer |
getInstance()
Creates a new deserializer that the same format as this one. |
| Method Detail |
|---|
DODeserializer getInstance()
void deserialize(InputStream in,
DigitalObject obj,
String encoding,
int transContext)
throws ObjectIntegrityException,
StreamIOException,
UnsupportedEncodingException
in - the stream to read from (closed when finished).obj - the object to deserialize into.encoding - the character encoding if the format is text-based.transContext - the translation context.
ObjectIntegrityException - if the stream does not properly encode an object.
StreamIOException - if there is an error reading from the stream.
UnsupportedEncodingException - if the encoding is not supported by the JVM.DOTranslationUtility.DESERIALIZE_INSTANCE
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||