| 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)
|
| org.dspace.license | |
| org.dspace.submit.step | |
| org.dspace.versioning |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
BitstreamFilter.accept(Bitstream bitstream)
The filter method
|
boolean |
BitstreamFilterByFilename.accept(Bitstream bitstream)
Tests bitstream by matching the regular expression in the
properties against the bitstream name
|
boolean |
OriginalWithDerivativesBitstreamFilter.accept(Bitstream bitstream)
Tests bitstream for membership in specified bundles (ORIGINAL, TEXT, THUMBNAIL)
|
boolean |
BitstreamFilterByBundleName.accept(Bitstream bitstream)
Filter bitstream based on bundle name found in properties file
|
boolean |
OriginalBitstreamFilter.accept(Bitstream bitstream)
Tests bitstreams for containment in an ORIGINAL bundle
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
MediaFilterManager.filterBitstream(Context c,
Item myItem,
Bitstream myBitstream)
Attempt to filter a bitstream.
|
void |
FormatFilter.postProcessBitstream(Context c,
Item item,
Bitstream generatedBitstream)
Perform any post-processing of the generated bitstream *after* this
filter has already been run.
|
void |
MediaFilter.postProcessBitstream(Context c,
Item item,
Bitstream generatedBitstream)
Perform any post-processing of the generated bitstream *after* this
filter has already been run.
|
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().
|
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().
|
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(java.io.InputStream is)
Create a new bitstream in this bundle.
|
Bitstream |
Item.createSingleBitstream(java.io.InputStream is)
Convenience method, calls createSingleBitstream() with name "ORIGINAL"
|
Bitstream |
Item.createSingleBitstream(java.io.InputStream is,
java.lang.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(java.lang.String name) |
Bitstream[] |
Bundle.getBitstreams()
Get the bitstreams in this bundle
|
Bitstream |
Collection.getLogo()
Get the logo for the collection.
|
Bitstream |
Community.getLogo()
Get the logo for the community.
|
Bitstream[] |
Item.getNonInternalBitstreams()
Get all non-internal bitstreams in the item.
|
Bitstream |
Thumbnail.getOriginal() |
Bitstream |
Thumbnail.getThumb() |
Bitstream |
Bundle.registerBitstream(int assetstore,
java.lang.String bitstreamPath)
Create a new bitstream in this bundle.
|
Bitstream |
Collection.setLogo(java.io.InputStream is)
Give the collection a logo.
|
Bitstream |
Community.setLogo(java.io.InputStream is)
Give the community 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
|
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 |
ItemDAOOracle.getFirstBitstream(int itemId,
java.lang.String bundleName) |
abstract Bitstream |
ItemDAO.getFirstBitstream(int itemId,
java.lang.String bundleName) |
Bitstream |
ItemDAOPostgres.getFirstBitstream(int itemId,
java.lang.String bundleName) |
Bitstream |
ItemDAOOracle.getNamedBitstream(int itemId,
java.lang.String bundleName,
java.lang.String fileName) |
abstract Bitstream |
ItemDAO.getNamedBitstream(int itemId,
java.lang.String bundleName,
java.lang.String fileName) |
Bitstream |
ItemDAOPostgres.getNamedBitstream(int itemId,
java.lang.String bundleName,
java.lang.String fileName) |
Bitstream |
ItemDAOOracle.getPrimaryBitstream(int itemId,
java.lang.String bundleName) |
abstract Bitstream |
ItemDAO.getPrimaryBitstream(int itemId,
java.lang.String bundleName) |
Bitstream |
ItemDAOPostgres.getPrimaryBitstream(int itemId,
java.lang.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,
java.lang.String bnName)
Find bitstream by its format, looking in a specific bundle.
|
static Bitstream |
PackageUtils.getBitstreamByName(Item item,
java.lang.String name)
Find bitstream by its Name, looking in all bundles.
|
static Bitstream |
PackageUtils.getBitstreamByName(Item item,
java.lang.String bsName,
java.lang.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,
java.lang.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.
|
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.
|
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.
|
void |
DSpaceAIPIngester.finishBitstream(Context context,
Bitstream bs,
org.jdom.Element mfile,
METSManifest manifest,
PackageParameters params)
Nothing extra to do to bitstream after ingestion.
|
java.lang.String |
AbstractMETSDisseminator.makeBitstreamURL(Bitstream bitstream,
PackageParameters params)
Get the URL by which the METS manifest refers to a Bitstream
member within the same package.
|
| 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 © 2013 DuraSpace. All Rights Reserved.