Enum Class STDIO

java.lang.Object
java.lang.Enum<STDIO>
org.jruby.util.io.STDIO
All Implemented Interfaces:
Serializable, Comparable<STDIO>, Constable

public enum STDIO extends Enum<STDIO>
  • Enum Constant Details

    • IN

      public static final STDIO IN
    • OUT

      public static final STDIO OUT
    • ERR

      public static final STDIO ERR
  • Method Details

    • values

      public static STDIO[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static STDIO valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fileno

      public int fileno()
    • isSTDIO

      public static boolean isSTDIO(int fileno)
    • isJVMDefault

      public boolean isJVMDefault(Object stream)