Uses of Class
org.dspace.content.Bitstream

Packages that use Bitstream
org.dspace.app.itemupdate   
org.dspace.app.mediafilter   
org.dspace.app.util   
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   
 

Uses of Bitstream in org.dspace.app.itemupdate
 

Methods in org.dspace.app.itemupdate with parameters of type Bitstream
 boolean BitstreamFilterByBundleName.accept(Bitstream bitstream)
          Filter bitstream based on bundle name found in properties file
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 OriginalBitstreamFilter.accept(Bitstream bitstream)
          Tests bitstreams for containment in an ORIGINAL bundle
 boolean OriginalWithDerivativesBitstreamFilter.accept(Bitstream bitstream)
          Tests bitstream for membership in specified bundles (ORIGINAL, TEXT, THUMBNAIL)
 

Uses of Bitstream in org.dspace.app.mediafilter
 

Methods in org.dspace.app.mediafilter with parameters of type Bitstream
static boolean MediaFilterManager.filterBitstream(Context c, Item myItem, Bitstream myBitstream)
          Attempt to filter a bitstream An exception will be thrown if the media filter class cannot be instantiated, exceptions from filtering will be logged to STDOUT and swallowed.
 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)
          processBitstream is a utility class that calls the virtual methods from the current MediaFilter class.
 

Uses of Bitstream in org.dspace.app.util
 

Methods in org.dspace.app.util that return Bitstream
 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)
 

Methods in org.dspace.app.util with parameters of type Bitstream
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)
 

Uses of Bitstream in org.dspace.content
 

Methods in org.dspace.content that return Bitstream
 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.
 

Methods in org.dspace.content with parameters of type Bitstream
 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)
           
 

Constructors in org.dspace.content with parameters of type Bitstream
Thumbnail(Bitstream thumb, Bitstream original)
          Construct a new thumbnail using the two bitstreams
 

Uses of Bitstream in org.dspace.content.dao
 

Methods in org.dspace.content.dao that return Bitstream
 Bitstream ItemDAOOracle.getFirstBitstream(int itemId, String bundleName)
           
abstract  Bitstream ItemDAO.getFirstBitstream(int itemId, String bundleName)
           
 Bitstream ItemDAOPostgres.getFirstBitstream(int itemId, String bundleName)
           
 Bitstream ItemDAOOracle.getNamedBitstream(int itemId, String bundleName, String fileName)
           
abstract  Bitstream ItemDAO.getNamedBitstream(int itemId, String bundleName, String fileName)
           
 Bitstream ItemDAOPostgres.getNamedBitstream(int itemId, String bundleName, String fileName)
           
 Bitstream ItemDAOOracle.getPrimaryBitstream(int itemId, String bundleName)
           
abstract  Bitstream ItemDAO.getPrimaryBitstream(int itemId, String bundleName)
           
 Bitstream ItemDAOPostgres.getPrimaryBitstream(int itemId, String bundleName)
           
 

Uses of Bitstream in org.dspace.content.packager
 

Methods in org.dspace.content.packager that return Bitstream
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.
 Bitstream AbstractMETSIngester.MdrefManager.getBitstreamForMdRef(org.jdom.Element mdref)
          Find the local Bitstream referenced in an mdRef element.
 

Methods in org.dspace.content.packager with parameters of type Bitstream
 void METSManifest.crosswalkBitstream(Context context, 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.
 

Uses of Bitstream in org.dspace.license
 

Methods in org.dspace.license that return Bitstream
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.
 

Methods in org.dspace.license with parameters of type Bitstream
static byte[] LicenseCleanup.copy(Bitstream b)
          Fast stream copy routine
 



Copyright © 2010 DuraSpace. All Rights Reserved.