net.sf.tomp.el.author
Class Main

java.lang.Object
  extended by net.sf.tomp.el.author.Main

public class Main
extends java.lang.Object

Author:
RNDr. Tomáš Pitner, Ph.D.

Constructor Summary
Main()
           
 
Method Summary
static void main(java.lang.String[] args)
          Creates new instance of AuthorIO, CourseTree, Course, Lecture.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws org.dom4j.DocumentException,
                        java.io.IOException
Creates new instance of AuthorIO, CourseTree, Course, Lecture. Sets lecture's description and saves it. Creates another instance CourseTree, loads it (the previously saved one) and prints it. Creates another instance of Lecture, loads it (the previously saved one) and prints it.

Parameters:
args - Command-line arguments
Throws:
java.io.IOException
org.dom4j.DocumentException