A G I L M P R S T

A

AudioPlayer - class uwcse.io.AudioPlayer.
A simple Audio player.
AudioPlayer() - Constructor for class uwcse.io.AudioPlayer
Create an audio player.

G

getClip() - Method in class uwcse.io.Sound
Answer the AudioClip for this sound.
getTimeInMillis() - Method in class uwcse.io.SimpleDate
Answer the number of milliseconds this date is since Jan 1, 1970.

I

Input - class uwcse.io.Input.
A simple I/O class.
Input() - Constructor for class uwcse.io.Input
Create a new Input object to read from the terminal window or console.
Input(String) - Constructor for class uwcse.io.Input
Create a new Input object that reads data from the file of the given name.

L

loop() - Method in class uwcse.io.Sound
Play the sound repeatedly, until told to stop.
loop(Sound) - Method in class uwcse.io.AudioPlayer
Start playing the given sound, and repeat playing it until told to stop.

M

main(String[]) - Static method in class uwcse.io.AudioPlayer
Test the audio player.
main(String[]) - Static method in class uwcse.io.Input
A test method

P

play() - Method in class uwcse.io.Sound
Play the sound once, or until told to stop.
play(Sound) - Method in class uwcse.io.AudioPlayer
Start playing the given sound, and play it once, or until told to stop.

R

readBoolean(String) - Method in class uwcse.io.Input
Display the given prompt and read a boolean, i.e., the user has to type one of yes, no, true, or false, either capitalized or not, or any non-empty prefix thereof, e.g., y, t, fa, etc.
readBooleanDialog(String) - Method in class uwcse.io.Input
Display the given prompt and read a boolean, using a pop-up dialog window, i.e., the user has to type one of yes, no, true, or false, either capitalized or not, or any non-empty prefix thereof, e.g., y, t, fa, etc.
readChar(String) - Method in class uwcse.io.Input
Display the given prompt and read a character
readCharDialog(String) - Method in class uwcse.io.Input
Display the given prompt and read a character, using a pop-up dialog window.
readDouble(String) - Method in class uwcse.io.Input
Display the given prompt and read a double.
readDoubleDialog(String) - Method in class uwcse.io.Input
Display the given prompt and read a double, using a pop-up dialog window.
readInt(String) - Method in class uwcse.io.Input
Display the given prompt and read an integer.
readIntDialog(String) - Method in class uwcse.io.Input
Display the given prompt and read an integer, using a pop-up dialog window.
readString(String) - Method in class uwcse.io.Input
Display the given prompt and read a single word of input.
readStringDialog(String) - Method in class uwcse.io.Input
Display the given prompt and read a single word of input, using a pop-up dialog window.

S

SimpleDate - class uwcse.io.SimpleDate.
A basic Date class.
SimpleDate() - Constructor for class uwcse.io.SimpleDate
Create a date whose time is now.
SimpleDate(int, int, int, int, int) - Constructor for class uwcse.io.SimpleDate
Create a date whose time is specified by these arguments.
Sound - class uwcse.io.Sound.
A simple sound class.
Sound(String) - Constructor for class uwcse.io.Sound
Create a new sound, loading from the given filename.
Sound(URL) - Constructor for class uwcse.io.Sound
Create a new sound, loading from the given URL.
stop() - Method in class uwcse.io.Sound
Stop playing the sound.
stop(Sound) - Method in class uwcse.io.AudioPlayer
Stop playing the given sound.

T

test() - Static method in class uwcse.io.Sound
A test method that repeatedly asks for a URL and then plays the sound given
toString() - Method in class uwcse.io.SimpleDate
Answer a nice representation of the date.

A G I L M P R S T