All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.franz.util.Closeable Maven / Gradle / Ivy

There is a newer version: 5.0.2
Show newest version
/******************************************************************************
** Copyright (c) 2008-2016 Franz Inc.
** All rights reserved. This program and the accompanying materials
** are made available under the terms of the Eclipse Public License v1.0
** which accompanies this distribution, and is available at
** http://www.eclipse.org/legal/epl-v10.html
******************************************************************************/

package com.franz.util;

/**
 * Similar to {@link java.io.Closeable}, but close throws Exception so
 * it can be used with extentions of third-party classes
 * (for example, Sesame and Jena) that define a close method
 * without implementing {@link java.io.Closeable} and with a different
 * checked exception.
 */
public interface Closeable {
	
	/**
	 * Releases system resources associated with the object.
	 * @see java.io.Closeable#close()
	 */
	void close() throws Exception;
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy