© 2005 BEA Systems, Inc.

com.bea.p13n.util
Class MimeTypeHelper.ContentType

java.lang.Object
  extended bycom.bea.p13n.util.MimeTypeHelper.ContentType
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MimeTypeHelper.ContentType
Enclosing class:
MimeTypeHelper

public static class MimeTypeHelper.ContentType
extends Object
implements Serializable

The data representation of a MIME 1.0 Content Type.

See Also:
MimeTypeHelper.parseContentType(java.lang.String), Serialized Form

Field Summary
 String major
          The Major type.
 String minor
          The Minor type.
 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
 String toString()
          Return the MimeType in "major/minor[; name=value; name=value...]"
 
Methods inherited 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

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


© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved