Line | |
---|
1 | package de.ugoe.cs.autoquest.htmlmonitor;
|
---|
2 |
|
---|
3 | import de.ugoe.cs.util.console.Console;
|
---|
4 | import de.ugoe.cs.util.console.TextConsole;
|
---|
5 |
|
---|
6 | /**
|
---|
7 | * <p>
|
---|
8 | * implements the main method to start the {@link HtmlMonitor}.
|
---|
9 | * </p>
|
---|
10 | *
|
---|
11 | * @author Patrick Harms
|
---|
12 | * @version 1.0
|
---|
13 | */
|
---|
14 | public class Runner {
|
---|
15 |
|
---|
16 | /**
|
---|
17 | * <p>
|
---|
18 | * Main method of the application.
|
---|
19 | * </p>
|
---|
20 | *
|
---|
21 | * @param args command line arguments
|
---|
22 | */
|
---|
23 | public static void main(String[] args) {
|
---|
24 | new TextConsole();
|
---|
25 |
|
---|
26 | HtmlMonitor monitor = new HtmlMonitor(args);
|
---|
27 | try {
|
---|
28 | monitor.init();
|
---|
29 | }
|
---|
30 | catch (HtmlMonitorException e) {
|
---|
31 | Console.printerrln("could not initialize HTML monitor server: " + e.getMessage());
|
---|
32 | Console.logException(e);
|
---|
33 | }
|
---|
34 |
|
---|
35 | monitor.start();
|
---|
36 | }
|
---|
37 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.