Example usage for com.google.common.io ByteSource subclass-usage

List of usage examples for com.google.common.io ByteSource subclass-usage

Introduction

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

Usage

From source file com.eightkdata.mongowp.bson.netty.ByteBufByteSource.java

/**
 *
 */
public class ByteBufByteSource extends ByteSource {

    private final ByteBuf byteBuf;

From source file org.apache.druid.storage.cloudfiles.CloudFilesByteSource.java

public class CloudFilesByteSource extends ByteSource {

    private final CloudFilesObjectApiProxy objectApi;
    private final String path;
    private Payload payload;

From source file org.apache.jackrabbit.oak.plugins.tika.BlobStoreByteSource.java

/**
 * Avoiding use of BlobByteSource to avoid concurrent access to NodeState
 */
class BlobStoreByteSource extends ByteSource {
    private final BlobStore blobStore;
    private final String blobId;

From source file org.apache.druid.storage.azure.AzureByteSource.java

public class AzureByteSource extends ByteSource {

    private final AzureStorage azureStorage;
    private final String containerName;
    private final String blobPath;

From source file org.opendaylight.yangtools.yang.model.repo.api.YinTextSchemaSource.java

/**
 * YIN text schema source representation. Exposes an RFC6020 or RFC7950 XML representation as an {@link InputStream}.
 */
@Beta
public abstract class YinTextSchemaSource extends ByteSource implements YinSchemaSourceRepresentation {
    private static final Logger LOG = LoggerFactory.getLogger(YinTextSchemaSource.class);

From source file org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource.java

/**
 * YANG text schema source representation. Exposes an RFC6020 or RFC7950 text representation
 * as an {@link InputStream}.
 */
@Beta
public abstract class YangTextSchemaSource extends ByteSource implements YangSchemaSourceRepresentation {

From source file net.derquinse.common.io.MemoryByteSource.java

/**
 * Base class for byte sources that are guaranteed to be stored in memory, either in byte arrays in
 * the heap or direct buffers. The byte source may be contiguous or backed a list of chunks. Total
 * size must fit in an integer. The default chunk size is 8 KB.
 * @author Andres Rodriguez
 */

From source file com.opengamma.strata.collect.io.ArrayByteSource.java

/**
 * A byte source implementation that explicitly wraps a byte array.
 * <p>
 * This implementation allows {@link IOException} to be avoided in many cases,
 * and to be able to create and retrieve the internal array unsafely.
 */

From source file com.google.devtools.build.lib.rules.objc.BundleMergeControlBytes.java

/**
 * A byte source that can be used to generate a control file for the tool bundlemerge . 
 * Note that this generates the control proto and bytes on-the-fly rather than eagerly. 
 * This is to prevent a copy of the bundle files and .xcdatamodels from being stored for 
 * each {@code objc_binary} (or any bundle) being built.
 */

From source file com.google.devtools.build.lib.rules.objc.PlMergeControlBytes.java

/**
 * A byte source that can be used the generate a control file for the tool plmerge.
 */
public final class PlMergeControlBytes extends ByteSource {

    private final NestedSet<Artifact> inputPlists;