* limitations under the License.
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.guide;
import java.util.List;
+
/**
* Abstract visitor of the tv guide with default looping behavior.
*/
* limitations under the License.
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.guide;
import java.util.Collections;
import java.util.List;
+
/**
* Represents the programme for a tv channel.
*/
* limitations under the License.
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.guide;
import java.util.ArrayList;
import java.util.List;
* limitations under the License.
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.guide;
import java.io.PrintStream;
+
/**
* Print visitor for pretty printing the TV guide.
*/
* limitations under the License.
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.guide;
import java.util.Comparator;
import org.wamblee.crawler.Action;
import org.wamblee.crawler.Page;
import org.wamblee.crawler.PageException;
+import org.wamblee.crawler.kiss.main.SystemProperties;
/**
* Represents a television program.
* limitations under the License.
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.guide;
import java.util.Collections;
import java.util.List;
+
/**
* The TV guide.
*/
* limitations under the License.
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.guide;
import java.text.DecimalFormat;
import java.text.NumberFormat;
* limitations under the License.
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.guide;
+
/**
* Time interval.
* limitations under the License.
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.guide;
+
/**
* Visitor of the TV guide.
* limitations under the License.
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.main;
+
+import org.wamblee.crawler.kiss.guide.Program;
/**
* Represents an action to execute for an interesting program.
* limitations under the License.
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.main;
import java.io.ByteArrayOutputStream;
import java.io.File;
import org.wamblee.crawler.PageException;
import org.wamblee.crawler.impl.ConfigurationParser;
import org.wamblee.crawler.impl.CrawlerImpl;
+import org.wamblee.crawler.kiss.guide.Channel;
+import org.wamblee.crawler.kiss.guide.PrintVisitor;
+import org.wamblee.crawler.kiss.guide.Program;
+import org.wamblee.crawler.kiss.guide.TVGuide;
+import org.wamblee.crawler.kiss.guide.Time;
+import org.wamblee.crawler.kiss.guide.TimeInterval;
+import org.wamblee.crawler.kiss.notification.NotificationException;
+import org.wamblee.crawler.kiss.notification.Notifier;
import org.wamblee.io.FileResource;
import org.wamblee.xml.XSLT;
* limitations under the License.
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.main;
+
+import org.wamblee.crawler.kiss.guide.Program;
/**
* Represents an action configured for a program.
* limitations under the License.
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.main;
import java.util.EnumMap;
import java.util.Map;
import org.dom4j.DocumentFactory;
import org.dom4j.Element;
-import org.wamblee.crawler.kiss.Program.RecordingResult;
+import org.wamblee.crawler.kiss.guide.Program;
+import org.wamblee.crawler.kiss.guide.Program.RecordingResult;
/**
* Provides execution of actions for programs. Actions use
* limitations under the License.
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.main;
import java.io.InputStream;
import java.util.ArrayList;
import org.wamblee.conditions.AndCondition;
import org.wamblee.conditions.Condition;
import org.wamblee.conditions.PropertyRegexCondition;
+import org.wamblee.crawler.kiss.guide.Program;
+import org.wamblee.crawler.kiss.notification.MailNotifier;
+import org.wamblee.crawler.kiss.notification.MailServer;
+import org.wamblee.crawler.kiss.notification.Notifier;
/**
* Parse the configuration of desired programs.
* limitations under the License.
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.main;
import java.util.List;
import org.wamblee.conditions.Condition;
+import org.wamblee.crawler.kiss.guide.MatchVisitor;
+import org.wamblee.crawler.kiss.guide.Program;
+import org.wamblee.crawler.kiss.guide.TVGuide;
/**
* limitations under the License.
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.main;
+
+import org.wamblee.crawler.kiss.guide.Program;
/**
* limitations under the License.
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.main;
/**
* Access to system properties for the crawler.
* Copyright (c) 2005 UPS_SCS NL
*
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.notification;
import java.io.ByteArrayOutputStream;
import java.io.File;
* Copyright (c) 2005 UPS_SCS NL
*
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.notification;
import java.util.Properties;
* Copyright (c) 2005 UPS_SCS NL
*
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.notification;
/**
* Notification exception thrown in case of problems sending
* Copyright (c) 2005 UPS_SCS NL
*
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.notification;
import org.dom4j.Element;
* Copyright (c) 2005 UPS_SCS NL
*
*/
-package org.wamblee.crawler.kiss;
+package org.wamblee.crawler.kiss.notification;
import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;