|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.RubyBasicObject
org.jruby.RubyObject
org.jruby.RubyIO
org.jruby.RubyFile
org.jruby.RubyTempfile
public class RubyTempfile
An implementation of tempfile.rb in Java.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jruby.RubyFile |
---|
RubyFile.Constants |
Nested classes/interfaces inherited from class org.jruby.RubyObject |
---|
RubyObject.Data, RubyObject.ObjectMethods |
Nested classes/interfaces inherited from class org.jruby.RubyBasicObject |
---|
RubyBasicObject.BasicObjectMethods, RubyBasicObject.Finalizer |
Field Summary |
---|
Fields inherited from class org.jruby.RubyFile |
---|
LOCK_EX, LOCK_NB, LOCK_SH, LOCK_UN, path |
Fields inherited from class org.jruby.RubyIO |
---|
blockingThreads, externalEncoding, filenoIndex, internalEncoding, openFile |
Fields inherited from class org.jruby.RubyObject |
---|
OBJECT_ALLOCATOR |
Fields inherited from class org.jruby.RubyBasicObject |
---|
ALL_F, COMPARE_BY_IDENTITY_F, ERR_INSECURE_SET_INST_VAR, FALSE_F, FL_USHIFT, flags, FROZEN_F, metaClass, NEVER, NIL_F, TAINTED_F, UNDEF, UNTRUSTED_F, USER0_F, USER1_F, USER2_F, USER3_F, USER4_F, USER5_F, USER6_F, USER7_F |
Fields inherited from interface org.jruby.runtime.builtin.IRubyObject |
---|
NULL_ARRAY |
Constructor Summary | |
---|---|
RubyTempfile(Ruby runtime,
RubyClass type)
|
Method Summary | |
---|---|
IRubyObject |
_close(ThreadContext context)
|
IRubyObject |
close_bang(ThreadContext context)
|
IRubyObject |
close(ThreadContext context,
IRubyObject[] args,
Block block)
|
static RubyClass |
createTempfileClass(Ruby runtime)
|
IRubyObject |
initialize(IRubyObject[] args,
Block block)
|
IRubyObject |
make_tmpname(ThreadContext context,
IRubyObject basename,
IRubyObject n,
Block block)
Compatibility with Tempfile#make_tmpname(basename, n) in MRI |
IRubyObject |
open()
|
static IRubyObject |
open(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
|
IRubyObject |
size(ThreadContext context)
|
IRubyObject |
unlink(ThreadContext context)
|
Methods inherited from class org.jruby.RubyFile |
---|
absolute_path, atime, atime, basename, chmod, chmod, chown, chown, close, createFileClass, ctime, ctime, dirname, expand_path, expandUserPath, extname, flock, fnmatch, ftype, get_path, getEncoding, getPath, initialize19, inspect, join, lchmod, lchmod, lchown, lchown, link, lstat, lstat, mtime, mtime, openInternal, openInternal, path, path, readlink, rename, split, stat, stat, symlink, sysopenInternal, toString, truncate, truncate, umask, unlink, utime |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RubyTempfile(Ruby runtime, RubyClass type)
Method Detail |
---|
public static RubyClass createTempfileClass(Ruby runtime)
public IRubyObject initialize(IRubyObject[] args, Block block)
initialize
in class RubyFile
public IRubyObject make_tmpname(ThreadContext context, IRubyObject basename, IRubyObject n, Block block)
public IRubyObject open()
public IRubyObject _close(ThreadContext context)
public IRubyObject close(ThreadContext context, IRubyObject[] args, Block block)
public IRubyObject close_bang(ThreadContext context)
public IRubyObject unlink(ThreadContext context)
public IRubyObject size(ThreadContext context)
public static IRubyObject open(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |