List of usage examples for java.io Closeable interface-usage
From source file org.apache.tajo.plan.function.stream.OutputHandler.java
/** * {@link OutputHandler} is responsible for handling the output of the * Tajo-Streaming external command. */ public class OutputHandler implements Closeable {
From source file org.bdval.io.compound.CompoundFileReader.java
/**
* Read a compound file.
* TODO: May want to investigate MultipleStream from fastutil - this would allow iterating files
* TODO: Work on reverting back to thread safe version!
* @author Kevin Dorff
*/
From source file org.apache.activemq.artemis.tests.integration.rest.util.RestMessageContext.java
public abstract class RestMessageContext implements Closeable { public static final String KEY_MSG_CREATE = "msg-create"; public static final String KEY_MSG_CREATE_ID = "msg-create-with-id"; public static final String KEY_MSG_PULL = "msg-pull-consumers"; public static final String KEY_MSG_PUSH = "msg-push-consumers";
From source file org.apache.nutch.crawl.LinkDbReader.java
/** . */ public class LinkDbReader extends Configured implements Tool, Closeable { public static final Log LOG = LogFactory.getLog(LinkDbReader.class); private static final Partitioner<WritableComparable, Writable> PARTITIONER = new HashPartitioner<WritableComparable, Writable>();
From source file org.onehippo.forge.utilities.commons.ftp.SimpleFtpClient.java
/** * SimpleFtpClient * * @version $Id$ */ public class SimpleFtpClient implements Closeable {
From source file se.curity.examples.oauth.opaque.OpaqueTokenValidator.java
public class OpaqueTokenValidator implements Closeable { private static final Logger _logger = LoggerFactory.getLogger(OpaqueTokenValidator.class); private final Gson _gson = new GsonBuilder().disableHtmlEscaping() .setFieldNamingPolicy(FieldNamingPolicy.LOWER_CASE_WITH_UNDERSCORES).create();
From source file net.myrrix.batch.common.iterator.sequencefile.SequenceFileDirIterator.java
/**
* Like {@link SequenceFileIterator}, but iterates not just over one sequence file, but many. The input path
* may be specified as a directory of files to read, or as a glob pattern. The set of files may be optionally
* restricted with a {@link PathFilter}.
*
* @author Sean Owen
From source file com.mmnaseri.couteau.http.client.LatentHttpClient.java
/** * @author Milad Naseri (mmnaseri@programmer.net) * @since 1.0 (14/6/15 AD, 18:30) */ public interface LatentHttpClient extends Closeable {
From source file edu.cornell.med.icb.io.TSVReader.java
/**
* Helper class to parse tab/single character delimited file.
*
* @author Fabien Campagne
* Date: Apr 14, 2007
* Time: 2:03:33 PM
From source file at.ac.tuwien.infosys.store.ImageStorage.java
@Component @Scope(value = "singleton") @Lazy public class ImageStorage implements Closeable { private static final Logger LOGGER = Logger.getLogger(ImageStorage.class);