| Package | Description |
|---|---|
| org.dspace.content |
Provides an API for reading and manipulating content in the DSpace system.
|
| org.dspace.content.packager |
Provides an API and implementations of content packages, used in the context of ingest (SIP), or dissemination (DIP)
|
| Modifier and Type | Method and Description |
|---|---|
static BitstreamFormat |
BitstreamFormat.create(Context context)
Create a new bitstream format
|
static BitstreamFormat |
BitstreamFormat.find(Context context,
int id)
Get a bitstream format from the database.
|
static BitstreamFormat[] |
BitstreamFormat.findAll(Context context)
Retrieve all bitstream formats from the registry, ordered by ID
|
static BitstreamFormat |
BitstreamFormat.findByMIMEType(Context context,
String mimeType)
Find a bitstream format by its (unique) MIME type.
|
static BitstreamFormat |
BitstreamFormat.findByShortDescription(Context context,
String desc)
Find a bitstream format by its (unique) short description
|
static BitstreamFormat[] |
BitstreamFormat.findNonInternal(Context context)
Retrieve all non-internal bitstream formats from the registry.
|
static BitstreamFormat |
BitstreamFormat.findUnknown(Context context)
Get the generic "unknown" bitstream format.
|
BitstreamFormat |
Bitstream.getFormat()
Get the format of the bitstream
|
static BitstreamFormat |
FormatIdentifier.guessFormat(Context context,
Bitstream bitstream)
Attempt to identify the format of a particular bitstream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Bitstream.setFormat(BitstreamFormat f)
Set the format of the bitstream.
|
| 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(Item item,
BitstreamFormat bsf,
String bnName)
Find bitstream by its format, looking in a specific bundle.
|
Copyright © 2014 DuraSpace. All Rights Reserved.