us.zuercher.gpx2map.util
Class NoOpMessageSink

java.lang.Object
  extended by us.zuercher.gpx2map.util.MessageSink
      extended by us.zuercher.gpx2map.util.NoOpMessageSink

public class NoOpMessageSink
extends MessageSink

NoOpMessageSink extends MessageSink to silently discard all messages.

Author:
Stephan Zuercher

Constructor Summary
NoOpMessageSink()
           
 
Method Summary
 void newLine()
          Does nothing.
 void write(String message)
          Does nothing.
 
Methods inherited from class us.zuercher.gpx2map.util.MessageSink
write, write, write, write, write, writeLine, writeLine, writeLine, writeLine, writeLine, writeLine, writeLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoOpMessageSink

public NoOpMessageSink()
Method Detail

write

public void write(String message)
Does nothing.

Specified by:
write in class MessageSink
Parameters:
message - ignored
See Also:
MessageSink.write(String)

newLine

public void newLine()
Does nothing.

Specified by:
newLine in class MessageSink
See Also:
MessageSink.newLine()