Class Audio
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
Fields Modifier and Type Field Description (package private) AudioInputStream
audioInputStream
(package private) SourceDataLine
line
-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description Audio()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(String pSon)
Méthode permettant de contourner les diverses possibles exceptions en chargeant la musique à partir d'un fichier entre en paramtètre et lance la musique.-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, toString, yield
-
-
-
-
Field Detail
-
audioInputStream
AudioInputStream audioInputStream
-
line
SourceDataLine line
-
-
Method Detail
-
run
public void run(String pSon)
Méthode permettant de contourner les diverses possibles exceptions en chargeant la musique à partir d'un fichier entre en paramtètre et lance la musique.
-
-