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.cloudera.sqoop.lib.LobRef.java

/**
 * Abstract base class that holds a reference to a Blob or a Clob.
 * DATATYPE is the type being held (e.g., a byte array).
 * CONTAINERTYPE is the type used to hold this data (e.g., BytesWritable).
 * ACCESSORTYPE is the type used to access this data in a streaming fashion
 *   (either an InputStream or a Reader).

From source file com.linkedin.pinot.core.segment.creator.impl.SegmentDictionaryCreator.java

public class SegmentDictionaryCreator implements Closeable {
    private static final Logger LOGGER = LoggerFactory.getLogger(SegmentDictionaryCreator.class);
    private final Object sortedList;
    private final FieldSpec spec;
    private final File dictionaryFile;
    private final int rowCount;

From source file at.bitfire.davdroid.mirakel.syncadapter.DavSyncAdapter.java

public abstract class DavSyncAdapter extends AbstractThreadedSyncAdapter implements Closeable {
    private final static String TAG = "davdroid.DavSyncAdapter";

    @Getter
    private static String androidID;

From source file org.apache.sqoop.lib.LobRef.java

/**
 * Abstract base class that holds a reference to a Blob or a Clob.
 * DATATYPE is the type being held (e.g., a byte array).
 * CONTAINERTYPE is the type used to hold this data (e.g., BytesWritable).
 * ACCESSORTYPE is the type used to access this data in a streaming fashion
 *   (either an InputStream or a Reader).

From source file de.tudarmstadt.ukp.dkpro.bigdata.io.hadoop.HdfsResourceLoader.java

/**
 * Spring ResourceLoader over Hadoop FileSystem.
 * 
 * @author Costin Leau
 */
public class HdfsResourceLoader implements ResourcePatternResolver, PriorityOrdered, Closeable {

From source file it.anyplace.sync.discovery.DiscoveryHandler.java

/**
 *
 * @author aleph
 */
public class DiscoveryHandler implements Closeable {

From source file it.anyplace.sync.httprelay.server.RelaySessionConnection.java

/**
 *
 * @author aleph
 */
public class RelaySessionConnection implements Closeable {

From source file rotmg.net.RotmgNetworkHandler.java

public class RotmgNetworkHandler implements NetworkHandler, Closeable {

    private final NetworkLayer _nwLayer;
    private final BufferedInputStream _bin;
    private final DataInputStream _din;
    private final BufferedOutputStream _bout;

From source file de.micromata.genome.logging.spi.ifiles.IndexedReader.java

/**
 * 
 * @author Roger Rene Kommer (r.kommer.extern@micromata.de)
 *
 */
public class IndexedReader implements Closeable {