ProcessBuilder.Redirect.Type

public static final enum ProcessBuilder.Redirect.Type
extends Enum<ProcessBuilder.Redirect.Type>

java.lang.Object
   ↳ java.lang.Enum<java.lang.ProcessBuilder.Redirect.Type>
     ↳ java.lang.ProcessBuilder.Redirect.Type


The type of a ProcessBuilder.Redirect.

Summary

Enum values

ProcessBuilder.Redirect.Type  APPEND

The type of redirects returned from Redirect.appendTo(File)

ProcessBuilder.Redirect.Type  INHERIT

The type of Redirect.INHERIT

ProcessBuilder.Redirect.Type  PIPE

The type of Redirect.PIPE

ProcessBuilder.Redirect.Type  READ

The type of redirects returned from Redirect.from(File)

ProcessBuilder.Redirect.Type  WRITE

The type of redirects returned from Redirect.to(File)

Public methods

static ProcessBuilder.Redirect.Type valueOf(String name)
static final Type[] values()

Inherited methods

Enum values

APPEND

added in API level 26
public static final ProcessBuilder.Redirect.Type APPEND

The type of redirects returned from Redirect.appendTo(File).

INHERIT

added in API level 26
public static final ProcessBuilder.Redirect.Type INHERIT

The type of Redirect.INHERIT.

PIPE

added in API level 26
public static final ProcessBuilder.Redirect.Type PIPE

The type of Redirect.PIPE.

READ

added in API level 26
public static final ProcessBuilder.Redirect.Type READ

The type of redirects returned from Redirect.from(File).

WRITE

added in API level 26
public static final ProcessBuilder.Redirect.Type WRITE

The type of redirects returned from Redirect.to(File).

Public methods

valueOf

added in API level 26
public static ProcessBuilder.Redirect.Type valueOf (String name)

Parameters
name String

Returns
ProcessBuilder.Redirect.Type

values

added in API level 26
public static final Type[] values ()

Returns
Type[]