Class MediaRange

All Implemented Interfaces:
Comparable<MediaRange>

public class MediaRange extends MediaBase implements Comparable<MediaRange>
  • Field Details

  • Constructor Details

    • MediaRange

      public MediaRange(String type, String subtype)
      Create a new object with the given type and subtype.
      Parameters:
      type - the top-level type
      subtype - the subtype
    • MediaRange

      public MediaRange(String type, String subtype, Map<String,String> parameters)
      Create a new object with the given type, subtype and parameters.
      Parameters:
      type - the top-level type
      subtype - the subtype
      parameters - the parameters
    • MediaRange

      public MediaRange(MediaBase.MediaTypePair type, Map<String,String> parameters)
      Create a new object with the given type and parameters.
      Parameters:
      type - the type
      parameters - the parameters
  • Method Details