|
||||||||||
| 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 |
| Nested classes/interfaces inherited from class org.jruby.RubyBasicObject |
|---|
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, internalEncoding, openFile |
| Fields inherited from class org.jruby.RubyObject |
|---|
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, 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, USER8_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, canonicalize, chmod, chmod, chown, chown, close, createFileClass, ctime, ctime, dirname, expand_path, expand_path19, expandUserPath, extname, file, flock, fnmatch, ftype, get_path, getDirOrFileEntry, getEncoding, getFileEntry, getPath, initialize19, inspect, join, lchmod, lchmod, lchown, lchown, link, lstat, lstat, mtime, mtime, openInternal, openInternal, path, path, readlink, realdirpath, realpath, rename, setEncoding, split, splitURI, stat, stat, symlink, sysopenInternal, toString, truncate, truncate, truncate19, umask, unlink, utime |
| Methods inherited from class org.jruby.RubyObject |
|---|
attachToObjectSpace, callInit, callInit, callInit, callInit, callInit, convertToType, createObjectClass, eqlInternal, equalInternal, equals, hashCode, initialize, op_eqq, puts, specificEval |
| 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)
size in class RubyFile
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 | |||||||||