Method | Description | |
---|---|---|
ConstructURL ( |
Construct a URL from a string.
|
|
ContainsInvalidURLCharacters ( String url ) : bool |
Does the URL contain invalid characters?
|
|
ConvertFilename ( String basePath, |
Convert a filename for local storage. Also create the directory tree.
|
public static ConstructURL ( |
||
baseURL | The page that the URL was found on. | |
url | String | The URL found. |
stripFragment | bool | Should fragments be stripped. Fragments are the part of a URL after the # sign. They do not specify actual pages, but rather part of a page. As a result, they are usually not needed by a spider or bot. |
return |
public static ContainsInvalidURLCharacters ( String url ) : bool | ||
url | String | The URL |
return | bool |
public static ConvertFilename ( String basePath, |
||
basePath | String | The local path that forms the base of the /// downloaded web tree. |
url | The URL path. | |
mkdir | bool | True if a directory structure should be created /// to support this file. Directories will only be /// created, if needed. |
return | String |