Class AudioFile

java.lang.Object
  |
  +--AudioFile

public class AudioFile
extends Object

An audio file to be played.


Field Summary
 int length
          Length of this in seconds.
 String name
          Name of this.
 
Constructor Summary
AudioFile(String aName, int aLength)
          Constructs an audio file with the given name and the given length in seconds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public String name
Name of this.


length

public int length
Length of this in seconds.

Constructor Detail

AudioFile

public AudioFile(String aName,
                 int aLength)
Constructs an audio file with the given name and the given length in seconds.

Parameters:
aName - name for the file
aLength - length for the file in seconds