Class FileScannerDemo

java.lang.Object
  extended by FileScannerDemo

public class FileScannerDemo
extends java.lang.Object

Input files using classes File and Scanner.

Version:
Copyright (c) 2002 -- SCCC West
Author:
Prof. Carl B. Struck

Constructor Summary
FileScannerDemo()
           
 
Method Summary
static void main(java.lang.String[] args)
          Opens an input Scanner file, reads name, age and phone number data into a StringBuilder object and then writes the StringBuilder object to the terminal window.
 
Methods inherited from class
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileScannerDemo

public FileScannerDemo()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Opens an input Scanner file, reads name, age and phone number data into a StringBuilder object and then writes the StringBuilder object to the terminal window.

Parameters:
args - the String[] array command line parameter
Throws:
java.io.IOException - if some sort of I/O exception has occurred