common
Class MimeType

java.lang.Object
  extended bycommon.MimeType
All Implemented Interfaces:
java.io.Serializable

public class MimeType
extends java.lang.Object
implements java.io.Serializable

MIMEType.java Created: Wed Mar 17 14:17:32 1999

See Also:
Serialized Form

Field Summary
protected  java.lang.String contentType
          A MIME type is made up of 2 parts contentType/subtype
static MimeType MPEG
           
static MimeType OGG_VORBIS
           
protected  java.lang.String subtype
           
static MimeType WAV
           
 
Constructor Summary
MimeType(java.lang.String type)
           
MimeType(java.lang.String contentType, java.lang.String subtype)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

contentType

protected java.lang.String contentType
A MIME type is made up of 2 parts contentType/subtype


subtype

protected java.lang.String subtype

WAV

public static final MimeType WAV

MPEG

public static final MimeType MPEG

OGG_VORBIS

public static final MimeType OGG_VORBIS
Constructor Detail

MimeType

public MimeType(java.lang.String type)

MimeType

public MimeType(java.lang.String contentType,
                java.lang.String subtype)
Method Detail

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object obj)