public static enum ProcessBuilder.Redirect.Type extends Enum<ProcessBuilder.Redirect.Type>
ProcessBuilder.Redirect
のタイプです。列挙型定数と説明 |
---|
APPEND
Redirect.appendTo(File) から返されるリダイレクトのタイプです。 |
INHERIT
Redirect.INHERIT のタイプです。 |
PIPE
Redirect.PIPE のタイプです。 |
READ
Redirect.from(File) から返されるリダイレクトのタイプです。 |
WRITE
Redirect.to(File) から返されるリダイレクトのタイプです。 |
修飾子と型 | メソッドと説明 |
---|---|
static ProcessBuilder.Redirect.Type |
valueOf(String name)
指定された名前を持つ、この型の列挙型定数を返します。
|
static ProcessBuilder.Redirect.Type[] |
values()
この列挙型の定数を含む配列を、宣言されている順序で返します。
|
public static final ProcessBuilder.Redirect.Type PIPE
Redirect.PIPE
のタイプです。public static final ProcessBuilder.Redirect.Type INHERIT
Redirect.INHERIT
のタイプです。public static final ProcessBuilder.Redirect.Type READ
Redirect.from(File)
から返されるリダイレクトのタイプです。public static final ProcessBuilder.Redirect.Type WRITE
Redirect.to(File)
から返されるリダイレクトのタイプです。public static final ProcessBuilder.Redirect.Type APPEND
Redirect.appendTo(File)
から返されるリダイレクトのタイプです。public static ProcessBuilder.Redirect.Type[] values()
for (ProcessBuilder.Redirect.Type c : ProcessBuilder.Redirect.Type.values()) System.out.println(c);
public static ProcessBuilder.Redirect.Type valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- 指定された名前を持つ定数をこの列挙型が持っていない場合NullPointerException
- 引数がnullの場合 バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。