public final class FileAsInput extends Object implements Input
There is no thread-safety guarantee.
Input.NoNulls
Constructor and Description |
---|
FileAsInput(File src)
Ctor.
|
FileAsInput(Scalar<File> src)
Ctor.
|
FileAsInput(UncheckedScalar<File> src)
Ctor.
|
public FileAsInput(File src)
src
- The filepublic FileAsInput(UncheckedScalar<File> src)
src
- The filepublic InputStream stream() throws FileNotFoundException
Input
stream
in interface Input
FileNotFoundException
Copyright © 2017 Cactoos. All rights reserved.