net.sf.jmorse
Class MorseAudioFileWriter

java.lang.Object
  extended by net.sf.jmorse.AbstractMorseWriter
      extended by net.sf.jmorse.AudioMorseWriter
          extended by net.sf.jmorse.MorseAudioFileWriter
All Implemented Interfaces:
MorseWriter

public class MorseAudioFileWriter
extends AudioMorseWriter

Author:
Enrique Lara

Field Summary
protected  String fileBaseName
           
 
Fields inherited from class net.sf.jmorse.AudioMorseWriter
tone, volume
 
Fields inherited from class net.sf.jmorse.AbstractMorseWriter
wpm
 
Constructor Summary
MorseAudioFileWriter(String fileBaseName)
           
 
Method Summary
 AudioFileFormat.Type getFileType()
           
 boolean saveFile(net.sf.jmorse.MorseBeep mb, char[] msg, int len)
           
 void setFileName(String fileBaseName)
           
 void setFileType(AudioFileFormat.Type fileType)
           
protected  void writeMorse(char[] msg, int len)
           
 
Methods inherited from class net.sf.jmorse.AudioMorseWriter
getTone, getVolume, setTone, setVolume
 
Methods inherited from class net.sf.jmorse.AbstractMorseWriter
getWpm, setLocale, setWpm, toMorse, toMorse, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileBaseName

protected String fileBaseName
Constructor Detail

MorseAudioFileWriter

public MorseAudioFileWriter(String fileBaseName)
Method Detail

getFileType

public AudioFileFormat.Type getFileType()

setFileType

public void setFileType(AudioFileFormat.Type fileType)

setFileName

public void setFileName(String fileBaseName)

writeMorse

protected void writeMorse(char[] msg,
                          int len)
Overrides:
writeMorse in class AudioMorseWriter

saveFile

public boolean saveFile(net.sf.jmorse.MorseBeep mb,
                        char[] msg,
                        int len)


Copyright © 2006-2010. All Rights Reserved.