Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Internet Protocols Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWMimeTextType

Module:  Internet Protocols Module   Package:  MIME


RWMimeTextTypeRWMimeContentTypeRWHandleBase

Local Index

Members

Header File

#include <rw/mime/RWMimeTextType.h>

Description

RWMimeTextType represents a Content-Type value with the media type text. The MIME specification states that a Content-Type header for text may contain a charset parameter. If present, the parameter specifies the character set used for the body of the MIME part containing the header. If the charset parameter is not present, the character set of the part is defined as US-ASCII.

An instance of the class is a handle to a private, reference-counted body.

Reference

RWMimeTextType conforms to the text Content-Type header requirements specified in RFC 2046, section 4.1.

Public Constructors

RWMimeTextType(void);

NOTE -- A text Content-Type value without a charset parameter defines the character set of the part as US-ASCII.
RWMimeTextType(const RWCString& subType,
               const RWCString& charset="");

NOTE -- A text Content-Type value without a charset parameter defines the character set of the part as US-ASCII.
RWMimeTextType(const RWMimeTextType& second);
RWMimeTextType(const RWMimeContentType& second);

Public Destructor

virtual ~RWMimeTextType(void);

Public Member Operator

RWMimeTextType&
operator=(const RWMimeTextType& second);

Public Member Functions

RWCString
getCharset(void) const;
void
setCharset(const RWCString& charset);

Protected Member Function

virtual bool
checkType(const RWCString& mediaType,
          const RWCString& subType) const;


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.