org.jboss.xnio
Class Closer

java.lang.Object
  extended by org.jboss.xnio.Closer
All Implemented Interfaces:
java.lang.Runnable

public final class Closer
extends java.lang.Object
implements java.lang.Runnable

A Runnable that closes some resource.


Constructor Summary
Closer(java.io.Closeable resource)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Closer

public Closer(java.io.Closeable resource)
Method Detail

run

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