C# Class PLinkCore.HostData

Description of HostData.
Mostra file Open project: easylogic/plink

Public Properties

Property Type Description
HOST_ROOT string

Private Properties

Property Type Description
getFileData System.Collections.ArrayList
setData void
setDictionary void

Public Methods

Method Description
HostData ( ) : System
checkPattern ( string url ) : HostCheck
checkPatternList ( string url ) : List
checkUrl ( string host, string path ) : HostCheck
export ( string path ) : bool
getData ( ) : ArrayList
getDevList ( ) : ArrayList
getFileList ( ) : ArrayList
getHostItem ( string key ) : HostItem
getIp ( string hostname ) : string
getRootList ( string key ) : string[]
getTitleList ( ) : ArrayList
getWebList ( ) : ArrayList
loadDevList ( ) : void
loadDir ( string fullpath ) : int
loadFile ( string fullpath ) : void
loadHttp ( string policy ) : void
loadHttp ( string url, bool cached ) : void
loadHttpRoot ( string url ) : void
loadPolicyList ( ) : void
refreshHost ( string key, bool state ) : void
removeHost ( string key ) : void
setHost ( HostItem it ) : int

Private Methods

Method Description
getFileData ( string fullpath ) : ArrayList
setData ( HostItem>.Dictionary itemList ) : void
setDictionary ( ArrayList arr ) : void

Method Details

HostData() public method

public HostData ( ) : System
return System

checkPattern() public method

public checkPattern ( string url ) : HostCheck
url string
return HostCheck

checkPatternList() public method

public checkPatternList ( string url ) : List
url string
return List

checkUrl() public method

public checkUrl ( string host, string path ) : HostCheck
host string
path string
return HostCheck

export() public method

public export ( string path ) : bool
path string
return bool

getData() public method

public getData ( ) : ArrayList
return System.Collections.ArrayList

getDevList() public method

public getDevList ( ) : ArrayList
return System.Collections.ArrayList

getFileList() public method

public getFileList ( ) : ArrayList
return System.Collections.ArrayList

getHostItem() public method

public getHostItem ( string key ) : HostItem
key string
return HostItem

getIp() public method

public getIp ( string hostname ) : string
hostname string
return string

getRootList() public method

public getRootList ( string key ) : string[]
key string
return string[]

getTitleList() public method

public getTitleList ( ) : ArrayList
return System.Collections.ArrayList

getWebList() public method

public getWebList ( ) : ArrayList
return System.Collections.ArrayList

loadDevList() public method

public loadDevList ( ) : void
return void

loadDir() public method

public loadDir ( string fullpath ) : int
fullpath string
return int

loadFile() public method

public loadFile ( string fullpath ) : void
fullpath string
return void

loadHttp() public method

public loadHttp ( string policy ) : void
policy string
return void

loadHttp() public method

public loadHttp ( string url, bool cached ) : void
url string
cached bool
return void

loadHttpRoot() public method

public loadHttpRoot ( string url ) : void
url string
return void

loadPolicyList() public method

public loadPolicyList ( ) : void
return void

refreshHost() public method

public refreshHost ( string key, bool state ) : void
key string
state bool
return void

removeHost() public method

public removeHost ( string key ) : void
key string
return void

setHost() public method

public setHost ( HostItem it ) : int
it HostItem
return int

Property Details

HOST_ROOT public_oe property

public string HOST_ROOT
return string