Methapolis  0.27
 All Classes Namespaces Files Functions Variables Enumerator
micropolisj.util.MP3 Class Reference
Inheritance diagram for micropolisj.util.MP3:
Collaboration diagram for micropolisj.util.MP3:

Classes

class  LoopListener
class  NonLoopListener

Public Member Functions

 MP3 (String filename)
 MP3 (URL url)
 MP3 (URL url, boolean loop)
 MP3 (String filename, boolean loop)
void close ()
AdvancedPlayer createPlayer ()
void play ()

Private Attributes

String filename
AdvancedPlayer player
boolean loop
volatile Thread thread

Detailed Description

Definition at line 31 of file MP3.java.

Constructor & Destructor Documentation

micropolisj.util.MP3.MP3 ( String  filename)

Definition at line 38 of file MP3.java.

References micropolisj.util.MP3.filename.

micropolisj.util.MP3.MP3 ( URL  url)

Definition at line 42 of file MP3.java.

micropolisj.util.MP3.MP3 ( URL  url,
boolean  loop 
)

Definition at line 46 of file MP3.java.

References micropolisj.util.MP3.loop.

micropolisj.util.MP3.MP3 ( String  filename,
boolean  loop 
)

Member Function Documentation

void micropolisj.util.MP3.close ( )
AdvancedPlayer micropolisj.util.MP3.createPlayer ( )

Definition at line 71 of file MP3.java.

References micropolisj.util.MP3.close(), micropolisj.util.MP3.filename, and micropolisj.util.MP3.loop.

Referenced by micropolisj.util.MP3.play().

Here is the call graph for this function:

Member Data Documentation

String micropolisj.util.MP3.filename
private

Definition at line 32 of file MP3.java.

Referenced by micropolisj.util.MP3.createPlayer(), and micropolisj.util.MP3.MP3().

boolean micropolisj.util.MP3.loop
private

Definition at line 34 of file MP3.java.

Referenced by micropolisj.util.MP3.createPlayer(), and micropolisj.util.MP3.MP3().

AdvancedPlayer micropolisj.util.MP3.player
private
volatile Thread micropolisj.util.MP3.thread
private

The documentation for this class was generated from the following file: