org.jclouds.io
Class InputSuppliers
java.lang.Object
org.jclouds.io.InputSuppliers
@Beta
public class InputSuppliers
- extends Object
functions related to or replacing those in InputSupplier
- Author:
- Adrian Cole
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputSuppliers
public InputSuppliers()
base64Encoder
public static org.jclouds.io.InputSuppliers.Base64InputSupplier base64Encoder(com.google.common.io.InputSupplier<? extends InputStream> supplier)
throws IOException
- base64 encodes bytes from the supplied supplier as they are read.
- Throws:
IOException
base64Decoder
public static org.jclouds.io.InputSuppliers.Base64InputSupplier base64Decoder(com.google.common.io.InputSupplier<? extends InputStream> supplier)
throws IOException
- base64 decodes bytes from the supplied supplier as they are read.
- Throws:
IOException
of
public static com.google.common.io.InputSupplier<? extends InputStream> of(InputStream in)
of
public static com.google.common.io.InputSupplier<? extends InputStream> of(byte[] in)
of
public static com.google.common.io.InputSupplier<? extends InputStream> of(String in)
Copyright © 2009-2011 jclouds. All Rights Reserved.