FileDocCategorySizeDatePackage
MimeTypeEntry.javaAPI DocGlassfish v2 API2453Mon May 14 15:29:52 BST 2007com.sun.activation.registries

MimeTypeEntry

public class MimeTypeEntry extends Object

Fields Summary
private String
type
private String
extension
Constructors Summary
public MimeTypeEntry(String mime_type, String file_ext)

	type = mime_type;
	extension = file_ext;
    
Methods Summary
public java.lang.StringgetFileExtension()

	return extension;
    
public java.lang.StringgetMIMEType()

	return type;
    
public java.lang.StringtoString()

	return "MIMETypeEntry: " + type + ", " + extension;