Package org.jruby
Class RubyFileStat
java.lang.Object
org.jruby.RubyBasicObject
org.jruby.RubyObject
org.jruby.RubyFileStat
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<IRubyObject>
,InstanceVariables
,InternalVariables
,IRubyObject
,CoreObjectType
Implements File::Stat
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jruby.RubyObject
RubyObject.Data
Nested classes/interfaces inherited from class org.jruby.RubyBasicObject
RubyBasicObject.Finalizer
-
Field Summary
FieldsFields inherited from class org.jruby.RubyObject
IVAR_INSPECTING_OBJECT_ALLOCATOR, OBJECT_ALLOCATOR, REIFYING_OBJECT_ALLOCATOR
Fields inherited from class org.jruby.RubyBasicObject
ALL_F, BASICOBJECT_ALLOCATOR, COMPARE_BY_IDENTITY_F, ERR_INSECURE_SET_INST_VAR, FALSE_F, FL_USHIFT, flags, FROZEN_F, IS_OVERLAID_F, metaClass, NEVER, NIL_F, REFINED_MODULE_F, STAMP_OFFSET, TAINTED_F, UNDEF, USER0_F, USER1_F, USER2_F, USER3_F, USER4_F, USER5_F, USER6_F, USER7_F, USER8_F, USER9_F, USERA_F, VAR_TABLE_OFFSET, varTable, varTableStamp
Fields inherited from interface org.jruby.runtime.builtin.IRubyObject
NULL_ARRAY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatime()
Deprecated.atime
(ThreadContext context) Deprecated.birthtime
(ThreadContext context) blksize()
Deprecated.Deprecated.blockdev_p
(ThreadContext context) blocks()
Deprecated.blocks
(ThreadContext context) blockSize
(ThreadContext context) Deprecated.chardev_p
(ThreadContext context) cmp
(IRubyObject other) Deprecated.cmp
(ThreadContext context, IRubyObject other) static RubyClass
createFileStatClass
(ThreadContext context, RubyClass Object, RubyClass File, RubyModule Comparable) ctime()
Deprecated.ctime
(ThreadContext context) dev()
Deprecated.dev
(ThreadContext context) devMajor()
Deprecated.devMajor
(ThreadContext context) devMinor()
Deprecated.devMinor
(ThreadContext context) Deprecated.directory_p
(ThreadContext context) Deprecated.executable_p
(ThreadContext context) Deprecated.executableReal_p
(ThreadContext context) file_p()
Deprecated.file_p
(ThreadContext context) ftype()
Deprecated.ftype
(ThreadContext context) gid()
Deprecated.gid
(ThreadContext context) Deprecated.group_owned_p
(ThreadContext context) initialize
(IRubyObject fname, Block unusedBlock) Deprecated.initialize
(ThreadContext context, IRubyObject fname, Block unusedBlock) initialize_copy
(ThreadContext context, IRubyObject original) Initializes this object as a copy of the original, that is the parameter to this object.initialize19
(IRubyObject fname, Block unusedBlock) Deprecated.ino()
Deprecated.ino
(ThreadContext context) inspect
(ThreadContext context) Returns a string containing a human-readable representation of obj.mode()
Deprecated.mode
(ThreadContext context) mtime()
Deprecated.mtime
(ThreadContext context) mtimeEquals
(IRubyObject other) Deprecated.mtimeEquals
(ThreadContext context, IRubyObject other) mtimeGreaterThan
(IRubyObject other) Deprecated.mtimeGreaterThan
(ThreadContext context, IRubyObject other) mtimeLessThan
(IRubyObject other) Deprecated.mtimeLessThan
(ThreadContext context, IRubyObject other) static RubyFileStat
newFileStat
(Ruby runtime, int fileno) static RubyFileStat
newFileStat
(Ruby runtime, FileDescriptor descriptor) static RubyFileStat
newFileStat
(Ruby runtime, String filename, boolean lstat) nlink()
Deprecated.nlink
(ThreadContext context) owned_p()
Deprecated.owned_p
(ThreadContext context) pipe_p()
Deprecated.pipe_p
(ThreadContext context) rdev()
Deprecated.rdev
(ThreadContext context) Deprecated.rdevMajor
(ThreadContext context) Deprecated.rdevMinor
(ThreadContext context) Deprecated.readable_p
(ThreadContext context) Deprecated.readableReal_p
(ThreadContext context) setgid_p()
Deprecated.setgid_p
(ThreadContext context) setuid_p()
Deprecated.setuid_p
(ThreadContext context) size()
Deprecated.size
(ThreadContext context) size_p()
Deprecated.size_p
(ThreadContext context) socket_p()
Deprecated.socket_p
(ThreadContext context) sticky_p()
Deprecated.sticky_p
(ThreadContext context) Deprecated.symlink_p
(ThreadContext context) uid()
Deprecated.uid
(ThreadContext context) worldReadable
(ThreadContext context) worldWritable
(ThreadContext context) Deprecated.writable_p
(ThreadContext context) Deprecated.writableReal_p
(ThreadContext context) zero_p()
Deprecated.zero_p
(ThreadContext context) Methods inherited from class org.jruby.RubyObject
attachToObjectSpace, callInit, callInit, callInit, callInit, callInit, callInit, callInit, callInit, callInit, callInit, convertToType, dig, dig1, dig2, eqlInternal, equalInternal, equals, finishObjectClass, getNativeClassIndex, hashCode, inspect, op_eqq, puts, specificEval, toRubyString, toString
Methods inherited from class org.jruby.RubyBasicObject
addFinalizer, addFinalizer, anyToString, asJavaString, asString, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callSuper, checkArrayType, checkCallMethod, checkCallMethod, checkFrozen, checkStringType, cloneSetup, compareTo, convertToArray, convertToFloat, convertToHash, convertToInteger, convertToInteger, convertToInteger, convertToString, copyInstanceVariablesInto, copySpecialInstanceVariables, dataGetStruct, dataGetStructChecked, dataWrapStruct, decode, display, dup, dupFinalizer, dupSetup, ensureInstanceVariablesSettable, eql, eql_p, eql_p, equal_p, evalUnder, extend, fastGetInstanceVariable, fastGetInternalVariable, fastHasInstanceVariable, fastHasInternalVariable, fastSetInstanceVariable, fastSetInternalVariable, finishBasicObjectClass, forEachInstanceVariable, forEachInstanceVariableName, freeze, frozen_p, getCurrentContext, getFFIHandle, getFlag, getInstanceEvalClass, getInstanceEvalClass, getInstanceVariable, getInstanceVariableList, getInstanceVariableNameList, getInstanceVariables, getInternalVariable, getInternalVariables, getJavaClass, getMarshalVariableList, getMetaClass, getMetaClass, getNativeHandle, getNativeTypeIndex, getObjectId, getRuntime, getSingletonClass, getSingletonClassClone, getSingletonClassCloneAndAttach, getSingletonClassCloneAndAttach, getType, getVariable, getVariableCount, getVariableList, getVariableNameList, hash, hash, hashyInspect, hasInstanceVariable, hasInstanceVariables, hasInternalVariable, hasVariables, id, infectBy, initialize, initialize_copy, inspect, inspectHashCode, instance_eval, instance_eval, instance_eval, instance_eval, instance_eval, instance_exec, instance_of_p, instance_variable_defined_p, instance_variable_get, instance_variable_set, instance_variables, isBuiltin, isClass, isFalse, isFrozen, isImmediate, isModule, isNil, isSpecialConst, isSpecialObject, isTaint, isTrue, isUntrusted, kind_of_p, makeMetaClass, makeMetaClass, makeMetaClassBootstrap, method, method, method, method_missing, methods, methods, nil_p, nonFixnumHashCode, nonFixnumHashCode, OBJ_INIT_COPY, objInitCopy, op_cmp, op_equal, op_match, op_not, op_not_equal, op_not_match, private_methods, protected_methods, public_methods, rbClone, rbClone, rbInspect, remove_instance_variable, removeFinalizers, removeInstanceVariable, removeInternalVariable, respond_to_p, respond_to_p, respondsTo, respondsToMissing, respondsToMissing, send, send, send, send, send, setFFIHandle, setFlag, setFrozen, setInstanceVariable, setInternalVariable, setMetaClass, setNativeHandle, setTaint, setUntrusted, setVariable, singleton_method, singleton_method, singleton_method_added, singleton_method_removed, singleton_method_undefined, singleton_methods, singletonClass, specificEval, specificEval, specificEval, specificEval, syncVariables, syncVariables, taint, taint, tainted_p, testFrozen, testFrozen, to_a, to_a, to_s, to_s, toJava, trust, type, untaint, untrust, untrusted_p, validateInstanceVariable, validateInstanceVariable, validateInstanceVariable, variableTableContains, variableTableFastContains, variableTableFastFetch, variableTableFastStore, variableTableFetch, variableTableRemove, variableTableStore, variableTableSync, yieldUnder, yieldUnder
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jruby.runtime.builtin.IRubyObject
checkStringType19, dup, marshalLiveVariables
-
Field Details
-
BILLION
public static final int BILLION- See Also:
-
-
Constructor Details
-
RubyFileStat
-
-
Method Details
-
createFileStatClass
public static RubyClass createFileStatClass(ThreadContext context, RubyClass Object, RubyClass File, RubyModule Comparable) -
newFileStat
-
newFileStat
-
newFileStat
-
initialize19
Deprecated. -
initialize
Deprecated. -
initialize
-
atime
-
atime
Deprecated. -
blockSize
-
blksize
Deprecated. -
blockdev_p
-
blockdev_p
Deprecated. -
blocks
-
blocks
Deprecated. -
chardev_p
-
chardev_p
Deprecated. -
cmp
-
cmp
Deprecated. -
ctime
-
ctime
Deprecated. -
birthtime
-
birthtime
Deprecated. -
dev
-
dev
Deprecated. -
devMajor
-
devMajor
Deprecated. -
devMinor
-
devMinor
Deprecated. -
directory_p
-
directory_p
Deprecated. -
executable_p
-
executable_p
Deprecated. -
executableReal_p
-
executableReal_p
Deprecated. -
file_p
-
file_p
Deprecated. -
ftype
-
ftype
Deprecated. -
gid
-
gid
Deprecated. -
group_owned_p
-
group_owned_p
Deprecated. -
initialize_copy
Description copied from class:RubyBasicObject
Initializes this object as a copy of the original, that is the parameter to this object. Will make sure that the argument actually has the same real class as this object. It shouldn't be possible to initialize an object with something totally different.- Overrides:
initialize_copy
in classRubyBasicObject
- Parameters:
context
- the thread contextoriginal
- the original- Returns:
- a copy unless the same thing
-
ino
-
ino
Deprecated. -
inspect
Description copied from class:RubyBasicObject
Returns a string containing a human-readable representation of obj. If not overridden, uses theto_s
method to generate the string. [ 1, 2, 3..4, 'five' ].inspect #=> "[1, 2, 3..4, \"five\"]" Time.new.inspect #=> "Wed Apr 09 08:54:39 CDT 2003"- Specified by:
inspect
in interfaceIRubyObject
- Overrides:
inspect
in classRubyBasicObject
-
uid
-
uid
Deprecated. -
mode
-
mode
Deprecated. -
mtime
-
mtime
Deprecated. -
mtimeEquals
-
mtimeEquals
Deprecated. -
mtimeGreaterThan
-
mtimeGreaterThan
Deprecated. -
mtimeLessThan
-
mtimeLessThan
Deprecated. -
nlink
-
nlink
Deprecated. -
owned_p
-
owned_p
Deprecated. -
pipe_p
-
pipe_p
Deprecated. -
rdev
-
rdev
Deprecated. -
rdevMajor
-
rdevMajor
Deprecated. -
rdevMinor
-
rdevMinor
Deprecated. -
readable_p
-
readable_p
Deprecated. -
readableReal_p
-
readableReal_p
Deprecated. -
setgid_p
-
setgid_p
Deprecated. -
setuid_p
-
setuid_p
Deprecated. -
size
-
size
Deprecated. -
size_p
-
size_p
Deprecated. -
socket_p
-
socket_p
Deprecated. -
sticky_p
-
sticky_p
Deprecated. -
symlink_p
-
symlink_p
Deprecated. -
writable_p
-
writable_p
Deprecated. -
writableReal_p
-
writableReal_p
Deprecated. -
zero_p
-
zero_p
Deprecated. -
worldReadable
-
worldWritable
-