2005/5/9

     
 

class URLEncoder

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::net::URLEncoder Class Reference

#include <URLEncoder.h>

Inheritance diagram for acdk::net::URLEncoder:

acdk::locale::Encoder acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Public Member Functions

 URLEncoder (IN(acdk::locale::REncoding) encoding, acdk::locale::CodingErrorAction onMalformed=acdk::locale::ReportCodingError, acdk::locale::CodingErrorAction onUnmappable=acdk::locale::ReplaceCodingError)
 URLEncoder (acdk::locale::CodingErrorAction onMalformed=acdk::locale::ReportCodingError, acdk::locale::CodingErrorAction onUnmappable=acdk::locale::ReplaceCodingError)
virtual void encode (IN(acdk::io::RWriter) out, IN(RString) str, int stopOn=-1)
virtual void encode (IN(acdk::io::RWriter) out, uc2char ch)
 Encode one character to writer.

RString encode (IN(RString) source)
 encode the current string into this encoding


Constructor & Destructor Documentation

acdk::net::URLEncoder::URLEncoder IN(acdk::locale::REncoding encoding,
acdk::locale::CodingErrorAction  onMalformed = acdk::locale::ReportCodingError,
acdk::locale::CodingErrorAction  onUnmappable = acdk::locale::ReplaceCodingError
[inline]
 

acdk::net::URLEncoder::URLEncoder acdk::locale::CodingErrorAction  onMalformed = acdk::locale::ReportCodingError,
acdk::locale::CodingErrorAction  onUnmappable = acdk::locale::ReplaceCodingError
[inline]
 


Member Function Documentation

RString acdk::net::URLEncoder::encode IN(RString source  )  [virtual]
 

encode the current string into this encoding

Implements acdk::locale::Encoder.

virtual void acdk::net::URLEncoder::encode IN(acdk::io::RWriter out,
uc2char  ch
[virtual]
 

Encode one character to writer.

Implements acdk::locale::Encoder.

virtual void acdk::net::URLEncoder::encode IN(acdk::io::RWriter out,
IN(RString str,
int  stopOn = -1
[virtual]
 

Parameters:
target writer
the string to encode
stopOn -1 = until end of string -2 = until internal 0 terminating character (normally '' >= 0 character number to write

Implements acdk::locale::Encoder.