Class PlayClip
java.lang.Object
PlayClip
- All Implemented Interfaces:
- EventListener, LineListener
public class PlayClip
- extends Object
- implements LineListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
PlayClip
public PlayClip(String fnm)
loadClip
private void loadClip(String fnm)
checkDuration
private void checkDuration()
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.