Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2010
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.53 KB | None | 0 0
  1. package de.fu.alp5.foreign.distributed;
  2.  
  3. import java.io.File;
  4. import java.io.IOException;
  5. import java.rmi.AlreadyBoundException;
  6. import java.rmi.NotBoundException;
  7.  
  8. public class MainWorker {
  9.  
  10.     public static void main(String[] args) throws IOException,
  11.             InterruptedException, AlreadyBoundException, NotBoundException {
  12.  
  13.         if (args.length != 1) {
  14.             System.out
  15.                     .println("Usage: java -jar ForeignWorker.jar <text file>");
  16.             System.exit(-1);
  17.         }
  18.  
  19.         new TextAnalyzerWorkerImpl(args[0], "woerter.txt", "words.txt");
  20.  
  21.     }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement