Interface MimeConfig

All Superinterfaces:
Config

public interface MimeConfig extends Config
Mime Configuration.

As used to specify a single Mime type within MimesConfig.

Since:
4.4
  • Method Summary

    Modifier and Type
    Method
    Description
    The extension or suffix.
    Returns the associated mime type.
    void
    Sets the associated mime type.

    Methods inherited from interface com.pushtechnology.diffusion.api.config.Config

    isLocked
  • Method Details

    • getExtension

      String getExtension()
      The extension or suffix.
      Returns:
      the extension or suffix
    • setType

      void setType(String type) throws ConfigException
      Sets the associated mime type.
      Parameters:
      type - the type
      Throws:
      ConfigException - if unable to set
    • getType

      String getType()
      Returns the associated mime type.
      Returns:
      mime type