Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package de.fu.alp5.foreign.distributed;
- import java.io.File;
- import java.io.IOException;
- import java.rmi.AlreadyBoundException;
- import java.rmi.NotBoundException;
- public class MainWorker {
- public static void main(String[] args) throws IOException,
- InterruptedException, AlreadyBoundException, NotBoundException {
- if (args.length != 1) {
- System.out
- .println("Usage: java -jar ForeignWorker.jar <text file>");
- System.exit(-1);
- }
- new TextAnalyzerWorkerImpl(args[0], "woerter.txt", "words.txt");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement