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 nallar.tickthreading.patcher.remapping.LZMAInputSupplier.java

public class LZMAInputSupplier implements InputSupplier<InputStream> {
    private InputStream compressedData;

    public LZMAInputSupplier(InputStream compressedData) {
        this.compressedData = compressedData;
    }

From source file cpw.mods.fml.common.asm.transformers.deobf.LZMAInputSupplier.java

public class LZMAInputSupplier implements InputSupplier<InputStream> {
    private InputStream compressedData;

    public LZMAInputSupplier(InputStream compressedData) {
        this.compressedData = compressedData;
    }

From source file cpw.mods.fml.common.asm.transformers.deobf.ZipInputSupplier.java

public class ZipInputSupplier implements InputSupplier<InputStream> {
    private ZipFile zipFile;
    private ZipEntry zipEntry;

    public ZipInputSupplier(ZipFile zip, ZipEntry entry) {
        this.zipFile = zip;

From source file org.eclipse.osee.orcs.core.ds.IndexedResource.java

/**
 * @author Roberto E. Escobar
 */
public interface IndexedResource extends HasLocalId, InputSupplier<InputStream> {

    long getGammaId();

From source file org.vclipse.base.compare.DefaultInputSupplier.java

public class DefaultInputSupplier implements InputSupplier<InputStream> {

    protected InputStream stream;

    public DefaultInputSupplier(InputStream stream) {
        this.stream = stream;

From source file eu.esdihumboldt.hale.common.core.io.supplier.LocatableInputSupplier.java

/**
 * Locatable {@link InputSupplier} providing an URI as location
 * 
 * @param <T> the input type
 * 
 * @author Simon Templer

From source file co.freeside.betamax.proxy.netty.ByteBufInputSupplier.java

public class ByteBufInputSupplier implements InputSupplier<InputStream> {

    private final ByteBuf buffer;

    public ByteBufInputSupplier(ByteBuf buffer) {
        this.buffer = buffer;

From source file com.facebook.buck.util.FileLikeInputSupplier.java

public class FileLikeInputSupplier implements InputSupplier<InputStream> {
    private final FileLike fileLike;

    public FileLikeInputSupplier(FileLike fileLike) {
        this.fileLike = Preconditions.checkNotNull(fileLike);
    }

From source file com.facebook.buck.java.classes.FileLikeInputSupplier.java

public class FileLikeInputSupplier implements InputSupplier<InputStream> {
    private final FileLike fileLike;

    public FileLikeInputSupplier(FileLike fileLike) {
        this.fileLike = Preconditions.checkNotNull(fileLike);
    }

From source file org.iglootools.hchelpers.spring.internal.InputStreamSourceToInputSupplierAdapter.java

/**
 * An {@link InputSupplier} that delegates to an  {@link InputStreamSource}.
 * 
 * <p> Spring provides several InputStreamSources that are neat to use. This class bridges these
 * {@link InputStreamSource}'s to google guava's equivalent : {@link InputSupplier}.
 * </p>