Modifier and Type | Method and Description |
---|---|
int |
fileno() |
boolean |
isJVMDefault(java.lang.Object stream) |
static boolean |
isSTDIO(int fileno) |
static STDIO |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static STDIO[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final STDIO IN
public static final STDIO OUT
public static final STDIO ERR
public static STDIO[] values()
for (STDIO c : STDIO.values()) System.out.println(c);
public static STDIO valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int fileno()
public static boolean isSTDIO(int fileno)
public boolean isJVMDefault(java.lang.Object stream)
Copyright © 2001-2018 JRuby. All Rights Reserved.