Class PostalTest

java.lang.Object
  |
  +--PostalTest

public class PostalTest
extends java.lang.Object

This class retreives a postal code that will be inputted by the user through the console. It then calls the appropriate methods to verify it.


Constructor Summary
PostalTest()
           
 
Method Summary
private static java.lang.String getInput()
          This method handles the input from the console.
static void main(java.lang.String[] args)
          Retrieves a postal code from the console and analyses it.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

PostalTest

public PostalTest()
Method Detail

main

public static void main(java.lang.String[] args)
Retrieves a postal code from the console and analyses it.

getInput

private static java.lang.String getInput()
This method handles the input from the console. It returns a String containing the postal code to be analysed.
Returns:
A String containing a postal code.