Class SupportedSourceAndTarget


  • public class SupportedSourceAndTarget
    extends Object
    Represents a single source and target combination supported by a transformer. File extensions are used to keep the json human readable. Each par also has an optional maximum size for the source content.
    • Constructor Detail

      • SupportedSourceAndTarget

        public SupportedSourceAndTarget()
      • SupportedSourceAndTarget

        public SupportedSourceAndTarget​(String sourceMediaType,
                                        String targetMediaType,
                                        long maxSourceSizeBytes)
      • SupportedSourceAndTarget

        public SupportedSourceAndTarget​(String sourceMediaType,
                                        String targetMediaType,
                                        long maxSourceSizeBytes,
                                        int priority)
    • Method Detail

      • getSourceMediaType

        public String getSourceMediaType()
      • setSourceMediaType

        public void setSourceMediaType​(String sourceMediaType)
      • getMaxSourceSizeBytes

        public long getMaxSourceSizeBytes()
      • setMaxSourceSizeBytes

        public void setMaxSourceSizeBytes​(long maxSourceSizeBytes)
      • getTargetMediaType

        public String getTargetMediaType()
      • setTargetMediaType

        public void setTargetMediaType​(String targetMediaType)
      • getPriority

        public int getPriority()
      • setPriority

        public void setPriority​(int priority)