org.jclouds.io
Class ByteStreams2
java.lang.Object
org.jclouds.io.ByteStreams2
@Beta
public class ByteStreams2
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteStreams2
public ByteStreams2()
hashAndClose
public static com.google.common.hash.HashCode hashAndClose(InputStream input,
com.google.common.hash.HashFunction hashFunction)
throws IOException
- Throws:
IOException
toByteArrayAndClose
public static byte[] toByteArrayAndClose(InputStream input)
throws IOException
- Throws:
IOException
asByteSource
@Deprecated
public static com.google.common.io.ByteSource asByteSource(Payload payload)
- Deprecated.
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.