com.sun.jersey.core.util
Class Closing

java.lang.Object
  extended by com.sun.jersey.core.util.Closing

public class Closing
extends Object

A helper class to aid the closing of InputStream.

Author:
Paul.Sandoz@Sun.Com

Nested Class Summary
static interface Closing.Closure
           
 
Constructor Summary
Closing(InputStream in)
           
 
Method Summary
 void f(Closing.Closure c)
           
static Closing with(InputStream in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Closing

public Closing(InputStream in)
Method Detail

with

public static Closing with(InputStream in)

f

public void f(Closing.Closure c)
       throws IOException
Throws:
IOException


Copyright © 2011 Oracle Corporation. All Rights Reserved.