Package | Description |
---|---|
eu.etaxonomy.cdm.api.service | |
eu.etaxonomy.cdm.model.media |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.util.UUID,java.util.List<MediaRepresentation>> |
IClassificationService.getAllMediaForChildNodes(TaxonNode taxonNode,
java.util.List<java.lang.String> propertyPaths,
int size,
int height,
int widthOrDuration,
java.lang.String[] mimeTypes) |
java.util.Map<java.util.UUID,java.util.List<MediaRepresentation>> |
ClassificationServiceImpl.getAllMediaForChildNodes(TaxonNode taxonNode,
java.util.List<java.lang.String> propertyPaths,
int size,
int height,
int widthOrDuration,
java.lang.String[] mimeTypes) |
Modifier and Type | Method and Description |
---|---|
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) |
MediaRepresentation |
MediaRepresentationPart.getMediaRepresentation() |
static MediaRepresentation |
MediaRepresentation.NewInstance()
Factory method
|
static MediaRepresentation |
MediaRepresentation.NewInstance(java.lang.String mimeType,
java.lang.String suffix)
Factory method which sets the mime type and the suffix
|
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 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 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 . |
java.util.Set<MediaRepresentation> |
Media.getRepresentations() |
Modifier and Type | Method and Description |
---|---|
void |
Media.addRepresentation(MediaRepresentation representation) |
void |
Media.removeRepresentation(MediaRepresentation representation) |
protected void |
MediaRepresentationPart.setMediaRepresentation(MediaRepresentation mediaRepresentation)
Deprecated.
for internal (bidirectional) use only
|
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) |
Copyright © 2007-2020 EDIT. All Rights Reserved.