C# 클래스 MediaPortal.Utils.Web.HtmlParser

Parses HTML site from given Template
파일 보기 프로젝트 열기: MediaPortal/MediaPortal-1 1 사용 예제들

공개 메소드들

메소드 설명
GetData ( int index ) : IParserData

Gets the data.

GetHyperLink ( int index, string match, MediaPortal.Utils.Web.HTTPRequest &linkURL ) : bool

Gets the hyper link.

HtmlParser ( MediaPortal.Utils.Web.HtmlParserTemplate template, Type parserDataType ) : System

Initializes a new instance of the HtmlParser class.

ParseUrl ( MediaPortal.Utils.Web.HTTPRequest site ) : int

Parses the URL and returns the number of instances of the template found on this site

SearchRegex ( int index, string regex, bool remove ) : string

Searches the regex.

SearchRegex ( int index, string regex, bool caseinsensitive, bool remove ) : string

Searches the regex.

SearchRegex ( int index, string regex, bool caseinsensitive, bool remove, string replace ) : string

Searches the regex.

비공개 메소드들

메소드 설명
GetJavaSubLinkParams ( string link ) : string[]

Gets the java sub link params.

메소드 상세

GetData() 공개 메소드

Gets the data.
public GetData ( int index ) : IParserData
index int The index.
리턴 IParserData

GetHyperLink() 공개 메소드

Gets the hyper link.
public GetHyperLink ( int index, string match, MediaPortal.Utils.Web.HTTPRequest &linkURL ) : bool
index int The index.
match string The match.
linkURL MediaPortal.Utils.Web.HTTPRequest The link URL.
리턴 bool

HtmlParser() 공개 메소드

Initializes a new instance of the HtmlParser class.
public HtmlParser ( MediaPortal.Utils.Web.HtmlParserTemplate template, Type parserDataType ) : System
template MediaPortal.Utils.Web.HtmlParserTemplate The template.
parserDataType System.Type Type of the parser data.
리턴 System

ParseUrl() 공개 메소드

Parses the URL and returns the number of instances of the template found on this site
public ParseUrl ( MediaPortal.Utils.Web.HTTPRequest site ) : int
site MediaPortal.Utils.Web.HTTPRequest The site.
리턴 int

SearchRegex() 공개 메소드

Searches the regex.
public SearchRegex ( int index, string regex, bool remove ) : string
index int The index.
regex string The regex.
remove bool if set to true [remove].
리턴 string

SearchRegex() 공개 메소드

Searches the regex.
public SearchRegex ( int index, string regex, bool caseinsensitive, bool remove ) : string
index int The index.
regex string The regex.
caseinsensitive bool if set to true [caseinsensitive].
remove bool if set to true [remove].
리턴 string

SearchRegex() 공개 메소드

Searches the regex.
public SearchRegex ( int index, string regex, bool caseinsensitive, bool remove, string replace ) : string
index int The index.
regex string The regex.
caseinsensitive bool if set to true [caseinsensitive].
remove bool if set to true [remove].
replace string the string to [replace] found string if set.
리턴 string