Example usage for com.google.common.io InputSupplier interface-usage

List of usage examples for com.google.common.io InputSupplier interface-usage

Introduction

In this page you can find the example usage for com.google.common.io InputSupplier interface-usage.

Usage

From source file io.druid.examples.web.WebJsonSupplier.java

public class WebJsonSupplier implements InputSupplier<BufferedReader> {
    private static final EmittingLogger log = new EmittingLogger(WebJsonSupplier.class);
    private static final UrlValidator urlValidator = new UrlValidator();

    private URL url;

From source file org.eclipse.osee.orcs.account.admin.internal.oauth.ClientArtifact.java

/**
 * @author Roberto E. Escobar
 */
public class ClientArtifact extends BaseIdentity<String> implements OAuthClient, InputSupplier<InputStream> {

    private final GsonBuilder builder;

From source file net.middell.combo.TextResource.java

/**
 * A text-based resource to be delivered via HTTP.
 * <p/>
 * Next to a reference to the resource's content supplier, this class models some metadata specific to
 * HTTP-based delivery like a URI via which the resource can be referenced directly or the maximum time it can be
 * cached by browsers or proxy servers.

From source file org.b1.pack.standard.reader.StandardFileContent.java

class StandardFileContent implements FileContent, InputSupplier<InputStream> {

    private final Long id;
    private final RecordPointer pointer;
    private final PackInputStream inputStream;
    private final FileBuilder builder;

From source file org.apache.hadoop.hive.ql.io.slice.Slice.java

public final class Slice implements Comparable<Slice>, InputSupplier<SliceInput>, OutputSupplier<SliceOutput> {
    private static final Unsafe unsafe;

    static {
        try {
            // fetch theUnsafe object

From source file io.airlift.slice.Slice.java

public final class Slice implements Comparable<Slice>, InputSupplier<SliceInput>, OutputSupplier<SliceOutput> {
    private static final Unsafe unsafe;
    private static final MethodHandle newByteBuffer;

    static {
        try {