kotlin-stdlib / kotlin.io.path / java.nio.file.Path / inputStream inputStream JVM JRE7 1.4 @ExperimentalPathApi fun Path.inputStream( vararg options: OpenOption): InputStream Constructs a new InputStream of this file and returns it as a result. The options parameter determines how the file is opened. If no options are present then it is equivalent to opening the file with the READ option.