com.gargoylesoftware.htmlunit
Class PluginConfiguration.MimeType

java.lang.Object
  extended by com.gargoylesoftware.htmlunit.PluginConfiguration.MimeType
Enclosing class:
PluginConfiguration

public static class PluginConfiguration.MimeType
extends Object

Holds information about a single mime type associated with a plugin


Constructor Summary
PluginConfiguration.MimeType(String type, String description, String suffixes)
          C'tor initializing fields
 
Method Summary
 String getDescription()
          Return the mime type's description
 String getSuffixes()
          Return the mime type's suffixes
 String getType()
          Return the mime type
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginConfiguration.MimeType

public PluginConfiguration.MimeType(String type,
                                    String description,
                                    String suffixes)
C'tor initializing fields

Parameters:
type - the mime type
description - the type description
suffixes - the file suffixes
Method Detail

getDescription

public String getDescription()
Return the mime type's description

Returns:
the description.

getSuffixes

public String getSuffixes()
Return the mime type's suffixes

Returns:
the suffixes.

getType

public String getType()
Return the mime type

Returns:
the type.

hashCode

public int hashCode()
Overrides:
hashCode in class Object
Returns:
the hashCode of the type


Copyright © 2002-2010 Gargoyle Software Inc.. All Rights Reserved.