dguitar.players.sound.midi.demo
Class PlayerDemo

java.lang.Object
  extended bydguitar.players.sound.midi.demo.PlayerDemo

public class PlayerDemo
extends java.lang.Object

Author:
crnash

Field Summary
private static java.lang.String className
           
private static java.util.logging.Logger logger
           
 
Constructor Summary
PlayerDemo()
           
 
Method Summary
static Song loadGPToSong(java.lang.String fileName)
          Attempt to load a GP file as a Song.
static void main(java.lang.String[] args)
           
static void playerDemo(java.lang.String fileName, SoundPlayer sp, LinePrinter out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

className

private static java.lang.String className

logger

private static java.util.logging.Logger logger
Constructor Detail

PlayerDemo

public PlayerDemo()
Method Detail

main

public static void main(java.lang.String[] args)

playerDemo

public static void playerDemo(java.lang.String fileName,
                              SoundPlayer sp,
                              LinePrinter out)
Parameters:
fileName -
sp -
out -

loadGPToSong

public static Song loadGPToSong(java.lang.String fileName)
                         throws GPFormatException,
                                java.io.IOException
Attempt to load a GP file as a Song.

Parameters:
fileName -
Returns:
a Song
Throws:
GPFormatException
java.io.IOException