tcra.exercises
Class ExerciseUtilities

java.lang.Object
  extended by tcra.exercises.ExerciseUtilities

public class ExerciseUtilities
extends java.lang.Object

Supplies general exercise utility functions. Cannot be instantiated.


Method Summary
static TCRAExercise loadFile()
          Opens a FileChooser to allow the user to select the exercise to be opened.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadFile

public static TCRAExercise loadFile()
                             throws java.lang.Throwable
Opens a FileChooser to allow the user to select the exercise to be opened. Using reflection, this method loads the exercise and returns it to the caller.

Returns:
TCRAExercise chosen by the user.
Throws:
java.lang.Throwable