Class Author


public class Author extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    Author(File inputFile)
    Construct an author object to simulate the vocabulary usage indicated by a sample text file.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    Main program takes two command-line parameters.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • main

      public static void main(String[] args) throws FileNotFoundException
      Main program takes two command-line parameters. The first is the name of an input file. The second is the number of words of output to generate.
      Parameters:
      args -
      Throws:
      FileNotFoundException