org.freecompany.brimstone.main
Class DefaultListener
java.lang.Object
org.freecompany.brimstone.core.URNConnection.ListenerAdapter
org.freecompany.brimstone.main.DefaultListener
- All Implemented Interfaces:
- java.util.EventListener, org.freecompany.brimstone.core.URNConnection.Listener
public class DefaultListener
- extends org.freecompany.brimstone.core.URNConnection.ListenerAdapter
Field Summary |
protected java.io.PrintStream |
stream
|
protected java.util.Map<java.net.URL,Formatter> |
urls
|
Method Summary |
void |
complete(org.freecompany.brimstone.core.URNConnection connection)
|
void |
foundLocation(org.freecompany.brimstone.core.URNConnection connection,
java.net.URL url)
|
void |
transferred(org.freecompany.brimstone.core.URNConnection connection,
int bytes)
|
Methods inherited from class org.freecompany.brimstone.core.URNConnection.ListenerAdapter |
checkRepository, foundInCache |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
urls
protected final java.util.Map<java.net.URL,Formatter> urls
stream
protected final java.io.PrintStream stream
DefaultListener
public DefaultListener()
DefaultListener
public DefaultListener(java.io.PrintStream stream)
foundLocation
public void foundLocation(org.freecompany.brimstone.core.URNConnection connection,
java.net.URL url)
- Specified by:
foundLocation
in interface org.freecompany.brimstone.core.URNConnection.Listener
- Overrides:
foundLocation
in class org.freecompany.brimstone.core.URNConnection.ListenerAdapter
transferred
public void transferred(org.freecompany.brimstone.core.URNConnection connection,
int bytes)
- Specified by:
transferred
in interface org.freecompany.brimstone.core.URNConnection.Listener
- Overrides:
transferred
in class org.freecompany.brimstone.core.URNConnection.ListenerAdapter
complete
public void complete(org.freecompany.brimstone.core.URNConnection connection)
- Specified by:
complete
in interface org.freecompany.brimstone.core.URNConnection.Listener
- Overrides:
complete
in class org.freecompany.brimstone.core.URNConnection.ListenerAdapter