Export the object (Item, Collection, or Community) as a "package" on the indicated OutputStream. Package is any serialized representation of the item, at the discretion of the implementing class. It does not have to include content bitstreams. Use the params parameter list to adjust the way the package is made, e.g. including a "metadataOnly" parameter might make the package a bare manifest in XML instead of a Zip file including manifest and contents. Throws an exception of the chosen object is not acceptable or there is a failure creating the package.
@param context DSpace context.
@param object DSpace object (item, collection, etc)
@param params Properties-style list of options specific to this packager
@param out output stream on which to write package
@throws PackageValidationException if package cannot be created or there isa fatal error in creating it.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.