Example usage for java.io Closeable interface-usage

List of usage examples for java.io Closeable interface-usage

Introduction

In this page you can find the example usage for java.io Closeable interface-usage.

Usage

From source file org.commonjava.aprox.subsys.http.util.HttpResources.java

/**
 * Contains request, response, and client references, for passing raw data streams and the like back to the caller without losing track of the 
 * resources that need to be closed when the caller is finished.
 * <br/>
 * <b>NOTE:</b> This class stores the response entity {@link InputStream}, and is NOT threadsafe!
 * 

From source file org.grouplens.lenskit.eval.graph.GraphWriter.java

/**
 * Write a graph in GraphViz format.
 */
class GraphWriter implements Closeable {
    private static final Pattern SAFE_VALUE = Pattern.compile("\\w+");
    private final BufferedWriter output;

From source file com.qwazr.library.jdbc.JdbcConnector.java

public class JdbcConnector extends AbstractPasswordLibrary implements Closeable {

    private static final Logger LOGGER = LoggerUtils.getLogger(JdbcConnector.class);

    public final String driver = null;

From source file com.meltmedia.cadmium.servlets.ApiEndpointAccessFilter.java

/**
 * Servlet filter to restrict access to certain paths managed by the {@link ApiEndpointAccessController}.
 * 
 * @author John McEntire
 *
 */

From source file at.tugraz.ist.akm.networkInterface.WifiIpAddress.java

public class WifiIpAddress implements Closeable {
    private LogClient mLog = new LogClient(WifiIpAddress.class.getCanonicalName());
    private ConnectivityManager mConnectivityManager = null;
    private WifiManager mWifiManager = null;

    public WifiIpAddress(Context appContext) {

From source file com.microsoft.tfs.core.clients.versioncontrol.localworkspace.LocalMetadataTable.java

public abstract class LocalMetadataTable implements Closeable {
    private static final Log log = LogFactory.getLog(LocalMetadataTable.class);

    // Authoritative slot
    protected static final String FILE_EXTENSION_SLOT_ONE = ".tf1"; //$NON-NLS-1$

From source file org.codice.ddf.configuration.migration.DecryptMigrationManagerImpl.java

/** The decrypt migration manager decrypts an exported file. */
public class DecryptMigrationManagerImpl implements Closeable {

    private static final Logger LOGGER = LoggerFactory.getLogger(DecryptMigrationManagerImpl.class);

    private final MigrationReport report;

From source file com.alibaba.wasp.fserver.GlobalEntityGroup.java

/**
 * Execute global query plan.
 * 
 */
public class GlobalEntityGroup implements Closeable, EntityGroupServices {

From source file org.commonjava.aprox.client.core.helper.HttpResources.java

/**
 * Contains request, response, and client references, for passing raw data streams and the like back to the caller without losing track of the 
 * resources that need to be closed when the caller is finished.
 * <br/>
 * <b>NOTE:</b> This class stores the response entity {@link InputStream}, and is NOT threadsafe!
 * 

From source file org.commonjava.propulsor.client.http.helper.HttpResources.java

/**
 * Contains request, response, and client references, for passing raw data streams and the like back to the caller without losing track of the 
 * resources that need to be closed when the caller is finished.
 * <br/>
 * <b>NOTE:</b> This class stores the response entity {@link InputStream}, and is NOT threadsafe!
 *