Top Description Fields Constructors Methods
org.jruby

public Class RubyFileStat

extends RubyObject
Class Inheritance
Annotations
@JRubyClass
name:File::Stat
include:Comparable
Imports
java.io.FileDescriptor, java.nio.file.attribute.FileTime, jnr.posix.NanosecondFileStat, .FileStat, org.jruby.anno.JRubyClass, .JRubyMethod, jnr.posix.util.Platform, org.jruby.runtime.Block, .ThreadContext, .Visibility, org.jruby.runtime.builtin.IRubyObject, org.jruby.util.FileResource, .JRubyFile

Implements File::Stat

Field Summary

Modifier and TypeField and Description
public static final int
private FileResource
private static final int
private static final int
private static final int
private static final long
private FileStat
Inherited from org.jruby.RubyObject:
IVAR_INSPECTING_OBJECT_ALLOCATOROBJECT_ALLOCATORREIFYING_OBJECT_ALLOCATOR

Constructor Summary

AccessConstructor and Description
protected
RubyFileStat(Ruby runtime, RubyClass clazz)

Method Summary

Modifier and TypeMethod and Description
public IRubyObject
public IRubyObject
atime()
Deprecated

public IRubyObject
public IRubyObject
birthtime()
Deprecated

public RubyFixnum
blksize()
Deprecated

public IRubyObject
public IRubyObject
blockdev_p()
Deprecated

public IRubyObject
public IRubyObject
blocks()
Deprecated

public IRubyObject
public IRubyObject
public IRubyObject
chardev_p()
Deprecated

private void
public IRubyObject
cmp(ThreadContext context, IRubyObject other)

public IRubyObject
cmp(IRubyObject other)
Deprecated

public static RubyClass
createFileStatClass(ThreadContext context, RubyClass Object, RubyClass File, RubyModule Comparable)

public IRubyObject
public IRubyObject
ctime()
Deprecated

public IRubyObject
dev(ThreadContext context)

public IRubyObject
dev()
Deprecated

public IRubyObject
public IRubyObject
devMajor()
Deprecated

public IRubyObject
public IRubyObject
devMinor()
Deprecated

public RubyBoolean
public RubyBoolean
directory_p()
Deprecated

public IRubyObject
public IRubyObject
executable_p()
Deprecated

public IRubyObject
public IRubyObject
executableReal_p()
Deprecated

public RubyBoolean
public RubyBoolean
file_p()
Deprecated

public RubyString
public RubyString
ftype()
Deprecated

private IRubyObject
getWorldMode(ThreadContext context, int mode)

public IRubyObject
gid(ThreadContext context)

public IRubyObject
gid()
Deprecated

public IRubyObject
public IRubyObject
group_owned_p()
Deprecated

public IRubyObject
initialize(IRubyObject fname, Block unusedBlock)
Deprecated since 10.0.

public IRubyObject
initialize(ThreadContext context, IRubyObject fname, Block unusedBlock)

public IRubyObject
initialize19(IRubyObject fname, Block unusedBlock)
Deprecated

public IRubyObject
initialize_copy(ThreadContext
the thread context
context
,
IRubyObject
the original
original
)

Overrides org.jruby.RubyBasicObject.initialize_copy.

Initializes this object as a copy of the original, that is the parameter to this object.

public IRubyObject
ino(ThreadContext context)

public IRubyObject
ino()
Deprecated

public IRubyObject
inspect(ThreadContext context)

Overrides org.jruby.RubyBasicObject.inspect.

Overrides default org.jruby.runtime.builtin.IRubyObject.inspect.

Returns a string containing a human-readable representation of obj.

public IRubyObject
public IRubyObject
mode()
Deprecated

public IRubyObject
public IRubyObject
mtime()
Deprecated

public IRubyObject
public IRubyObject
mtimeEquals(IRubyObject other)
Deprecated

public IRubyObject
public IRubyObject
mtimeGreaterThan(IRubyObject other)
Deprecated

public IRubyObject
public IRubyObject
mtimeLessThan(IRubyObject other)
Deprecated

public static RubyFileStat
newFileStat(Ruby runtime, String filename, boolean lstat)

public static RubyFileStat
newFileStat(Ruby runtime, FileDescriptor descriptor)

public static RubyFileStat
newFileStat(Ruby runtime, int fileno)

public IRubyObject
public IRubyObject
owned_p()
Deprecated

public IRubyObject
public IRubyObject
pipe_p()
Deprecated

public IRubyObject
public IRubyObject
rdev()
Deprecated

public IRubyObject
public IRubyObject
rdevMajor()
Deprecated

public IRubyObject
public IRubyObject
rdevMinor()
Deprecated

public IRubyObject
public IRubyObject
readable_p()
Deprecated

public IRubyObject
public IRubyObject
readableReal_p()
Deprecated

public IRubyObject
public IRubyObject
setgid_p()
Deprecated

public IRubyObject
public IRubyObject
setuid_p()
Deprecated

private void
setup(FileDescriptor descriptor)

private void
setup(int fileno)

private void
setup(String filename, boolean lstat)

public IRubyObject
public IRubyObject
size()
Deprecated

public IRubyObject
public IRubyObject
size_p()
Deprecated

private long
public IRubyObject
public IRubyObject
socket_p()
Deprecated

public IRubyObject
public IRubyObject
sticky_p()
Deprecated

public IRubyObject
uid(ThreadContext context)

public IRubyObject
uid()
Deprecated

public IRubyObject
public IRubyObject
public IRubyObject
public IRubyObject
writable_p()
Deprecated

public IRubyObject
public IRubyObject
writableReal_p()
Deprecated

public IRubyObject
public IRubyObject
zero_p()
Deprecated

Inherited from org.jruby.RubyObject:
attachToObjectSpacecallInitcallInitcallInitcallInitcallInitcallInitcallInitcallInitcallInitcallInitconvertToTypedigdig1dig2eqlInternalequalInternalequalsfinishObjectClassgetNativeClassIndexhashCodeinspectop_eqqputsspecificEvaltoRubyStringtoString