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 eu.freme.eservices.epublishing.webservice.Run.java

/**
 *
 * @author Pieter Heyvaert <pheyvaer.heyvaert@ugent.be>
 */
@SpringBootApplication
@ComponentScan(basePackages = "eu.freme.eservices.epublishing")

From source file org.callimachusproject.io.CarOutputStream.java

public class CarOutputStream implements Closeable, Flushable {
    private final ZipArchiveOutputStream zipStream;
    private final Set<String> closed = new HashSet<String>();

    public CarOutputStream(OutputStream out) throws IOException {
        this.zipStream = new ZipArchiveOutputStream(out);

From source file edu.dfci.cccb.mev.domain.MatrixData.java

/**
 * @author levk
 * 
 */
@RequiredArgsConstructor
@EqualsAndHashCode

From source file tpt.dbweb.cat.io.TaggedTextXMLWriter.java

public class TaggedTextXMLWriter implements Closeable {

    private static Logger log = LoggerFactory.getLogger(TaggedTextXMLWriter.class);

    PrintStream ps = null;

From source file com.ning.metrics.action.hdfs.data.RowFileContentsIterator.java

/**
 * File wrapper - turn a file into a Row iterator
 */
abstract class RowFileContentsIterator implements Iterator<Row>, Closeable {
    static final Logger log = LoggerFactory.getLogger(RowFileContentsIterator.class);

From source file org.apache.hadoop.fs.redfish.RedfishDataInputStream.java

class RedfishDataInputStream extends InputStream implements Seekable, PositionedReadable, Closeable {
    private long m_ofe;

    static {
        try {
            System.loadLibrary("hfishc");

From source file com.lithium.flow.filer.Filer.java

/**
 * A file system representation to get file records, read and write streams, and change attributes.
 *
 * @author Matt Ayres
 */
public interface Filer extends Closeable {

From source file com.moilioncircle.redis.replicator.EventHandlerWorker.java

/**
 * Created by leon on 8/25/16.
 */
/*package*/ class EventHandlerWorker extends Thread implements Closeable {
    private static final Log logger = LogFactory.getLog(EventHandlerWorker.class);

From source file org.mule.module.launcher.application.CompositeApplicationClassLoader.java

/**
 * Defines a classloader that delegates classes and resources resolution to
 * a list of classloaders.
 */
public class CompositeApplicationClassLoader extends ClassLoader implements ApplicationClassLoader, Closeable {

From source file org.commonjava.util.jhttpc.INTERNAL.conn.CloseBlockingConnectionManager.java

public class CloseBlockingConnectionManager implements HttpClientConnectionManager, Closeable {

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

    private final SiteConnectionConfig config;