fedora.server.storage.translation
Interface DOTranslator

All Known Implementing Classes:
DOTranslatorImpl, DOTranslatorModule

public interface DOTranslator

Title: DOTranslator.java

Description:

Version:
$Id: DOTranslator.java 3966 2005-04-21 13:33:01Z rlw $
Author:
cwilper@cs.cornell.edu

Method Summary
 void deserialize(java.io.InputStream in, DigitalObject out, java.lang.String format, java.lang.String encoding, int transContext)
           
 void serialize(DigitalObject in, java.io.OutputStream out, java.lang.String format, java.lang.String encoding, int transContext)
           
 

Method Detail

deserialize

void deserialize(java.io.InputStream in,
                 DigitalObject out,
                 java.lang.String format,
                 java.lang.String encoding,
                 int transContext)
                 throws ObjectIntegrityException,
                        StreamIOException,
                        UnsupportedTranslationException,
                        ServerException
Throws:
ObjectIntegrityException
StreamIOException
UnsupportedTranslationException
ServerException

serialize

void serialize(DigitalObject in,
               java.io.OutputStream out,
               java.lang.String format,
               java.lang.String encoding,
               int transContext)
               throws ObjectIntegrityException,
                      StreamIOException,
                      UnsupportedTranslationException,
                      ServerException
Throws:
ObjectIntegrityException
StreamIOException
UnsupportedTranslationException
ServerException