public abstract class OneToManyTranscoder extends Object implements Transcoder
Transcoder that converts between a single format and multiple other formats and back.| Modifier and Type | Field and Description |
|---|---|
protected MediaType |
mainType |
protected Set<MediaType> |
supportedTypes |
| Constructor and Description |
|---|
OneToManyTranscoder(MediaType mainType,
MediaType... supportedConversions) |
| Modifier and Type | Method and Description |
|---|---|
Set<MediaType> |
getSupportedMediaTypes() |
boolean |
supportsConversion(MediaType mediaType,
MediaType other) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupports, transcodeprotected final MediaType mainType
public Set<MediaType> getSupportedMediaTypes()
getSupportedMediaTypes in interface TranscoderMediaType handled by this Transcoder.public boolean supportsConversion(MediaType mediaType, MediaType other)
supportsConversion in interface Transcodertrue if the transcoder supports the conversion between the supplied MediaTypes.Copyright © 2022 JBoss by Red Hat. All rights reserved.