com.croftsoft.apps.quiz
Class QuizLib

java.lang.Object
  extended by com.croftsoft.apps.quiz.QuizLib

public final class QuizLib
extends Object

Quizzes a student for test preparation.

Since:
2001-06-10
Version:
2001-07-10
Author:
David Wallace Croft

Method Summary
static void addToQuiz(Quiz quiz)
           
static void giveQuiz(Quiz quiz)
           
static Quiz loadQuiz(String quizFilename)
           
static void main(String[] args)
           
static QuizItem promptForQuizItem()
           
static String promptMultiLine()
           
static String promptSingleLine()
           
static void saveQuiz(String quizFilename, String backupFilename, Quiz quiz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException

addToQuiz

public static void addToQuiz(Quiz quiz)
                      throws IOException
Throws:
IOException

giveQuiz

public static void giveQuiz(Quiz quiz)
                     throws IOException
Throws:
IOException

loadQuiz

public static Quiz loadQuiz(String quizFilename)
                     throws IOException
Throws:
IOException

promptForQuizItem

public static QuizItem promptForQuizItem()
                                  throws IOException
Throws:
IOException

promptMultiLine

public static String promptMultiLine()
                              throws IOException
Throws:
IOException

promptSingleLine

public static String promptSingleLine()
                               throws IOException
Throws:
IOException

saveQuiz

public static void saveQuiz(String quizFilename,
                            String backupFilename,
                            Quiz quiz)
                     throws IOException
Throws:
IOException

CroftSoft Javadoc

CroftSoft Apps Javadoc (2008-09-28 21:15:07)