this allow for try-with-resources pattern in Java 7 while
being backwards compatible
package org.yaz4j;
+import java.io.Closeable;
import org.yaz4j.exception.ZoomException;
import org.yaz4j.jni.SWIGTYPE_p_ZOOM_connection_p;
import org.yaz4j.jni.SWIGTYPE_p_ZOOM_query_p;
* @see <a href="http://www.indexdata.com/yaz/doc/zoom.html#zoom-connections">YAZ ZOOM Connection</a>
* @author jakub
*/
-public class Connection {
+public class Connection implements Closeable {
private String host;
private int port;