public enum STDIO extends Enum<STDIO>
Modifier and Type | Method and Description |
---|---|
int |
fileno() |
boolean |
isJVMDefault(Object stream) |
static boolean |
isSTDIO(int fileno) |
static STDIO |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int fileno()
public static boolean isSTDIO(int fileno)
public boolean isJVMDefault(Object stream)
Copyright © 2001-2015 JRuby. All Rights Reserved.