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 se.curity.examples.oauth.jwt.JwkManager.java

final class JwkManager implements Closeable {
    private static final Logger _logger = LoggerFactory.getLogger(JwkManager.class);

    private final URI _jwksUri;

    private final Gson _gson = new GsonBuilder().disableHtmlEscaping()

From source file de.tudarmstadt.ukp.integration.alignment.xml.AlignmentXmlReader.java

/**
 * Read relevant information sources from alignment.xml file
 */
public class AlignmentXmlReader implements Closeable {

    XMLEventReader xmlEventReader;

From source file com.moz.fiji.mapreduce.kvstore.KeyValueStoreReaderFactory.java

/**
 * Class that manages the creation of KeyValueStoreReaders associated
 * with a set of bound KeyValueStore name--instance pairs.
 *
 * <p>This also manages a cache of opened readers, which will be returned
 * if available, rather than creating a new store reader for a given named

From source file com.comcast.video.dawg.DawgClient.java

/**
 * Base class for dawg clients
 * @author Kevin Pearson
 *
 */
public abstract class DawgClient implements Closeable {

From source file com.asakusafw.runtime.stage.temporary.TemporaryFileOutputHelper.java

class TemporaryFileOutputHelper implements Closeable {

    static final Log LOG = LogFactory.getLog(TemporaryFileOutputHelper.class);

    static final AtomicInteger THREAD_COUNTER = new AtomicInteger();

From source file nya.miku.wishmaster.chans.cirno.CirnoCatalogReader.java

public class CirnoCatalogReader implements Closeable {
    private static final char[] CATALOG_START = "<div class=\"catthreadlist\">".toCharArray();

    private static final Pattern PATTERN_START = Pattern.compile("(\\d+) \\((.*?)\\)", Pattern.DOTALL);

    private static final int FILTER_START = 0;

From source file nya.miku.wishmaster.chans.krautchan.KrautBoardsListReader.java

/**
 * parse boards list page: krautchan.net/nav
 * @author miku-nyan
 *
 */
public class KrautBoardsListReader implements Closeable {

From source file com.nttec.everychan.chans.cirno.CirnoCatalogReader.java

public class CirnoCatalogReader implements Closeable {
    private static final char[] CATALOG_START = "<div class=\"catthreadlist\">".toCharArray();

    private static final Pattern PATTERN_START = Pattern.compile("(\\d+) \\((.*?)\\)", Pattern.DOTALL);

    private static final int FILTER_START = 0;

From source file com.nttec.everychan.chans.krautchan.KrautBoardsListReader.java

/**
 * parse boards list page: krautchan.net/nav
 * @author miku-nyan
 *
 */
public class KrautBoardsListReader implements Closeable {

From source file edu.usc.goffish.gofs.tools.deploy.GMLPartitionBuilder.java

public class GMLPartitionBuilder implements IPartitionBuilder, Iterable<ISerializablePartition>, Closeable {

    private final IGraphComponentizer _partitionComponentizer;

    private final Path _templatePath;
    private final List<Path> _instancePaths;