net.sf.jmorse
Class AbstractMorseWriter
java.lang.Object
net.sf.jmorse.AbstractMorseWriter
- All Implemented Interfaces:
- MorseWriter
- Direct Known Subclasses:
- AudioMorseWriter
public abstract class AbstractMorseWriter
- extends Object
- implements MorseWriter
- Author:
- Enrique Lara
Field Summary |
protected int |
wpm
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wpm
protected int wpm
AbstractMorseWriter
public AbstractMorseWriter()
AbstractMorseWriter
public AbstractMorseWriter(Locale locale)
getWpm
public int getWpm()
setWpm
public void setWpm(int wpm)
setLocale
public void setLocale(Locale locale)
toMorse
protected String toMorse(char c)
throws MissingResourceException
- Throws:
MissingResourceException
toMorse
protected String toMorse(char[] msg,
int len)
throws MissingResourceException
- Throws:
MissingResourceException
write
public void write(String msg)
- Specified by:
write
in interface MorseWriter
write
public void write(char[] msg,
int len)
- Specified by:
write
in interface MorseWriter
writeMorse
protected abstract void writeMorse(char[] msg,
int len)
Copyright © 2006-2010. All Rights Reserved.