Class PlayClipBF

java.lang.Object
  extended by PlayClipBF
All Implemented Interfaces:
EventListener, LineListener

public class PlayClipBF
extends Object
implements LineListener


Field Summary
private  Clip clip
           
private  DecimalFormat df
           
private static org.apache.log4j.Logger logger
           
private  int loopCount
           
private static String SOUND_DIR
           
 
Constructor Summary
PlayClipBF(String fnm)
           
 
Method Summary
private  void loadClip(String fnm)
           
static void main(String[] args)
           
private  void play()
           
 void update(LineEvent lineEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static final org.apache.log4j.Logger logger

SOUND_DIR

private static final String SOUND_DIR
See Also:
Constant Field Values

clip

private Clip clip

df

private DecimalFormat df

loopCount

private int loopCount
Constructor Detail

PlayClipBF

public PlayClipBF(String fnm)
Method Detail

loadClip

private void loadClip(String fnm)

play

private void play()

update

public void update(LineEvent lineEvent)
Specified by:
update in interface LineListener

main

public static void main(String[] args)


Copyright © 2011-2012 Sahits GmbH. All Rights Reserved.