public class AIPManifestWriter extends Object
| Constructor and Description |
|---|
AIPManifestWriter() |
| Modifier and Type | Method and Description |
|---|---|
static org.dspace.content.Bitstream |
dereferenceAbsoluteURI(org.dspace.core.Context context,
URI uri)
Returns the Bitstream object containing the file in the asset
store indicated by the URI, or null if there is none.
|
URI |
getAbsoluteURI(org.dspace.core.Context context,
org.dspace.content.Bitstream bitstream)
Returns a URI of the storage occupied by this bitstream in the
asset store.
|
org.dspace.content.Bitstream |
updateAIP(org.dspace.core.Context context,
org.dspace.content.DSpaceObject dso,
boolean force)
Update the entry: if Internal AIP is out of date or missing,
record a new one.
|
public org.dspace.content.Bitstream updateAIP(org.dspace.core.Context context,
org.dspace.content.DSpaceObject dso,
boolean force)
throws SQLException,
IOException,
org.dspace.content.packager.PackageException,
org.dspace.content.crosswalk.CrosswalkException,
org.dspace.authorize.AuthorizeException,
NoSuchAlgorithmException
SQLExceptionIOExceptionorg.dspace.content.packager.PackageExceptionorg.dspace.content.crosswalk.CrosswalkExceptionorg.dspace.authorize.AuthorizeExceptionNoSuchAlgorithmExceptionpublic static org.dspace.content.Bitstream dereferenceAbsoluteURI(org.dspace.core.Context context,
URI uri)
throws SQLException
context - - the context.uri - a bitstream absolute URI created by getAbsoluteURI()SQLExceptionpublic URI getAbsoluteURI(org.dspace.core.Context context, org.dspace.content.Bitstream bitstream)
Copyright © 2016 DuraSpace. All rights reserved.