0ffa41ab3fdcc43b6891e1b2b3ff3ea233761853
[rhynodge.git] / src / main / java / net / pterodactylus / rhynodge / watchers / BusinessCatWatcher.java
1 package net.pterodactylus.rhynodge.watchers;
2
3 import java.util.Arrays;
4
5 import net.pterodactylus.rhynodge.Watcher;
6 import net.pterodactylus.rhynodge.filters.HtmlFilter;
7 import net.pterodactylus.rhynodge.filters.comics.BusinessCatComicFilter;
8 import net.pterodactylus.rhynodge.queries.HttpQuery;
9 import net.pterodactylus.rhynodge.triggers.NewComicTrigger;
10
11 /**
12  * {@link Watcher} implementation that watches for new Business Cat comics.
13  *
14  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
15  */
16 public class BusinessCatWatcher extends DefaultWatcher {
17
18         public BusinessCatWatcher() {
19                 super(new HttpQuery("http://www.businesscat.happyjar.com/"), Arrays.asList(new HtmlFilter(), new BusinessCatComicFilter()), new NewComicTrigger());
20         }
21
22 }