public class PlayClipBF extends Object implements LineListener
| Modifier and Type | Field and Description |
|---|---|
private Clip |
clip |
private DecimalFormat |
df |
private static org.apache.log4j.Logger |
logger |
private int |
loopCount |
private static String |
SOUND_DIR |
| Constructor and Description |
|---|
PlayClipBF(String fnm) |
private static final org.apache.log4j.Logger logger
private static final String SOUND_DIR
private Clip clip
private DecimalFormat df
private int loopCount
public PlayClipBF(String fnm)
private void loadClip(String fnm)
private void play()
public void update(LineEvent lineEvent)
update in interface LineListenerpublic static void main(String[] args)
Copyright © 2011-2015 Sahits GmbH. All Rights Reserved.