MCPcopy Create free account
hub / github.com/Fedict/dcattools / main

Method main

tools/src/main/java/be/gov/data/tools/LinkChecker.java:162–180  ·  view source on GitHub ↗

Main program @param args

(String[] args)

Source from the content-addressed store, hash-verified

160 * @param args
161 */
162 public static void main(String[] args) {
163 logger.info("-- START --");
164 if (args.length == 0) {
165 logger.error("No config file");
166 exit(-1);
167 }
168
169 File config = new File(args[0]);
170 try {
171 prop.load(new FileInputStream(config));
172 } catch (IOException ex) {
173 logger.error("I/O Exception while reading {}", config, ex);
174 exit(-2);
175 }
176
177 parse();
178
179 exit(0);
180 }
181}

Callers

nothing calls this directly

Calls 2

exitMethod · 0.95
parseMethod · 0.95

Tested by

no test coverage detected