XNIO version 1.2.0.GA

org.jboss.xnio
Class Closer

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

public final class Closer
extends Object
implements Runnable

A Runnable that closes some resource.


Constructor Summary
Closer(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(Closeable resource)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

XNIO version 1.2.0.GA

Copyright © 2008 JBoss, a division of Red Hat, Inc.