C# Class webParser, CSE110M240T10

Inheritance: MonoBehaviour
Afficher le fichier Open project: ucsdCSE110wi16/CSE110M240T10 Class Usage Examples

Méthodes publiques

Свойство Type Description
Instance webParser,
func recipeLoaded

Méthodes publiques

Méthode Description
Awake ( ) : void
getURLBase ( string url ) : string
parse ( string url, recipeLoaded func ) : void

Private Methods

Méthode Description
callback ( string url, string html ) : void
getBody ( string html ) : string
getElementsByAttr ( string html, string divType, string attr, string val ) : List
getElementsByTag ( string html, string tag ) : List
parseAlbertsons ( string html ) : recipe,
parseAllRecipes ( string html ) : recipe,
parseChatelaine ( string html ) : recipe,
parseCookstr ( string html ) : recipe,
parseDelish ( string html ) : recipe,
parseEatingWell ( string html ) : recipe,
parseEpicurious ( string html ) : recipe,
parseFoodDotCom ( string html ) : recipe,
parseFoodNetwork ( string html ) : recipe,
parseMartha ( string html ) : recipe,
parseMyRecipes ( string html ) : recipe,
parseOprah ( string html ) : recipe,
parseRachaelRay ( string html ) : recipe,
parseTheKitchn ( string html ) : recipe,
parseWegmans ( string html ) : recipe,
removeBlock ( string html, string removeOpen, string removeClose ) : string
removeNewline ( string html ) : string
removeScript ( string html ) : string
removeTags ( string html ) : string

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

getURLBase() public static méthode

public static getURLBase ( string url ) : string
url string
Résultat string

parse() public méthode

public parse ( string url, recipeLoaded func ) : void
url string
func recipeLoaded
Résultat void

Property Details

Instance public_oe static_oe property

public static webParser, Instance
Résultat webParser,

func public_oe property

public recipeLoaded func
Résultat recipeLoaded