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.yql4j.YqlClient.java

/**
 * This interface represents the basic contract for a YQL client.
 */
public interface YqlClient extends Closeable {

    /**

From source file bit.changepurse.wdk.http.HTTPClient.java

/**
 * Documentation for Apache Http Client:
 * http://hc.apache.org/httpcomponents-client-ga/examples.html
 */
public class HTTPClient implements Closeable {

From source file io.v.android.apps.reader.UserActionLogger.java

/**
 * A utility class for logging user actions, such as touch gestures and button presses.
 * Writes the user actions into a CSV file.
 *
 * This class implements {@link Closeable} interface, but closing this logger is not necessary to
 * get the full logs, because the log printing streams are flushed right after each row is written.

From source file co.cask.cdap.client.StreamClient.java

/**
 * The client interface to interact with services provided by the Stream endpoint.
 */
public interface StreamClient extends Closeable {
    /**
     * Creates the Stream with the given name.

From source file com.eatnumber1.util.collections.persistent.PersistentMap.java

/**
 * @author Russell Harmon
 * @since Jul 14, 2009
 */
public interface PersistentMap<K, V> extends IterableMap<K, V>, Closeable, Flushable {
}

From source file coyote.dx.web.worker.ResourceWorker.java

public interface ResourceWorker extends Closeable {

    /**
     * Marshal the data frame in the parameters into the appropriate body format.
     *
     * <p>The implementation is expected to set the body and possibly the

From source file com.codeabovelab.dm.gateway.proxy.common.ProxyClient.java

public interface ProxyClient extends Closeable {

    HttpResponse execute(final HttpHost target, final HttpRequest request) throws Exception;

    void start();
}

From source file org.jnode.net.NServerSocket.java

/**
 *
 * @author daniele
 */
public class NServerSocket implements Closeable {

From source file com.threatconnect.sdk.conn.Connection.java

/**
 * @author dtineo
 */
public class Connection implements Closeable {

    private final Logger logger = LoggerFactory.getLogger(getClass().getSimpleName());

From source file at.tugraz.ist.akm.webservice.requestprocessor.interceptor.IRequestInterceptor.java

public interface IRequestInterceptor extends Closeable {
    public boolean process(HttpRequest httpRequest, String requestData, HttpResponse httpResponse,
            HttpContext httpContext);

}