com.atlassian.bamboo.io
Class ByteArrayInputSupplier

java.lang.Object
  extended by com.atlassian.bamboo.io.ByteArrayInputSupplier
All Implemented Interfaces:
com.google.common.io.InputSupplier<java.io.InputStream>

public class ByteArrayInputSupplier
extends java.lang.Object
implements com.google.common.io.InputSupplier<java.io.InputStream>

Supplies an InputStream for a Byte array


Constructor Summary
ByteArrayInputSupplier(byte[] bytes)
           
 
Method Summary
 java.io.InputStream getInput()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteArrayInputSupplier

public ByteArrayInputSupplier(byte[] bytes)
Method Detail

getInput

public java.io.InputStream getInput()
                             throws java.io.IOException
Specified by:
getInput in interface com.google.common.io.InputSupplier<java.io.InputStream>
Throws:
java.io.IOException


Copyright © 2012 Atlassian. All Rights Reserved.