MimeTypeHelper.ContentType Class

com.bea.p13n.util
MimeTypeHelper.ContentType Class

public static class MimeTypeHelper.ContentType

    extends Object
    implements Serializable

The data representation of a MIME 1.0 Content Type.

Related Topics

MimeTypeHelper.parseContentType(String)


Hierarchy
Object
  MimeTypeHelper.ContentType
All Implemented Interfaces

Serializable
Direct Known Subclasses

MimeTypeHelper.ContentType
Enclosing class

MimeTypeHelper

Field Summary

public String
major
The Major type.
public String
minor
The Minor type.
public Properties
properties
Additional properties of the content type.
 

Constructor Summary

MimeTypeHelper.ContentType()

Constructor.
MimeTypeHelper.ContentType(String major, String minor)

Constructor with media type information.
 

Method Summary

public String
toString()
Return the MimeType in "major/minor[; name=value; name=value...]"
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
   

Field Detail

major

public String major
The Major type.


minor

public String minor
The Minor type.


properties

public Properties properties
Additional properties of the content type.

 

Constructor Detail

MimeTypeHelper.ContentType

public MimeTypeHelper.ContentType()
Constructor.

MimeTypeHelper.ContentType

public MimeTypeHelper.ContentType(String major, 
                                  String minor)
Constructor with media type information.
 

Method Detail

toString() Method

public String toString()
Return the MimeType in "major/minor[; name=value; name=value...]" form.

Overrides
Object.toString()