code: public static void main(final String[] args)
      throws IOException
    {
  
      System.out.println(Version.about());
      System.out.println("ISO 6709 geographic point location tester. ");
      System.out.println("For example, enter: +401213-0750015/");
      System.out.println("Enter a blank line to quit.");
      System.out.println("Starting. " + new Date());
  
      final BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
      String inputLine = "starter";
      while (inputLine != null && inputLine.trim().length() > 0)
      {
        try
        {
          System.out.print("Enter an ISO 6709 geographic point location: ");
          inputLine = in.readLine();
          // Parse and print location point
          final PointLocation pointLocation = PointLocationParser
            .parsePointLocation(inputLine);
          System.out.println(pointLocation);
          System.out.println(PointLocationFormatter
            .formatPointLocation(pointLocation, PointLocationFormatType.LONG));
        }
        catch (final ParserException e)
        {
          System.out.println(e.getMessage());
        }
        catch (final FormatterException e)
        {
          System.err.println(e.getMessage());
        }
      }
      System.out.println("Done. " + new Date());
  
    }
docs: Main.
  
  @param args
  Arguments
  @throws IOException
  On an i/o error.