Package | Description |
---|---|
eu.etaxonomy.cdm.model.media | |
eu.etaxonomy.cdm.remote.controller | |
eu.etaxonomy.cdm.remote.controller.iiif |
Modifier and Type | Class and Description |
---|---|
class |
AudioFile |
class |
ImageFile |
class |
MovieFile |
Modifier and Type | Method and Description |
---|---|
static <T extends MediaRepresentationPart> |
MediaRepresentation.NewInstance(java.lang.String mimeType,
java.lang.String suffix,
java.net.URI uri,
java.lang.Integer size,
java.lang.Class<T> clazz)
Factory method which creates a new media representation and adds a media representation part
for the
uri and the given size. |
Modifier and Type | Method and Description |
---|---|
static MediaRepresentationPart |
MediaUtils.getFirstMediaRepresentationPart(Media media)
|
static MediaRepresentationPart |
MediaUtils.initFirstMediaRepresentationPart(Media media,
boolean isImage)
Creates one single
MediaRepresentationPart for the given Media
if it does not already exists. |
static MediaRepresentationPart |
MediaRepresentationPart.NewInstance(java.net.URI uri,
java.lang.Integer size) |
Modifier and Type | Method and Description |
---|---|
java.util.List<MediaRepresentationPart> |
MediaRepresentation.getParts() |
Modifier and Type | Method and Description |
---|---|
void |
MediaRepresentation.addRepresentationPart(MediaRepresentationPart mediaRepresentationPart) |
void |
MediaRepresentation.removeRepresentationPart(MediaRepresentationPart representationPart) |
Modifier and Type | Method and Description |
---|---|
static java.util.SortedMap<java.lang.Long,MediaRepresentation> |
MediaUtils.filterAndOrderMediaRepresentations(java.util.Set<MediaRepresentation> mediaRepresentations,
java.lang.Class<? extends MediaRepresentationPart> representationPartType,
java.lang.String[] mimeTypeRegexes,
java.lang.Integer size,
java.lang.Integer widthOrDuration,
java.lang.Integer height,
MediaUtils.MissingValueStrategy missingValStrat) |
static MediaRepresentation |
MediaUtils.findBestMatchingRepresentation(Media media,
java.lang.Class<? extends MediaRepresentationPart> representationPartType,
java.lang.Integer size,
java.lang.Integer height,
java.lang.Integer widthOrDuration,
java.lang.String[] mimeTypes,
MediaUtils.MissingValueStrategy missingValStrategy) |
static java.util.Map<Media,MediaRepresentation> |
MediaUtils.findPreferredMedia(java.util.List<Media> mediaList,
java.lang.Class<? extends MediaRepresentationPart> representationPartType,
java.lang.String[] mimeTypes,
java.lang.Integer widthOrDuration,
java.lang.Integer height,
java.lang.Integer size,
MediaUtils.MissingValueStrategy missingValStrat)
Filters the given List of Media by the supplied filter parameters
representationPartType ,
mimeTypes , widthOrDuration , height , size . |
Modifier and Type | Method and Description |
---|---|
java.util.List<Media> |
TaxonPortalController.doGetMedia(java.util.UUID uuid,
java.lang.Class<? extends MediaRepresentationPart> type,
java.lang.String[] mimeTypes,
UuidList relationshipUuids,
UuidList relationshipInversUuids,
java.lang.Boolean includeTaxonDescriptions,
java.lang.Boolean includeOccurrences,
java.lang.Boolean includeTaxonNameDescriptions,
java.lang.Integer widthOrDuration,
java.lang.Integer height,
java.lang.Integer size,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
java.util.List<Media> |
TaxonPortalController.doGetSubtreeMedia(java.util.UUID uuid,
java.lang.Class<? extends MediaRepresentationPart> type,
java.lang.String[] mimeTypes,
UuidList relationshipUuids,
UuidList relationshipInversUuids,
java.lang.Boolean includeTaxonDescriptions,
java.lang.Boolean includeOccurrences,
java.lang.Boolean includeTaxonNameDescriptions,
java.lang.Integer widthOrDuration,
java.lang.Integer height,
java.lang.Integer size,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ManifestController.doTaxonMedia(java.util.UUID uuid,
java.lang.Class<? extends MediaRepresentationPart> type,
java.lang.String[] mimeTypes,
UuidList relationshipUuids,
UuidList relationshipInversUuids,
java.lang.Boolean includeTaxonDescriptions,
java.lang.Boolean includeOccurrences,
java.lang.Boolean includeTaxonNameDescriptions,
java.lang.Boolean includeTaxonomicChildren,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Copyright © 2007-2020 EDIT. All Rights Reserved.