public JobBoxofficeMovieParser(string mainpage, string foreignPage, string weekendPage, BoxofficeMovie movie) { this.mainPage = mainpage; this.weekendPage = weekendPage; this.foreignPage = foreignPage; this.movie = movie; }
public ConcurrentBoxOfficeMovieParser(string boxofficeId) { this.boxofficeId = boxofficeId; this.movieData = new BoxofficeMovie(boxofficeId); mainPageJob = new JobWebPageDownload(string.Format(url, boxofficeId)); weekEndPageJob = new JobWebPageDownload(string.Format(urlWeekend, boxofficeId)); foreignPageJob = new JobWebPageDownload(string.Format(urlForeign, boxofficeId)); this.addJob(mainPageJob); this.addJob(weekEndPageJob); this.addJob(foreignPageJob); }
public SerialBoxOfficeMovieParser(string boxofficeId) { this.boxofficeId = boxofficeId; this.movieData = new BoxofficeMovie(boxofficeId); }