+ HighFinancialValueFetcher fetcher;
+ if (args.length > 2 && "--alexa".equals(args[2])) {
+ fetcher = new HighFinancialValueFetcherAlexa(new File(args[0]), max);
+ } else {
+ fetcher = new HighFinancialValueFetcherUmbrella(new File(args[0]), max);
+ }
+ fetcher.fetch();
+ }
+
+ public final void fetch() throws IOException {
+ try (PrintWriter fos = new PrintWriter(f, "UTF-8"); ZipInputStream zis = new ZipInputStream(new URL(base).openStream())) {