org.brains2b.coffee.file
Class ConfigurationHandler

java.lang.Object
  extended by org.brains2b.coffee.file.ConfigurationHandler
All Implemented Interfaces:
CoffeeExchange, TicketHandler

public class ConfigurationHandler
extends java.lang.Object
implements TicketHandler, CoffeeExchange


Constructor Summary
ConfigurationHandler()
           
 
Method Summary
 void addProgressMonitor(ProgressMonitor m)
           
 void close()
           
 int[] getHandledEvents()
           
 NNTPMessage handleEvent(CoffeeEvent event)
           
 boolean isAvailable()
           
 void open()
           
 void removeProgressMonitor(ProgressMonitor m)
           
 void setCurrentMessage(NNTPMessage message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationHandler

public ConfigurationHandler()
Method Detail

addProgressMonitor

public void addProgressMonitor(ProgressMonitor m)
Specified by:
addProgressMonitor in interface TicketHandler

close

public void close()
           throws java.lang.Exception
Specified by:
close in interface TicketHandler
Throws:
java.lang.Exception

getHandledEvents

public int[] getHandledEvents()
Specified by:
getHandledEvents in interface TicketHandler

handleEvent

public NNTPMessage handleEvent(CoffeeEvent event)
                        throws CoffeeSpill
Specified by:
handleEvent in interface TicketHandler
Throws:
CoffeeSpill

isAvailable

public boolean isAvailable()
Specified by:
isAvailable in interface TicketHandler

open

public void open()
          throws java.lang.Exception
Specified by:
open in interface TicketHandler
Throws:
java.lang.Exception

removeProgressMonitor

public void removeProgressMonitor(ProgressMonitor m)
Specified by:
removeProgressMonitor in interface TicketHandler

setCurrentMessage

public void setCurrentMessage(NNTPMessage message)
Specified by:
setCurrentMessage in interface CoffeeExchange