ProcessBuilder.Redirect.From(File) Method

Definition

Creates a redirect that reads standard input from the specified file.

[Android.Runtime.Register("from", "(Ljava/io/File;)Ljava/lang/ProcessBuilder$Redirect;", "", ApiSince=26)]
public static Java.Lang.ProcessBuilder.Redirect From(Java.IO.File file);
[<Android.Runtime.Register("from", "(Ljava/io/File;)Ljava/lang/ProcessBuilder$Redirect;", "", ApiSince=26)>]
static member From : Java.IO.File -> Java.Lang.ProcessBuilder.Redirect

Parameters

file
File

The file used by the redirect.

Returns

A redirect that reads from the specified file.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to