| Package | Description |
|---|---|
| org.dspace.content |
Provides an API for reading and manipulating content in the DSpace system.
|
| org.dspace.content.dao | |
| org.dspace.content.dao.impl | |
| org.dspace.content.packager |
Provides an API and implementations of content packages, used in the context of ingest (SIP), or dissemination (DIP)
|
| org.dspace.content.service | |
| org.dspace.license |
| Modifier and Type | Method and Description |
|---|---|
BitstreamFormat |
BitstreamFormatServiceImpl.create(Context context) |
BitstreamFormat |
BitstreamFormatServiceImpl.find(Context context,
int id)
Get a bitstream format from the database.
|
BitstreamFormat |
BitstreamFormatServiceImpl.findByMIMEType(Context context,
String mimeType) |
BitstreamFormat |
BitstreamFormatServiceImpl.findByShortDescription(Context context,
String desc) |
BitstreamFormat |
BitstreamFormatServiceImpl.findUnknown(Context context) |
protected BitstreamFormat |
Bitstream.getBitstreamFormat() |
BitstreamFormat |
Bitstream.getFormat(Context context)
Get the format of the bitstream
|
BitstreamFormat |
BitstreamServiceImpl.getFormat(Context context,
Bitstream bitstream) |
BitstreamFormat |
BitstreamFormatServiceImpl.guessFormat(Context context,
Bitstream bitstream) |
| Modifier and Type | Method and Description |
|---|---|
List<BitstreamFormat> |
BitstreamFormatServiceImpl.findAll(Context context) |
List<BitstreamFormat> |
BitstreamFormatServiceImpl.findNonInternal(Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
BitstreamFormatServiceImpl.delete(Context context,
BitstreamFormat bitstreamFormat) |
String |
BitstreamFormatServiceImpl.getSupportLevelText(BitstreamFormat bitstreamFormat) |
void |
BitstreamServiceImpl.setFormat(Context context,
Bitstream bitstream,
BitstreamFormat bitstreamFormat) |
void |
Bitstream.setFormat(Context context,
BitstreamFormat f)
Set the format of the bitstream.
|
void |
BitstreamFormatServiceImpl.setShortDescription(Context context,
BitstreamFormat bitstreamFormat,
String shortDescription) |
void |
BitstreamFormatServiceImpl.setSupportLevel(BitstreamFormat bitstreamFormat,
int supportLevel) |
void |
BitstreamFormatServiceImpl.update(Context context,
BitstreamFormat bitstreamFormat) |
| Modifier and Type | Method and Description |
|---|---|
void |
BitstreamFormatServiceImpl.update(Context context,
List<BitstreamFormat> bitstreamFormats) |
| Modifier and Type | Method and Description |
|---|---|
BitstreamFormat |
BitstreamFormatDAO.findByMIMEType(Context context,
String mimeType,
boolean includeInternal) |
BitstreamFormat |
BitstreamFormatDAO.findByShortDescription(Context context,
String desc) |
| Modifier and Type | Method and Description |
|---|---|
List<BitstreamFormat> |
BitstreamFormatDAO.findByFileExtension(Context context,
String extension) |
List<BitstreamFormat> |
BitstreamFormatDAO.findNonInternal(Context context) |
| Modifier and Type | Method and Description |
|---|---|
int |
BitstreamFormatDAO.updateRemovedBitstreamFormat(Context context,
BitstreamFormat deletedBitstreamFormat,
BitstreamFormat newBitstreamFormat) |
| Modifier and Type | Method and Description |
|---|---|
BitstreamFormat |
BitstreamFormatDAOImpl.findByMIMEType(Context context,
String mimeType,
boolean includeInternal)
Find a bitstream format by its (unique) MIME type.
|
BitstreamFormat |
BitstreamFormatDAOImpl.findByShortDescription(Context context,
String desc)
Find a bitstream format by its (unique) short description
|
| Modifier and Type | Method and Description |
|---|---|
List<BitstreamFormat> |
BitstreamFormatDAOImpl.findAll(Context context,
Class clazz) |
List<BitstreamFormat> |
BitstreamFormatDAOImpl.findByFileExtension(Context context,
String extension) |
List<BitstreamFormat> |
BitstreamFormatDAOImpl.findNonInternal(Context context) |
| Modifier and Type | Method and Description |
|---|---|
int |
BitstreamFormatDAOImpl.updateRemovedBitstreamFormat(Context context,
BitstreamFormat deletedBitstreamFormat,
BitstreamFormat newBitstreamFormat) |
| Modifier and Type | Method and Description |
|---|---|
static BitstreamFormat |
PackageUtils.findOrCreateBitstreamFormat(Context context,
String shortDesc,
String MIMEType,
String desc)
Find or create a bitstream format to match the given short
description.
|
static BitstreamFormat |
PackageUtils.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.
|
| Modifier and Type | Method and Description |
|---|---|
static Bitstream |
PackageUtils.getBitstreamByFormat(Context context,
Item item,
BitstreamFormat bsf,
String bnName)
Find bitstream by its format, looking in a specific bundle.
|
| Modifier and Type | Method and Description |
|---|---|
BitstreamFormat |
BitstreamFormatService.findByMIMEType(Context context,
String mimeType)
Find a bitstream format by its (unique) MIME type.
|
BitstreamFormat |
BitstreamFormatService.findByShortDescription(Context context,
String desc)
Find a bitstream format by its (unique) short description
|
BitstreamFormat |
BitstreamFormatService.findUnknown(Context context)
Get the generic "unknown" bitstream format.
|
BitstreamFormat |
BitstreamService.getFormat(Context context,
Bitstream bitstream) |
BitstreamFormat |
BitstreamFormatService.guessFormat(Context context,
Bitstream bitstream)
Attempt to identify the format of a particular bitstream.
|
| Modifier and Type | Method and Description |
|---|---|
List<BitstreamFormat> |
BitstreamFormatService.findAll(Context context)
Retrieve all bitstream formats from the registry, ordered by ID
|
List<BitstreamFormat> |
BitstreamFormatService.findNonInternal(Context context)
Retrieve all non-internal bitstream formats from the registry.
|
| Modifier and Type | Method and Description |
|---|---|
String |
BitstreamFormatService.getSupportLevelText(BitstreamFormat bitstreamFormat)
Get the support level text for this bitstream format - one of
UNKNOWN,KNOWN or SUPPORTED. |
void |
BitstreamService.setFormat(Context context,
Bitstream bitstream,
BitstreamFormat bitstreamFormat)
Set the format of the bitstream.
|
void |
BitstreamFormatService.setShortDescription(Context context,
BitstreamFormat bitstreamFormat,
String shortDescription)
Set the short description of the bitstream format
|
void |
BitstreamFormatService.setSupportLevel(BitstreamFormat bitstreamFormat,
int supportLevel)
Set the support level for this bitstream format - one of
UNKNOWN,KNOWN or SUPPORTED. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CreativeCommonsServiceImpl.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
|
Copyright © 2022 LYRASIS. All rights reserved.