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

RWMimeUtils

Module:  Internet Protocols Module   Package:  MIME


Does not inherit

Local Index

Members

Header File

#include <rw/mime/RWMimeUtils.h> 

Description

RWMimeUtils provides utility functions commonly needed by MIME applications. There is no need to instantiate this class, since it contains only static functions and static constants.

Public Static Data Members

static const RWCString Base64;
static const RWCString Binary;
static const RWCString EightBit;
static const RWCString QuotedPrintable;
static const RWCString SevenBit;

Static Member Functions

static RWCString
decode(const RWCString& str,
       const RWCString& encoding);
static RWCString
encode(const RWCString& str,
       const RWCString& encoding);
static RWCString
getUniqueBoundary(void);

NOTE -- This function generates unique boundaries suitable for most messages and many applications. However, the function generates duplicate values if called more than once a millisecond.
static RWCString
headerDecode(const RWCString& str, RWCString& charset);
static RWCString
headerEncode(const RWCString& str, const RWCString& charset, const RWCString& encoding);
static RWCString
replaceLineDelimiter(const RWCString& str,
                     const RWCString& delim = "\r\n");

NOTE -- Do not use this function on binary data or encoded data.


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.