org.jruby.util
Class IOModes
java.lang.Object
org.jruby.util.IOModes
- All Implemented Interfaces:
- java.lang.Cloneable
- public class IOModes
- extends java.lang.Object
- implements java.lang.Cloneable
- Author:
- enebo
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RDONLY
public static final int RDONLY
- See Also:
- Constant Field Values
WRONLY
public static final int WRONLY
- See Also:
- Constant Field Values
RDWR
public static final int RDWR
- See Also:
- Constant Field Values
CREAT
public static final int CREAT
- See Also:
- Constant Field Values
EXCL
public static final int EXCL
- See Also:
- Constant Field Values
NOCTTY
public static final int NOCTTY
- See Also:
- Constant Field Values
TRUNC
public static final int TRUNC
- See Also:
- Constant Field Values
APPEND
public static final int APPEND
- See Also:
- Constant Field Values
NONBLOCK
public static final int NONBLOCK
- See Also:
- Constant Field Values
BINARY
public static final int BINARY
- See Also:
- Constant Field Values
IOModes
public IOModes(Ruby runtime)
IOModes
public IOModes(Ruby runtime,
java.lang.String modesString)
IOModes
public IOModes(Ruby runtime,
long modes)
clone
public java.lang.Object clone()
isReadable
public boolean isReadable()
isWriteable
public boolean isWriteable()
isBinary
public boolean isBinary()
isWritable
public boolean isWritable()
isAppendable
public boolean isAppendable()
shouldTruncate
public boolean shouldTruncate()
checkSubsetOf
public void checkSubsetOf(IOModes superset)
toString
public java.lang.String toString()
convertModesStringToModesInt
public static int convertModesStringToModesInt(Ruby runtime,
java.lang.String modesString)
Copyright © 2002-2007 JRuby Team. All Rights Reserved.