de.enough.polish.log.bluetooth
Class BluetoothLogHandler

java.lang.Object
  extended by de.enough.polish.log.LogHandler
      extended by de.enough.polish.log.bluetooth.BluetoothLogHandler
All Implemented Interfaces:
java.lang.Runnable

public class BluetoothLogHandler
extends LogHandler
implements java.lang.Runnable

Forwards log messages to the first preknown device.

Copyright (c) Enough Software 2005 - 2008

 history
        27-Apr-2005 - rob creation
 

Author:
Robert Virkus, j2mepolish@enough.de

Constructor Summary
BluetoothLogHandler()
          Creates a new handler
 
Method Summary
 void handleLogEntry(LogEntry logEntry)
          Handles the given log entry.
 void run()
           
 
Methods inherited from class de.enough.polish.log.LogHandler
exit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BluetoothLogHandler

public BluetoothLogHandler()
Creates a new handler

Method Detail

handleLogEntry

public void handleLogEntry(LogEntry logEntry)
                    throws java.lang.Exception
Description copied from class: LogHandler
Handles the given log entry.

Specified by:
handleLogEntry in class LogHandler
Parameters:
logEntry - the entry
Throws:
java.lang.Exception - when the entry could not be handled

run

public void run()
Specified by:
run in interface java.lang.Runnable