Package com.atlassian.bamboo.io
Class FileInputSupplier
- java.lang.Object
-
- com.google.common.io.ByteSource
-
- com.atlassian.bamboo.io.FileInputSupplier
-
public class FileInputSupplier extends com.google.common.io.ByteSource
Supplies anInputStream
for aFile
-
-
Constructor Summary
Constructors Constructor Description FileInputSupplier(File file)
FileInputSupplier(Supplier<File> fileSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
openStream()
-
-
-
Method Detail
-
openStream
public InputStream openStream() throws IOException
- Specified by:
openStream
in classcom.google.common.io.ByteSource
- Throws:
IOException
-
-