C# 클래스 Encog.Util.HTTP.URLUtility

URLUtility: THis class contains several useful methods for dealing with URL's.
파일 보기 프로젝트 열기: encog/encog-silverlight-core

공개 메소드들

메소드 설명
ConstructURL ( Uri baseURL, String url, bool stripFragment ) : Uri

Construct a URL from a string.

ContainsInvalidURLCharacters ( String url ) : bool

Does the URL contain invalid characters?

ConvertFilename ( String basePath, Uri url, bool mkdir ) : String

Convert a filename for local storage. Also create the directory tree.

메소드 상세

ConstructURL() 공개 정적인 메소드

Construct a URL from a string.
public static ConstructURL ( Uri baseURL, String url, bool stripFragment ) : Uri
baseURL System.Uri 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.
리턴 System.Uri

ContainsInvalidURLCharacters() 공개 정적인 메소드

Does the URL contain invalid characters?
public static ContainsInvalidURLCharacters ( String url ) : bool
url String The URL
리턴 bool

ConvertFilename() 공개 정적인 메소드

Convert a filename for local storage. Also create the directory tree.
public static ConvertFilename ( String basePath, Uri url, bool mkdir ) : String
basePath String The local path that forms the base of the /// downloaded web tree.
url System.Uri The URL path.
mkdir bool True if a directory structure should be created /// to support this file. Directories will only be /// created, if needed.
리턴 String