org.glassfish.jersey.internal.util
Class Closing
java.lang.Object
org.glassfish.jersey.internal.util.Closing
public class Closing
- extends Object
A helper class to aid the closing of InputStream.
- Author:
- Paul Sandoz
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Closing
public Closing(InputStream in)
with
public static Closing with(InputStream in)
invoke
public void invoke(Closure<InputStream> c)
throws IOException
- Throws:
IOException
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.