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 com.mmounirou.spotirss.spotify.tracks.TrackCache.java

public class TrackCache implements Closeable {
    private Map<Track, String> m_cache = Maps.newHashMap();
    private OutputStreamWriter stream;

    public TrackCache() throws IOException {
        File cacheDir = new File(FileUtils.getTempDirectory(), "spotify");

From source file org.openhab.binding.webbrick.internal.net.TelnetSession.java

/**
 * A single telnet session.
 *
 * @author Allan Tong - Initial contribution
 */
public class TelnetSession implements Closeable {

From source file org.kiji.hive.KijiTableInfo.java

/**
 * Contains all the information about a kiji table relevant to using hive.
 */
public class KijiTableInfo implements Closeable {
    public static final String KIJI_TABLE_URI = "kiji.table.uri";

From source file io.fabric8.vertx.maven.plugin.utils.IncrementalBuilder.java

/**
 * @author kameshs
 */
public class IncrementalBuilder extends FileAlterationListenerAdaptor implements Runnable, Closeable {

    private final Log logger;

From source file org.cleverbus.admin.services.log.LogEventParsingIterator.java

/**
 * Iterates over provided log files, parsing and returning {@link LogEvent}s on demand.
 */
class LogEventParsingIterator implements Iterator<LogEvent>, Closeable {
    private final LogParser parser;
    private final LogParserConfig config;

From source file com.byteatebit.nbserver.simple.client.SimpleNbClient.java

public class SimpleNbClient implements Closeable {

    private static final Logger LOG = LoggerFactory.getLogger(SimpleNbClient.class);

    protected final ISimpleNbService simpleNbService;
    protected final AtomicBoolean initialized = new AtomicBoolean(false);

From source file io.reactiverse.vertx.maven.plugin.utils.IncrementalBuilder.java

/**
 * @author kameshs
 */
public class IncrementalBuilder extends FileAlterationListenerAdaptor implements Runnable, Closeable {

    private final Log logger;

From source file alluxio.cli.AlluxioShell.java

/**
 * Class for handling command line inputs.
 */
@NotThreadSafe
public final class AlluxioShell implements Closeable {
    private static final Logger LOG = LoggerFactory.getLogger(AlluxioShell.class);

From source file me.xingrz.prox.transport.AbstractTransportProxy.java

/**
 * ??
 *
 * @param <C> ?? {@link java.nio.channels.ServerSocketChannel}  {@link java.nio.channels.DatagramChannel}
 * @param <S> ?
 */

From source file org.apache.pulsar.broker.authentication.AuthenticationService.java

/**
 * Authentication service
 *
 */
public class AuthenticationService implements Closeable {
    private static final Logger LOG = LoggerFactory.getLogger(AuthenticationService.class);