util
Class WordExchange

java.lang.Object
  extended by util.WordExchange

public class WordExchange
extends Object

A class to correct for wrong use of class names in java files. The keyword given as the second argument on the command line is replaced with the third argument. Case is considered.


Constructor Summary
WordExchange()
           
 
Method Summary
static void main(String[] arg)
          Converts (text) files by replacing each occurence of the keyword given as the second command line argument with the string given as the third command line argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordExchange

public WordExchange()
Method Detail

main

public static void main(String[] arg)
                 throws IOException
Converts (text) files by replacing each occurence of the keyword given as the second command line argument with the string given as the third command line argument. first command line argument is the file name.

Throws:
IOException