public class LicenseStreamDisseminationCrosswalk extends java.lang.Object implements StreamDisseminationCrosswalk
| Constructor and Description |
|---|
LicenseStreamDisseminationCrosswalk() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDisseminate(Context context,
DSpaceObject dso)
Predicate: Can this disseminator crosswalk the given object.
|
void |
disseminate(Context context,
DSpaceObject dso,
java.io.OutputStream out)
Execute crosswalk on the given object, sending output to the stream.
|
java.lang.String |
getMIMEType() |
public boolean canDisseminate(Context context, DSpaceObject dso)
StreamDisseminationCrosswalkcanDisseminate in interface StreamDisseminationCrosswalkdso - dspace object, e.g. an Item.public void disseminate(Context context, DSpaceObject dso, java.io.OutputStream out) throws CrosswalkException, java.io.IOException, java.sql.SQLException, AuthorizeException
StreamDisseminationCrosswalkdisseminate in interface StreamDisseminationCrosswalkcontext - the DSpace contextdso - the DSpace Object whose metadata to export.out - output stream to write toCrosswalkInternalException - (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.CrosswalkExceptionpublic java.lang.String getMIMEType()
getMIMEType in interface StreamDisseminationCrosswalkCopyright © 2013 DuraSpace. All Rights Reserved.