List of usage examples for java.lang AutoCloseable interface-usage
From source file com.github.wnameless.linereader.SftpLineReader.java
public class SftpLineReader extends ForwardingLineReader implements AutoCloseable { public static Helper forSiteUser(String username, String ftpServer) { return new Helper(username, ftpServer); }
From source file edu.emory.cci.aiw.i2b2etl.ksb.QueryExecutor.java
/** * * @author Andrew Post */ public class QueryExecutor implements AutoCloseable {
From source file core.importmodule.parser.cisco.CiscoCommandSplitter.java
/**
* This is meant to be the try-with-resources condition for {@link CiscoReader}.
* This pre-parser Splits a single cisco config file into several valid command
* files. This class fulfills its purpose upon construction.
*
* Given an input file with multiple "command-lines" like 'Switch1#show
From source file org.apache.reef.util.JARFileMaker.java
/** * Helper class to create JAR files. */ public class JARFileMaker implements AutoCloseable { private static final Logger LOG = Logger.getLogger(JARFileMaker.class.getName());
From source file at.ac.univie.isc.asio.engine.sql.JdbcExecution.java
/** * Manage a SQL execution. */ final class JdbcExecution implements AutoCloseable { private final JdbcFactory create;
From source file org.springframework.cloud.stream.app.tensorflow.processor.TensorFlowService.java
/** * @author Christian Tzolov */ public class TensorFlowService implements AutoCloseable { private static final Log logger = LogFactory.getLog(TensorflowProcessorConfiguration.class);
From source file pt.isel.mpd.util.HttpGwAsyncNio.java
/** * * @author Miguel Gamboa at CCISEL */ public class HttpGwAsyncNio implements AutoCloseable {
From source file io.pravega.segmentstore.storage.impl.bookkeeper.BookKeeperServiceRunner.java
/** * Helper class that starts BookKeeper in-process. */ @Slf4j @Builder public class BookKeeperServiceRunner implements AutoCloseable {
From source file com.github.shynixn.blockball.bukkit.logic.persistence.context.SqlDbContextImpl.java
/**
* Copyright 2017 Shynixn
* <p>
* Do not remove this header!
* <p>
* Version 1.0
From source file org.springframework.cloud.stream.app.image.recognition.processor.ImageRecognitionTensorflowInputConverter.java
/** * @author Christian Tzolov */ public class ImageRecognitionTensorflowInputConverter implements TensorflowInputConverter, AutoCloseable { private static final Log logger = LogFactory.getLog(ImageRecognitionTensorflowInputConverter.class);