net.sf.jmorse.log4j
Class AudioMorseAppender

java.lang.Object
  extended by org.apache.log4j.AppenderSkeleton
      extended by net.sf.jmorse.log4j.AudioMorseAppender
All Implemented Interfaces:
org.apache.log4j.Appender, org.apache.log4j.spi.OptionHandler

public class AudioMorseAppender
extends org.apache.log4j.AppenderSkeleton

Author:
Enrique Lara

Field Summary
 
Fields inherited from class org.apache.log4j.AppenderSkeleton
closed, errorHandler, headFilter, layout, name, tailFilter, threshold
 
Constructor Summary
AudioMorseAppender()
           
 
Method Summary
 void activateOptions()
           
 void append(org.apache.log4j.spi.LoggingEvent event)
           
 void close()
           
 int getTone()
           
 int getVolume()
           
 int getWpm()
           
 boolean requiresLayout()
           
 void setTone(int tone)
           
 void setVolume(int volume)
           
 void setWpm(int wpm)
           
 
Methods inherited from class org.apache.log4j.AppenderSkeleton
addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setErrorHandler, setLayout, setName, setThreshold
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AudioMorseAppender

public AudioMorseAppender()
Method Detail

getVolume

public int getVolume()

getTone

public int getTone()

getWpm

public int getWpm()

setVolume

public void setVolume(int volume)

setTone

public void setTone(int tone)

setWpm

public void setWpm(int wpm)

activateOptions

public void activateOptions()
Specified by:
activateOptions in interface org.apache.log4j.spi.OptionHandler
Overrides:
activateOptions in class org.apache.log4j.AppenderSkeleton

close

public void close()
Specified by:
close in interface org.apache.log4j.Appender
Specified by:
close in class org.apache.log4j.AppenderSkeleton

append

public void append(org.apache.log4j.spi.LoggingEvent event)
Specified by:
append in class org.apache.log4j.AppenderSkeleton

requiresLayout

public boolean requiresLayout()
Specified by:
requiresLayout in interface org.apache.log4j.Appender
Specified by:
requiresLayout in class org.apache.log4j.AppenderSkeleton


Copyright © 2006-2010. All Rights Reserved.