org.jclouds.io
Class ByteSources

java.lang.Object
  extended by org.jclouds.io.ByteSources

@Beta
public class ByteSources
extends Object

functions related to or replacing those in ByteSource

Author:
Adrian Cole

Constructor Summary
ByteSources()
           
 
Method Summary
static com.google.common.io.ByteSource asByteSource(InputStream in)
          always returns the same stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteSources

public ByteSources()
Method Detail

asByteSource

public static com.google.common.io.ByteSource asByteSource(InputStream in)
always returns the same stream

Parameters:
in - stream to always return


Copyright © 2009-2013 jclouds. All Rights Reserved.