| Package | Description |
|---|---|
| org.dspace.app.itemupdate | |
| org.dspace.app.mediafilter | |
| org.dspace.app.util |
Miscellaneous utility classes.
|
| org.dspace.content |
Provides an API for reading and manipulating content in the DSpace system.
|
| org.dspace.content.dao | |
| 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.
|
| org.dspace.discovery | |
| org.dspace.license | |
| org.dspace.submit.step | |
| org.dspace.versioning |
| Modifier and Type | Method and Description |
|---|---|
boolean |
OriginalWithDerivativesBitstreamFilter.accept(Bitstream bitstream)
Tests bitstream for membership in specified bundles (ORIGINAL, TEXT, THUMBNAIL)
|
boolean |
OriginalBitstreamFilter.accept(Bitstream bitstream)
Tests bitstreams for containment in an ORIGINAL bundle
|
boolean |
BitstreamFilterByFilename.accept(Bitstream bitstream)
Tests bitstream by matching the regular expression in the
properties against the bitstream name
|
boolean |
BitstreamFilterByBundleName.accept(Bitstream bitstream)
Filter bitstream based on bundle name found in properties file
|
abstract boolean |
BitstreamFilter.accept(Bitstream bitstream)
The filter method
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
MediaFilterManager.filterBitstream(Context c,
Item myItem,
Bitstream myBitstream)
Attempt to filter a bitstream.
|
void |
MediaFilter.postProcessBitstream(Context c,
Item item,
Bitstream generatedBitstream)
Perform any post-processing of the generated bitstream *after* this
filter has already been run.
|
void |
FormatFilter.postProcessBitstream(Context c,
Item item,
Bitstream generatedBitstream)
Perform any post-processing of the generated bitstream *after* this
filter has already been run.
|
boolean |
MediaFilter.preProcessBitstream(Context c,
Item item,
Bitstream source)
Perform any pre-processing of the source bitstream *before* the actual
filtering takes place in MediaFilterManager.processBitstream().
|
boolean |
FormatFilter.preProcessBitstream(Context c,
Item item,
Bitstream source)
Perform any pre-processing of the source bitstream *before* the actual
filtering takes place in MediaFilterManager.processBitstream().
|
static boolean |
MediaFilterManager.processBitstream(Context c,
Item item,
Bitstream source,
FormatFilter formatFilter)
A utility class that calls the virtual methods
from the current MediaFilter class.
|
| Modifier and Type | Method and Description |
|---|---|
Bitstream |
SubmissionInfo.getBitstream()
Return the current bitstream we're working with (This is used during
upload processes, or user interfaces that are dealing with bitstreams)
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AuthorizeUtil.authorizeManageBitstreamPolicy(Context context,
Bitstream bitstream)
Is allowed manage (create, remove, edit) bitstream's policies in the
current context?
|
void |
SubmissionInfo.setBitstream(Bitstream bits)
Sets the current bitstream we're working with (This is used during upload
processes, or user interfaces that are dealing with bitstreams)
|
| Modifier and Type | Method and Description |
|---|---|
Bitstream |
Bundle.createBitstream(InputStream is)
Create a new bitstream in this bundle.
|
Bitstream |
Item.createSingleBitstream(InputStream is)
Convenience method, calls createSingleBitstream() with name "ORIGINAL"
|
Bitstream |
Item.createSingleBitstream(InputStream is,
String name)
Create a single bitstream in a new bundle.
|
static Bitstream |
Bitstream.find(Context context,
int id)
Get a bitstream from the database.
|
static Bitstream[] |
Bitstream.findAll(Context context) |
Bitstream |
Bundle.getBitstreamByName(String name) |
Bitstream[] |
Bundle.getBitstreams()
Get the bitstreams in this bundle
|
Bitstream |
Community.getLogo()
Get the logo for the community.
|
Bitstream |
Collection.getLogo()
Get the logo for the collection.
|
Bitstream[] |
Item.getNonInternalBitstreams()
Get all non-internal bitstreams in the item.
|
Bitstream |
Thumbnail.getOriginal() |
Bitstream |
Thumbnail.getThumb() |
Bitstream |
Bundle.registerBitstream(int assetstore,
String bitstreamPath)
Create a new bitstream in this bundle.
|
Bitstream |
Community.setLogo(InputStream is)
Give the community a logo.
|
Bitstream |
Collection.setLogo(InputStream is)
Give the collection a logo.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Bundle.addBitstream(Bitstream b)
Add an existing bitstream to this bundle
|
static BitstreamFormat |
FormatIdentifier.guessFormat(Context context,
Bitstream bitstream)
Attempt to identify the format of a particular bitstream.
|
void |
Bundle.removeBitstream(Bitstream b)
Remove a bitstream from this bundle - the bitstream is only deleted if
this was the last reference to it
If the bitstream in question is the primary bitstream recorded for the
bundle the primary bitstream field is unset in order to free the
bitstream from the foreign key constraint so that the
cleanup process can run normally. |
void |
Thumbnail.setOriginal(Bitstream original) |
void |
Thumbnail.setThumb(Bitstream thumb) |
| Constructor and Description |
|---|
Thumbnail(Bitstream thumb,
Bitstream original)
Construct a new thumbnail using the two bitstreams
|
| Modifier and Type | Method and Description |
|---|---|
Bitstream |
ItemDAOPostgres.getFirstBitstream(int itemId,
String bundleName) |
Bitstream |
ItemDAOOracle.getFirstBitstream(int itemId,
String bundleName) |
abstract Bitstream |
ItemDAO.getFirstBitstream(int itemId,
String bundleName) |
Bitstream |
ItemDAOPostgres.getNamedBitstream(int itemId,
String bundleName,
String fileName) |
Bitstream |
ItemDAOOracle.getNamedBitstream(int itemId,
String bundleName,
String fileName) |
abstract Bitstream |
ItemDAO.getNamedBitstream(int itemId,
String bundleName,
String fileName) |
Bitstream |
ItemDAOPostgres.getPrimaryBitstream(int itemId,
String bundleName) |
Bitstream |
ItemDAOOracle.getPrimaryBitstream(int itemId,
String bundleName) |
abstract Bitstream |
ItemDAO.getPrimaryBitstream(int itemId,
String bundleName) |
| Modifier and Type | Method and Description |
|---|---|
static Bitstream |
PackageUtils.findDepositLicense(Context context,
Item item)
Utility to find the license bitstream from an item
|
protected static Bitstream |
AbstractMETSDisseminator.findOriginalBitstream(Item item,
Bitstream derived)
For a bitstream that's a thumbnail or extracted text, find the
corresponding bitstream it was derived from, in the ORIGINAL bundle.
|
static Bitstream |
PackageUtils.getBitstreamByFormat(Item item,
BitstreamFormat bsf,
String bnName)
Find bitstream by its format, looking in a specific bundle.
|
static Bitstream |
PackageUtils.getBitstreamByName(Item item,
String name)
Find bitstream by its Name, looking in all bundles.
|
static Bitstream |
PackageUtils.getBitstreamByName(Item item,
String bsName,
String bnName)
Find bitstream by its Name, looking in specific named bundle.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractMETSDisseminator.addLogoBitstream(Bitstream logoBs,
edu.harvard.hul.ois.mets.FileSec fileSec,
edu.harvard.hul.ois.mets.Div div0,
PackageParameters params) |
void |
METSManifest.crosswalkBitstream(Context context,
PackageParameters params,
Bitstream bitstream,
String fileId,
METSManifest.Mdref callback)
Crosswalk the metadata associated with a particular
file
element into the bitstream it corresponds to. |
protected static Bitstream |
AbstractMETSDisseminator.findOriginalBitstream(Item item,
Bitstream derived)
For a bitstream that's a thumbnail or extracted text, find the
corresponding bitstream it was derived from, in the ORIGINAL bundle.
|
void |
DSpaceMETSIngester.finishBitstream(Context context,
Bitstream bs,
org.jdom.Element mfile,
METSManifest manifest,
PackageParameters params)
Take a second pass over files to correct names of derived files
(e.g. thumbnails, extracted text) to what DSpace expects:
|
void |
DSpaceAIPIngester.finishBitstream(Context context,
Bitstream bs,
org.jdom.Element mfile,
METSManifest manifest,
PackageParameters params)
Nothing extra to do to bitstream after ingestion.
|
abstract void |
AbstractMETSIngester.finishBitstream(Context context,
Bitstream bs,
org.jdom.Element mfile,
METSManifest manifest,
PackageParameters params)
Subclass-dependent final processing on a Bitstream; could include fixing
up the name, bundle, other attributes.
|
String |
AbstractMETSDisseminator.makeBitstreamURL(Bitstream bitstream,
PackageParameters params)
Get the URL by which the METS manifest refers to a Bitstream
member within the same package.
|
| Constructor and Description |
|---|
BitstreamContentStream(Bitstream f) |
| Modifier and Type | Method and Description |
|---|---|
static Bitstream |
CreativeCommons.getLicenseRdfBitstream(Item item)
Get Creative Commons license RDF, returning Bitstream object.
|
static Bitstream |
CreativeCommons.getLicenseTextBitstream(Item item)
Get Creative Commons license Text, returning Bitstream object.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
LicenseCleanup.copy(Bitstream b)
Fast stream copy routine
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
UploadStep.backoutBitstream(SubmissionInfo subInfo,
Bitstream b,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
protected Bitstream |
AbstractVersionProvider.createBitstream(Context context,
Bitstream nativeBitstream) |
| Modifier and Type | Method and Description |
|---|---|
protected Bitstream |
AbstractVersionProvider.createBitstream(Context context,
Bitstream nativeBitstream) |
Copyright © 2016 DuraSpace. All Rights Reserved.