com.atlassian.bamboo.io
Class FileInputSupplier

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

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

Supplies an InputStream for a File


Constructor Summary
FileInputSupplier(java.io.File file)
           
 
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

FileInputSupplier

public FileInputSupplier(java.io.File file)
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.