Enum STDIO

java.lang.Object
java.lang.Enum<STDIO>
org.jruby.util.io.STDIO
All Implemented Interfaces:
Serializable, Comparable<STDIO>, java.lang.constant.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
  • Constructor Details

    • STDIO

      private STDIO()
  • Method Details

    • values

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

      public static STDIO valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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)