|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fcrepo.server.storage.translation.AtomDODeserializer
public class AtomDODeserializer
Deserializer for Fedora Objects in Atom format.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.fcrepo.common.Constants |
|---|
Constants.FedoraHome |
| Field Summary | |
|---|---|
static XMLFormat |
DEFAULT_FORMAT
|
| Constructor Summary | |
|---|---|
AtomDODeserializer()
|
|
AtomDODeserializer(XMLFormat format)
|
|
| Method Summary | |
|---|---|
void |
deserialize(InputStream in,
DigitalObject obj,
String encoding,
int transContext)
Deserializes the given stream. |
protected File |
getContentSrcAsFile(org.apache.abdera.i18n.iri.IRI contentSrc)
Returns the an Entry's contentSrc as a File relative to m_tempDir. |
DODeserializer |
getInstance()
Creates a new deserializer that the same format as this one. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final XMLFormat DEFAULT_FORMAT
| Constructor Detail |
|---|
public AtomDODeserializer()
public AtomDODeserializer(XMLFormat format)
| Method Detail |
|---|
public void deserialize(InputStream in,
DigitalObject obj,
String encoding,
int transContext)
throws ObjectIntegrityException,
StreamIOException,
UnsupportedEncodingException
deserialize in interface DODeserializerin - 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_INSTANCEpublic DODeserializer getInstance()
getInstance in interface DODeserializer
protected File getContentSrcAsFile(org.apache.abdera.i18n.iri.IRI contentSrc)
throws ObjectIntegrityException
m_tempDir.
contentSrc -
ObjectIntegrityException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||