javazoom.jl.player

Class jlp


public class jlp
extends java.lang.Object

The jlp class implements a simple command-line player for MPEG audio files.

Constructor Summary

jlp(String filename)

Method Summary

static jlp
createInstance(String[] args)
protected AudioDevice
getAudioDevice()
protected InputStream
getInputStream()
Playing file from FileInputStream.
protected InputStream
getURLInputStream()
Playing file from URL (Streaming).
protected void
init(String filename)
static void
main(String[] args)
protected boolean
parseArgs(String[] args)
void
play()
void
showUsage()

Constructor Details

jlp

public jlp(String filename)

Method Details

createInstance

public static jlp createInstance(String[] args)

getAudioDevice

protected AudioDevice getAudioDevice()
            throws JavaLayerException

getInputStream

protected InputStream getInputStream()
            throws IOException
Playing file from FileInputStream.

getURLInputStream

protected InputStream getURLInputStream()
            throws Exception
Playing file from URL (Streaming).

init

protected void init(String filename)

main

public static void main(String[] args)

parseArgs

protected boolean parseArgs(String[] args)

play

public void play()
            throws JavaLayerException

showUsage

public void showUsage()

JavaZOOM 1999-2005