@Beta public class InputSuppliers extends Object
InputSupplier
Constructor and Description |
---|
InputSuppliers() |
Modifier and Type | Method and Description |
---|---|
static org.jclouds.io.InputSuppliers.Base64InputSupplier |
base64Decoder(com.google.common.io.InputSupplier<? extends InputStream> supplier)
base64 decodes bytes from the supplied supplier as they are read.
|
static org.jclouds.io.InputSuppliers.Base64InputSupplier |
base64Encoder(com.google.common.io.InputSupplier<? extends InputStream> supplier)
base64 encodes bytes from the supplied supplier as they are read.
|
static com.google.common.io.InputSupplier<? extends InputStream> |
of(byte[] in) |
static com.google.common.io.InputSupplier<? extends InputStream> |
of(InputStream in) |
static com.google.common.io.InputSupplier<? extends InputStream> |
of(String in) |
public static org.jclouds.io.InputSuppliers.Base64InputSupplier base64Encoder(com.google.common.io.InputSupplier<? extends InputStream> supplier) throws IOException
IOException
public static org.jclouds.io.InputSuppliers.Base64InputSupplier base64Decoder(com.google.common.io.InputSupplier<? extends InputStream> supplier) throws IOException
IOException
public static com.google.common.io.InputSupplier<? extends InputStream> of(InputStream in)
public static com.google.common.io.InputSupplier<? extends InputStream> of(byte[] in)
public static com.google.common.io.InputSupplier<? extends InputStream> of(String in)
Copyright © 2009-2013 jclouds. All Rights Reserved.