Main Page | Class Hierarchy | Class List | File List | Class Members

Common::ImageUriParser Class Reference

List of all members.

Static Public Member Functions

HTTPRequest[] GenerateImageRequests (MessageLogger msgLog, HTTPRequest originalRequest, HTTPResponse htmlResponse)
Uri[] GetImageUris (MessageLogger msgLog, Uri baseUri, byte[] htmlAsASCIIBytes)

Detailed Description

<summary> Parse and Push Commmon Code </summary>

Definition at line 11 of file ImageUriParser.cs.

Member Function Documentation

HTTPRequest [] Common::ImageUriParser::GenerateImageRequests MessageLogger  msgLog,
HTTPRequest  originalRequest,
HTTPResponse  htmlResponse
[inline, static]

<summary> Parses a HTML Response and returns an array of HTTP Requests for images. </summary> <param name="originalRequest">Request leading to the HTML</param> <param name="htmlBody">HTTP Body containing the HTML to parse</param> <returns>Array of HTTP Requests</returns>

Definition at line 22 of file ImageUriParser.cs.

References Common::MessageLogger::LogError().

Uri [] Common::ImageUriParser::GetImageUris MessageLogger  msgLog,
Uri  baseUri,
byte[]  htmlAsASCIIBytes
[inline, static]

<summary> Parses data and retrieves a list of URIs of images </summary> <param name="baseUri">The URI to use as the default base of any relative URI refs encountered</param> <param name="htmlAsASCIIBytes">HTML to parse as a byte array in ASCII</param> <returns>Array of unique image ref URIs</returns>

Definition at line 45 of file ImageUriParser.cs.

References Common::MessageLogger::Log(), and Common::MessageLogger::LogError().

The documentation for this class was generated from the following file:
Generated on Mon May 8 22:07:27 2006 by  doxygen