public class StupidResourceHolder<T> extends Object implements ResourceHolder<T>
Constructor and Description |
---|
StupidResourceHolder(T obj) |
public StupidResourceHolder(T obj)
public static <T> StupidResourceHolder<T> create(T obj)
public T get()
get
in interface ResourceHolder<T>
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2011–2015. All rights reserved.