jET
1.0beta1


org.jet.tracks
Class ScriptLoader

java.lang.Object
  |
  +--org.jet.tracks.ScriptLoader

public class ScriptLoader
extends java.lang.Object

Loads track palette from XML file.


Nested Class Summary
 class ScriptLoader.Loader
          XML content handler.
 
Field Summary
static java.lang.String FILENAME
          XML file location.
 
Method Summary
static ScriptLoader getInstance()
          Returns instance of this class.
 void load(TrackPalette tp)
          Loads tracks from XML file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILENAME

public static final java.lang.String FILENAME
XML file location.

See Also:
Constant Field Values
Method Detail

getInstance

public static ScriptLoader getInstance()
Returns instance of this class.


load

public void load(TrackPalette tp)
          throws java.lang.Exception
Loads tracks from XML file.

Parameters:
tp - Track palette.
Throws:
java.lang.Exception - Throws an exception when parsing XML document fails.

jET
1.0beta1