javazoom.jl.player
Class jlp
java.lang.Object
javazoom.jl.player.jlp
public class jlp
- extends java.lang.Object
The jlp
class implements a simple command-line
player for MPEG audio files.
Constructor Summary |
jlp(java.lang.String filename)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jlp
public jlp(java.lang.String filename)
main
public static void main(java.lang.String[] args)
createInstance
public static jlp createInstance(java.lang.String[] args)
init
protected void init(java.lang.String filename)
parseArgs
protected boolean parseArgs(java.lang.String[] args)
showUsage
public void showUsage()
play
public void play()
throws JavaLayerException
- Throws:
JavaLayerException
getURLInputStream
protected java.io.InputStream getURLInputStream()
throws java.lang.Exception
- Playing file from URL (Streaming).
- Throws:
java.lang.Exception
getInputStream
protected java.io.InputStream getInputStream()
throws java.io.IOException
- Playing file from FileInputStream.
- Throws:
java.io.IOException
getAudioDevice
protected AudioDevice getAudioDevice()
throws JavaLayerException
- Throws:
JavaLayerException
JavaZOOM 1999-2008