Uses of Class
org.dspace.content.BitstreamFormat
Packages that use BitstreamFormat
Package
Description
Provides an API for reading and manipulating content in the DSpace system.
Provides an API and implementations of content packages, used in the context of ingest (SIP), or dissemination (DIP)
-
Uses of BitstreamFormat in org.dspace.content
Fields in org.dspace.content with type parameters of type BitstreamFormatModifier and TypeFieldDescriptionstatic jakarta.persistence.metamodel.SingularAttribute<Bitstream,BitstreamFormat> Bitstream_.bitstreamFormatstatic jakarta.persistence.metamodel.EntityType<BitstreamFormat>BitstreamFormat_.class_static jakarta.persistence.metamodel.SingularAttribute<BitstreamFormat,String> BitstreamFormat_.descriptionstatic jakarta.persistence.metamodel.ListAttribute<BitstreamFormat,String> BitstreamFormat_.fileExtensionsstatic jakarta.persistence.metamodel.SingularAttribute<BitstreamFormat,Integer> BitstreamFormat_.idstatic jakarta.persistence.metamodel.SingularAttribute<BitstreamFormat,Boolean> BitstreamFormat_.internalstatic jakarta.persistence.metamodel.SingularAttribute<BitstreamFormat,String> BitstreamFormat_.mimetypestatic jakarta.persistence.metamodel.SingularAttribute<BitstreamFormat,String> BitstreamFormat_.shortDescriptionstatic jakarta.persistence.metamodel.SingularAttribute<BitstreamFormat,Integer> BitstreamFormat_.supportLevelMethods in org.dspace.content that return BitstreamFormatModifier and TypeMethodDescriptionGet a bitstream format from the database.BitstreamFormatServiceImpl.findByMIMEType(Context context, String mimeType) BitstreamFormatServiceImpl.findByShortDescription(Context context, String desc) BitstreamFormatServiceImpl.findUnknown(Context context) protected BitstreamFormatBitstream.getBitstreamFormat()Get the format of the bitstreamBitstreamFormatServiceImpl.guessFormat(Context context, Bitstream bitstream) Methods in org.dspace.content that return types with arguments of type BitstreamFormatMethods in org.dspace.content with parameters of type BitstreamFormatModifier and TypeMethodDescriptionvoidBitstreamFormatServiceImpl.delete(Context context, BitstreamFormat bitstreamFormat) BitstreamFormatServiceImpl.getSupportLevelText(BitstreamFormat bitstreamFormat) voidBitstream.setFormat(Context context, BitstreamFormat f) Set the format of the bitstream.voidBitstreamServiceImpl.setFormat(Context context, Bitstream bitstream, BitstreamFormat bitstreamFormat) voidBitstreamFormatServiceImpl.setShortDescription(Context context, BitstreamFormat bitstreamFormat, String shortDescription) voidBitstreamFormatServiceImpl.setSupportLevel(BitstreamFormat bitstreamFormat, int supportLevel) voidBitstreamFormatServiceImpl.update(Context context, BitstreamFormat bitstreamFormat) Method parameters in org.dspace.content with type arguments of type BitstreamFormatModifier and TypeMethodDescriptionvoidBitstreamFormatServiceImpl.update(Context context, List<BitstreamFormat> bitstreamFormats) -
Uses of BitstreamFormat in org.dspace.content.dao
Methods in org.dspace.content.dao that return BitstreamFormatModifier and TypeMethodDescriptionBitstreamFormatDAO.findByMIMEType(Context context, String mimeType, boolean includeInternal) BitstreamFormatDAO.findByShortDescription(Context context, String desc) Methods in org.dspace.content.dao that return types with arguments of type BitstreamFormatModifier and TypeMethodDescriptionBitstreamFormatDAO.findByFileExtension(Context context, String extension) BitstreamFormatDAO.findNonInternal(Context context) Methods in org.dspace.content.dao with parameters of type BitstreamFormatModifier and TypeMethodDescriptionintBitstreamFormatDAO.updateRemovedBitstreamFormat(Context context, BitstreamFormat deletedBitstreamFormat, BitstreamFormat newBitstreamFormat) -
Uses of BitstreamFormat in org.dspace.content.dao.impl
Methods in org.dspace.content.dao.impl that return BitstreamFormatModifier and TypeMethodDescriptionBitstreamFormatDAOImpl.findByMIMEType(Context context, String mimeType, boolean includeInternal) Find a bitstream format by its (unique) MIME type.BitstreamFormatDAOImpl.findByShortDescription(Context context, String desc) Find a bitstream format by its (unique) short descriptionMethods in org.dspace.content.dao.impl that return types with arguments of type BitstreamFormatModifier and TypeMethodDescriptionBitstreamFormatDAOImpl.findByFileExtension(Context context, String extension) BitstreamFormatDAOImpl.findNonInternal(Context context) Methods in org.dspace.content.dao.impl with parameters of type BitstreamFormatModifier and TypeMethodDescriptionintBitstreamFormatDAOImpl.updateRemovedBitstreamFormat(Context context, BitstreamFormat deletedBitstreamFormat, BitstreamFormat newBitstreamFormat) -
Uses of BitstreamFormat in org.dspace.content.packager
Methods in org.dspace.content.packager that return BitstreamFormatModifier and TypeMethodDescriptionstatic BitstreamFormatPackageUtils.findOrCreateBitstreamFormat(Context context, String shortDesc, String MIMEType, String desc) Find or create a bitstream format to match the given short description.static BitstreamFormatPackageUtils.findOrCreateBitstreamFormat(Context context, String shortDesc, String MIMEType, String desc, int supportLevel, boolean internal) Find or create a bitstream format to match the given short description.Methods in org.dspace.content.packager with parameters of type BitstreamFormatModifier and TypeMethodDescriptionstatic BitstreamPackageUtils.getBitstreamByFormat(Context context, Item item, BitstreamFormat bsf, String bnName) Find bitstream by its format, looking in a specific bundle. -
Uses of BitstreamFormat in org.dspace.content.service
Methods in org.dspace.content.service that return BitstreamFormatModifier and TypeMethodDescriptionBitstreamFormatService.findByMIMEType(Context context, String mimeType) Find a bitstream format by its (unique) MIME type.BitstreamFormatService.findByShortDescription(Context context, String desc) Find a bitstream format by its (unique) short descriptionBitstreamFormatService.findUnknown(Context context) Get the generic "unknown" bitstream format.BitstreamFormatService.guessFormat(Context context, Bitstream bitstream) Attempt to identify the format of a particular bitstream.Methods in org.dspace.content.service that return types with arguments of type BitstreamFormatModifier and TypeMethodDescriptionRetrieve all bitstream formats from the registry, ordered by IDBitstreamFormatService.findNonInternal(Context context) Retrieve all non-internal bitstream formats from the registry.Methods in org.dspace.content.service with parameters of type BitstreamFormatModifier and TypeMethodDescriptionBitstreamFormatService.getSupportLevelText(BitstreamFormat bitstreamFormat) Get the support level text for this bitstream format - one ofUNKNOWN,KNOWNorSUPPORTED.voidBitstreamService.setFormat(Context context, Bitstream bitstream, BitstreamFormat bitstreamFormat) Set the format of the bitstream.voidBitstreamFormatService.setShortDescription(Context context, BitstreamFormat bitstreamFormat, String shortDescription) Set the short description of the bitstream formatvoidBitstreamFormatService.setSupportLevel(BitstreamFormat bitstreamFormat, int supportLevel) Set the support level for this bitstream format - one ofUNKNOWN,KNOWNorSUPPORTED. -
Uses of BitstreamFormat in org.dspace.license
Methods in org.dspace.license with parameters of type BitstreamFormatModifier and TypeMethodDescriptionprotected voidCreativeCommonsServiceImpl.setBitstreamFromBytes(Context context, Item item, Bundle bundle, String bitstream_name, BitstreamFormat format, byte[] bytes) This helper method takes some bytes and stores them as a bitstream for an item, under the CC bundle, with the given bitstream name Note: This helper method assumes that the CC bitstreams are short and easily expressed as byte arrays in RAM