Share via


ProcessBuilder.RedirectInput Method

Definition

Overloads

RedirectInput()

Returns this process builder's standard input source.

RedirectInput(File)

Sets this process builder's standard input source to a file.

RedirectInput(ProcessBuilder+Redirect)

Returns this process builder's standard input source.

RedirectInput()

Returns this process builder's standard input source.

[Android.Runtime.Register("redirectInput", "()Ljava/lang/ProcessBuilder$Redirect;", "", ApiSince=26)]
public Java.Lang.ProcessBuilder.Redirect? RedirectInput ();
[<Android.Runtime.Register("redirectInput", "()Ljava/lang/ProcessBuilder$Redirect;", "", ApiSince=26)>]
member this.RedirectInput : unit -> Java.Lang.ProcessBuilder.Redirect

Returns

this process builder's standard input source

Attributes

Remarks

Java documentation for java.lang.ProcessBuilder.redirectInput().

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

RedirectInput(File)

Sets this process builder's standard input source to a file.

[Android.Runtime.Register("redirectInput", "(Ljava/io/File;)Ljava/lang/ProcessBuilder;", "", ApiSince=26)]
public Java.Lang.ProcessBuilder? RedirectInput (Java.IO.File? file);
[<Android.Runtime.Register("redirectInput", "(Ljava/io/File;)Ljava/lang/ProcessBuilder;", "", ApiSince=26)>]
member this.RedirectInput : Java.IO.File -> Java.Lang.ProcessBuilder

Parameters

file
File

the new standard input source

Returns

this process builder

Attributes

Remarks

Sets this process builder's standard input source to a file.

This is a convenience method. An invocation of the form redirectInput(file) behaves in exactly the same way as the invocation #redirectInput(Redirect) redirectInput(Redirect.from(file)).

Added in 1.7.

Java documentation for java.lang.ProcessBuilder.redirectInput(java.io.File).

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

RedirectInput(ProcessBuilder+Redirect)

Returns this process builder's standard input source.

[Android.Runtime.Register("redirectInput", "(Ljava/lang/ProcessBuilder$Redirect;)Ljava/lang/ProcessBuilder;", "", ApiSince=26)]
public Java.Lang.ProcessBuilder? RedirectInput (Java.Lang.ProcessBuilder.Redirect? source);
[<Android.Runtime.Register("redirectInput", "(Ljava/lang/ProcessBuilder$Redirect;)Ljava/lang/ProcessBuilder;", "", ApiSince=26)>]
member this.RedirectInput : Java.Lang.ProcessBuilder.Redirect -> Java.Lang.ProcessBuilder

Parameters

Returns

this process builder's standard input source

Attributes

Remarks

Java documentation for java.lang.ProcessBuilder.redirectInput().

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