Summary

Creates a filename only out of the page portion of the System.Uri.
For a list of all members of this type, see SimpleUrlNamer Members .

Type Relationships

  System.Object
    Eas.WebCrawler.PlugIns.FileNamers.SimpleUrlNamer

Declaration Syntax

Public Class SimpleUrlNamer
	Implements FileNamer, WebCrawlerComponent
public class SimpleUrlNamer : FileNamer, WebCrawlerComponent
public __gc class SimpleUrlNamer : public FileNamer, WebCrawlerComponent
public class SimpleUrlNamer implements FileNamer, WebCrawlerComponent

Remarks

This class creates a filename out of the System.Uri in the passed in Request by striping off the protocol (i.e. http://), the host name and path and then replacing all invalid characters in the System.Uri (including the path seperator) with underscores. Duplicates are handled by appending _1, _2 ... This class differs from the FullUrlNamer in that this class will not include the host name directory structure in the resulting file name.

Example

The url http://www.erik.com/saltwell/default.html will return default.html if no other file of that name exists in the base directory.

Requirements

Namespace: Eas.WebCrawler.PlugIns.FileNamers
Assembly: Eas.WebCrawler.PlugIns (eas.webcrawler.plugins.dll)

See Also

SimpleUrlNamer Members | Eas.WebCrawler.PlugIns.FileNamers Namespace