com.atlassian.bamboo.io
Class FileInputSupplier

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

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

Supplies an InputStream for a File


Constructor Summary
FileInputSupplier(File file)
           
FileInputSupplier(com.google.common.base.Supplier<File> fileSupplier)
           
 
Method Summary
 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(File file)

FileInputSupplier

public FileInputSupplier(com.google.common.base.Supplier<File> fileSupplier)
Method Detail

getInput

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


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.