public class EasySound
extends java.lang.Object
Appendix to:
Java Methods: Object-Oriented Programming and Data Structures, 3rd AP Edition
(Skylight Publishing 2015, ISBN 978-0-9824775-6-4)
EasySound provides a simple way od playing a sound in an application.
Example: ======= EasySound bells = new EasySound("bells.wav"); bells.play();
Constructor and Description |
---|
EasySound(java.lang.String fileName)
Constructs an
EasySound for a given audio file. |
Modifier and Type | Method and Description |
---|---|
void |
play()
Plays this
EasySound . |