com.atlassian.bamboo.io
Class FileInputSupplier
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileInputSupplier
public FileInputSupplier(File file)
FileInputSupplier
public FileInputSupplier(com.google.common.base.Supplier<File> fileSupplier)
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.