Package org.htmlunit

Class PluginConfiguration.MimeType

java.lang.Object
org.htmlunit.PluginConfiguration.MimeType
All Implemented Interfaces:
Serializable
Enclosing class:
PluginConfiguration

public static class PluginConfiguration.MimeType extends Object implements Serializable
Holds information about a single mime type associated with a plugin.
See Also:
  • Field Details

    • description_

      private final String description_
    • suffixes_

      private final String suffixes_
    • type_

      private final String type_
  • Constructor Details

    • MimeType

      public MimeType(String type, String description, String suffixes)
      Creates a new instance.
      Parameters:
      type - the mime type
      description - the type description
      suffixes - the file suffixes
  • Method Details

    • getDescription

      public String getDescription()
      Returns the mime type's description.
      Returns:
      the description
    • getSuffixes

      public String getSuffixes()
      Returns the mime type's suffixes.
      Returns:
      the suffixes
    • getType

      public String getType()
      Returns the mime type.
      Returns:
      the type
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object