public interface StreamIngestionCrosswalk
Stream-oriented crosswalks are intended to be used for metadata formats which are either (a) not XML-based, or (b) too bulky for the DOM-ish in-memory model developed for the METS and IMSCP packagers. The METS packagers (all subclasses of AbstractMETSDisseminator / AbstractMETSIngester are equipped to call these crosswalks as well as the XML-based ones, just refer to the desired crosswalk by its plugin name.
| Modifier and Type | Method and Description |
|---|---|
void |
ingest(Context context,
DSpaceObject dso,
java.io.InputStream in,
java.lang.String MIMEType)
Execute crosswalk on the given object, taking input from the stream.
|
void ingest(Context context, DSpaceObject dso, java.io.InputStream in, java.lang.String MIMEType) throws CrosswalkException, java.io.IOException, java.sql.SQLException, AuthorizeException
context - the DSpace contextdso - the DSpace Object whose metadata is being ingested.in - input stream containing the metadata.MIMEType - MIME type of the ???CrosswalkInternalException - (CrosswalkException) failure of the crosswalk itself.CrosswalkObjectNotSupported - (CrosswalkException) Cannot crosswalk this kind of DSpace object.java.io.IOException - I/O failure in services this callsjava.sql.SQLException - Database failure in services this callsAuthorizeException - current user not authorized for this operation.CrosswalkExceptionCopyright © 2018 DuraSpace. All Rights Reserved.