artefaktur
software engineer &        architecture

 
 
 
 

class URLDecoder

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

acdk::net::URLDecoder Class Reference

#include <URLDecoder.h>

Inheritance diagram for acdk::net::URLDecoder:

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

Public Member Functions

 URLDecoder (IN(acdk::locale::REncoding) encoding, acdk::locale::CodingErrorAction onMalformed=acdk::locale::ReportCodingError, acdk::locale::CodingErrorAction onUnmappable=acdk::locale::ReportCodingError)
 URLDecoder (acdk::locale::CodingErrorAction onMalformed=acdk::locale::ReportCodingError, acdk::locale::CodingErrorAction onUnmappable=acdk::locale::ReportCodingError)
virtual int decodeToChar (IN(acdk::io::RReader) in)
 decodes one char

virtual RString decodeToString (IN(acdk::io::RReader) in, int stopOn=-1)
 decodes from a byte stream to a string.

virtual RString decode (IN(RString) str)
 decodes a string from one encoding to another


Static Private Member Functions

int unhex (char c)

Constructor & Destructor Documentation

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

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


Member Function Documentation

virtual RString acdk::net::URLDecoder::decode IN(RString str  )  [virtual]
 

decodes a string from one encoding to another

See also:
acdk::locale::Decoder::decode

Implements acdk::locale::Decoder.

virtual int acdk::net::URLDecoder::decodeToChar IN(acdk::io::RReader in  )  [virtual]
 

decodes one char

Returns:
return ucchar or -1 if end of file, -2 if input is not mappable
See also:
acdk::locale::Decoder::decodeToChar

Implements acdk::locale::Decoder.

virtual RString acdk::net::URLDecoder::decodeToString IN(acdk::io::RReader in,
int  stopOn = -1
[virtual]
 

decodes from a byte stream to a string.

In normal cases the String contains a Ascii encoding if only 7bit character are in the byte stream.

Parameters:
in reader to read from
stopOn -1 = until end of string -2 = until internal 0 terminating character (normally '' >= 0 character number to write
See also:
acdk::locale::Decoder::decodeToString

Implements acdk::locale::Decoder.

int acdk::net::URLDecoder::unhex char  c  )  [static, private]
 

 
Last modified 2005-05-08 18:33 by SYSTEM By Artefaktur, Ing. Bureau Kommer