Package org.dspace.content.packager
package org.dspace.content.packager
Provides an API and implementations of content packages, used in the context of ingest (SIP), or dissemination (DIP)
Packaging Interfaces
The principle interfaces are for ingesters and disseminators. The PackageIngester interface consists of the method:
WorkspaceItem ingest(Context context, Collection collection, InputStream in,
PackageParameters params, String license)
The PackageDisseminator interface consists of the method:
void disseminate(Context context, DSpaceObject object,
PackageParameters params, OutputStream out)
Packaging Implementations
Ingester and disseminator implementations exist for METs and PDF packages, and the classes are designed to be extended for different profiles.
- See Also:
-
ClassDescriptionBase class for disseminator of METS (Metadata Encoding and Transmission Standard) Package.
See http://www.loc.gov/standards/mets/Wrapper for a table of streams to add to the package, such as mdRef'd metadata.Base class for package ingester of METS (Metadata Encoding and Transmission Standard) Packages.
See http://www.loc.gov/standards/mets/.An instance of ZipMdrefManager holds the state needed to retrieve the contents of an external metadata stream referenced by anmdRefelement in a Zipped up METS manifest.An abstract implementation of a DSpace Package Disseminator, which implements a few helper/utility methods that most (all?)An abstract implementation of a DSpace Package Ingester, which implements a few helper/utility methods that most (all?)Subclass of the METS packager framework to disseminate a DSpace Archival Information Package (AIP).Subclass of the METS packager framework to ingest a DSpace Archival Information Package (AIP).Packager plugin to produce a METS (Metadata Encoding and Transmission Standard) package that is accepted as a DSpace METS SIP (Submission Information Package).Packager plugin to ingest a METS (Metadata Encoding and Transmission Standard) package that conforms to the DSpace METS SIP (Submission Information Package) Profile.Manage the METS manifest document for METS importer classes, such as the package importerorg.dspace.content.packager.MetsSubmissionand the federated importerorg.dspace.app.mets.FederatedMETSImportCallback interface to retrieve data streams in mdRef elements.Plugin Interface to produce Dissemination Information Package (DIP) of a DSpace object.This is a superclass for exceptions representing a failure when importing or exporting a package.Plugin Interface to interpret a Submission Information Package (SIP) and create (or replace) a DSpace Object from its contents.Parameter list for SIP and DIP packagers.Container class for code that is useful to many packagers.Stream wrapper that does not allow its wrapped stream to be closed.This represents a failure when importing or exporting a package caused by invalid unacceptable package format or contents; for example, missing files that were mentioned in the manifest, or extra files not in manifest, or lack of a manifest.Accept a PDF file by itself as a SIP.Plugin to export all Group and EPerson objects in XML, perhaps for reloading.Create EPersons and Groups from a file of external representations.