Logo Search packages:      
Sourcecode: jruby version File versions  Download package

Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | Package Functions | Static Package Functions | Private Member Functions | Private Attributes | Static Private Attributes

org::jruby::RubyTempfile Class Reference

Inheritance diagram for org::jruby::RubyTempfile:
Inheritance graph
[legend]
Collaboration diagram for org::jruby::RubyTempfile:
Collaboration graph
[legend]

List of all members.

Classes

class  Reaper

Public Member Functions

IRubyObject _close (ThreadContext context)
synchronized void addBlockingThread (RubyThread thread)
void addFinalizer (IRubyObject f)
IRubyObject anyToString ()
String asJavaString ()
RubyString asString ()
IRubyObject atime (ThreadContext context)
void attachToObjectSpace ()
IRubyObject binmode ()
IRubyObject bytes (final ThreadContext context)
final void callInit (IRubyObject[] args, Block block)
final IRubyObject callMethod (ThreadContext context, String name)
final IRubyObject callMethod (ThreadContext context, String name, IRubyObject arg)
final IRubyObject callMethod (ThreadContext context, String name, IRubyObject[] args)
final IRubyObject callMethod (String name, IRubyObject...args)
final IRubyObject callMethod (String name)
final IRubyObject callMethod (ThreadContext context, String name, IRubyObject[] args, Block block)
final IRubyObject callMethod (ThreadContext context, int methodIndex, String name)
final IRubyObject callMethod (ThreadContext context, int methodIndex, String name, IRubyObject arg)
IRubyObject callSuper (ThreadContext context, IRubyObject[] args, Block block)
IRubyObject chars19 (final ThreadContext context, final Block block)
IRubyObject checkArrayType ()
final IRubyObject checkCallMethod (ThreadContext context, String name)
IRubyObject checkStringType ()
IRubyObject checkStringType19 ()
IRubyObject chmod (ThreadContext context, IRubyObject arg)
IRubyObject chown (ThreadContext context, IRubyObject arg1, IRubyObject arg2)
IRubyObject close (ThreadContext context, IRubyObject[] args, Block block)
IRubyObject close ()
IRubyObject close_bang (ThreadContext context)
IRubyObject close_read (ThreadContext context)
IRubyObject close_write (ThreadContext context)
RubyBoolean closed_p (ThreadContext context)
int compareTo (IRubyObject other)
RubyArray convertToArray ()
RubyFloat convertToFloat ()
RubyHash convertToHash ()
RubyInteger convertToInteger ()
RubyInteger convertToInteger (int methodIndex, String convertMethod)
RubyInteger convertToInteger (String convertMethod)
RubyString convertToString ()
final IRubyObject convertToType (RubyClass target, int convertMethodIndex)
void copyInstanceVariablesInto (final InstanceVariables other)
void copyInstanceVariablesInto (InstanceVariables other)
void copySpecialInstanceVariables (IRubyObject clone)
IRubyObject ctime (ThreadContext context)
IRubyObject ctl (Ruby runtime, IRubyObject cmd, IRubyObject arg)
synchronized Object dataGetStruct ()
synchronized Object dataGetStructChecked ()
synchronized void dataWrapStruct (Object obj)
IRubyObject display (ThreadContext context, IRubyObject[] args)
IRubyObject dup ()
IRubyObject each19 (final ThreadContext context, IRubyObject[]args, final Block block)
IRubyObject each_byte (ThreadContext context, Block block)
IRubyObject each_byte19 (final ThreadContext context, final Block block)
IRubyObject each_char (final ThreadContext context, final Block block)
IRubyObject each_char19 (final ThreadContext context, final Block block)
RubyIO each_line (ThreadContext context, IRubyObject[] args, Block block)
IRubyObject each_line19 (final ThreadContext context, IRubyObject[]args, final Block block)
RubyBoolean eof_p (ThreadContext context)
boolean eql (IRubyObject other)
IRubyObject eql_p (IRubyObject obj)
IRubyObject equal_p (ThreadContext context, IRubyObject obj)
IRubyObject equal_p19 (ThreadContext context, IRubyObject other)
boolean equals (Object other)
IRubyObject evalUnder (final ThreadContext context, RubyModule under, IRubyObject src, IRubyObject file, IRubyObject line)
IRubyObject evalUnder (final ThreadContext context, RubyModule under, RubyString src, String file, int line)
IRubyObject extend (IRubyObject[] args)
IRubyObject external_encoding (ThreadContext context)
IRubyObject fastGetInstanceVariable (String internedName)
Object fastGetInternalVariable (String internedName)
boolean fastHasInstanceVariable (String internedName)
boolean fastHasInternalVariable (String internedName)
IRubyObject fastSetInstanceVariable (String internedName, IRubyObject value)
void fastSetInternalVariable (String internedName, Object value)
IRubyObject fcntl (ThreadContext context, IRubyObject cmd)
IRubyObject fcntl (ThreadContext context, IRubyObject cmd, IRubyObject arg)
RubyFixnum fileno (ThreadContext context)
IRubyObject flock (ThreadContext context, IRubyObject lockingConstant)
RubyIO flush ()
IRubyObject freeze (ThreadContext context)
RubyBoolean frozen_p (ThreadContext context)
RubyFixnum fsync (ThreadContext context)
boolean getBlocking ()
IRubyObject getc ()
Channel getChannel ()
ChannelDescriptor getDescriptorByFileno (int aFileno)
Encoding getEncoding ()
final boolean getFlag (int flag)
Stream getHandler ()
IRubyObject getInstanceVariable (String name)
List< Variable< IRubyObject > > getInstanceVariableList ()
List< String > getInstanceVariableNameList ()
InstanceVariables getInstanceVariables ()
InputStream getInStream ()
Object getInternalVariable (String name)
InternalVariables getInternalVariables ()
Class getJavaClass ()
IRubyObject getline (Ruby runtime, ByteList separator, ByteListCache cache)
IRubyObject getline (Ruby runtime, ByteList separator)
IRubyObject getline (Ruby runtime, ByteList separator, long limit)
IRubyObject getline (Ruby runtime, ByteList separator, long limit, ByteListCache cache)
IRubyObject getlineFast (Ruby runtime, int delim, ByteListCache cache) throws IOException, BadDescriptorException
final RubyClass getMetaClass ()
int getNativeTypeIndex ()
OpenFile getOpenFile ()
OutputStream getOutStream ()
String getPath ()
final Ruby getRuntime ()
IRubyObject gets (ThreadContext context, IRubyObject[] args)
IRubyObject gets (ThreadContext context)
IRubyObject gets (ThreadContext context, IRubyObject separatorArg)
IRubyObject gets19 (ThreadContext context)
IRubyObject gets19 (ThreadContext context, IRubyObject arg)
IRubyObject gets19 (ThreadContext context, IRubyObject separator, IRubyObject limit_arg)
RubyClass getSingletonClass ()
RubyClass getType ()
Object getVariable (int index)
int getVariableCount ()
List< Variable< Object > > getVariableList ()
List< String > getVariableNameList ()
RubyFixnum hash ()
int hashCode ()
IRubyObject hashyInspect ()
boolean hasInstanceVariable (String name)
boolean hasInternalVariable (String name)
boolean hasVariables ()
IRubyObject id ()
IRubyObject id_deprecated ()
IRubyObject infectBy (IRubyObject obj)
IRubyObject initialize (IRubyObject[] args, Block block)
IRubyObject initialize ()
IRubyObject initialize19 (ThreadContext context, IRubyObject fileNumber, Block unusedBlock)
IRubyObject initialize19 (ThreadContext context, IRubyObject fileNumber, IRubyObject second, Block unusedBlock)
IRubyObject initialize19 (ThreadContext context, IRubyObject fileNumber, IRubyObject modeValue, IRubyObject options, Block unusedBlock)
IRubyObject initialize19 (ThreadContext context, IRubyObject[] args, Block block)
IRubyObject initialize_copy (IRubyObject original)
IRubyObject inspect ()
IRubyObject instance_eval (ThreadContext context, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block)
IRubyObject instance_eval (ThreadContext context, Block block)
IRubyObject instance_eval (ThreadContext context, IRubyObject arg0, Block block)
IRubyObject instance_eval (ThreadContext context, IRubyObject arg0, IRubyObject arg1, Block block)
IRubyObject instance_eval (ThreadContext context, IRubyObject[] args, Block block)
IRubyObject instance_exec (ThreadContext context, IRubyObject[] args, Block block)
RubyBoolean instance_of_p (ThreadContext context, IRubyObject type)
IRubyObject instance_variable_defined_p (ThreadContext context, IRubyObject name)
IRubyObject instance_variable_get (ThreadContext context, IRubyObject name)
IRubyObject instance_variable_set (IRubyObject name, IRubyObject value)
RubyArray instance_variables (ThreadContext context)
IRubyObject internal_encoding (ThreadContext context)
IRubyObject ioctl (ThreadContext context, IRubyObject[] args)
boolean isBuiltin (String methodName)
boolean isClass ()
boolean isClosed ()
final boolean isFalse ()
boolean isFrozen ()
boolean isImmediate ()
boolean isModule ()
final boolean isNil ()
boolean isTaint ()
final boolean isTrue ()
boolean isUntrusted ()
RubyBoolean kind_of_p (ThreadContext context, IRubyObject type)
IRubyObject lchmod (ThreadContext context, IRubyObject arg)
IRubyObject lchown (ThreadContext context, IRubyObject arg1, IRubyObject arg2)
RubyFixnum lineno (ThreadContext context)
RubyFixnum lineno_set (ThreadContext context, IRubyObject newLineNumber)
IRubyObject lines (final ThreadContext context)
IRubyObject lstat (ThreadContext context)
IRubyObject make_tmpname (ThreadContext context, IRubyObject basename, IRubyObject n, Block block)
RubyClass makeMetaClass (RubyClass superClass)
IRubyObject method (IRubyObject symbol)
IRubyObject methods (ThreadContext context, IRubyObject[] args)
IRubyObject methods (ThreadContext context, IRubyObject[] args, boolean useSymbols)
IRubyObject methods19 (ThreadContext context, IRubyObject[] args)
IRubyObject mtime (ThreadContext context)
IRubyObject nil_p (ThreadContext context)
IRubyObject op_append (ThreadContext context, IRubyObject anObject)
IRubyObject op_binmode (ThreadContext context)
IRubyObject op_eqq (ThreadContext context, IRubyObject other)
IRubyObject op_equal (ThreadContext context, IRubyObject obj)
IRubyObject op_equal_19 (ThreadContext context, IRubyObject obj)
IRubyObject op_match (ThreadContext context, IRubyObject arg)
IRubyObject op_not (ThreadContext context)
IRubyObject op_not_equal (ThreadContext context, IRubyObject other)
IRubyObject op_not_match (ThreadContext context, IRubyObject arg)
IRubyObject open ()
RubyString path (ThreadContext context)
IRubyObject pid (ThreadContext context)
RubyFixnum pos (ThreadContext context)
RubyFixnum pos_set (ThreadContext context, IRubyObject newPosition)
IRubyObject print (ThreadContext context, IRubyObject[] args)
IRubyObject printf (ThreadContext context, IRubyObject[] args)
IRubyObject private_methods (ThreadContext context, IRubyObject[] args)
IRubyObject private_methods19 (ThreadContext context, IRubyObject[] args)
IRubyObject protected_methods (ThreadContext context, IRubyObject[] args)
IRubyObject protected_methods19 (ThreadContext context, IRubyObject[] args)
IRubyObject public_methods (ThreadContext context, IRubyObject[] args)
IRubyObject public_methods19 (ThreadContext context, IRubyObject[] args)
IRubyObject putc (ThreadContext context, IRubyObject object)
IRubyObject puts (ThreadContext context, IRubyObject[] args)
IRubyObject rbClone ()
IRubyObject read (ThreadContext context, IRubyObject arg0)
IRubyObject read (ThreadContext context, IRubyObject arg0, IRubyObject arg1)
IRubyObject read (ThreadContext context)
IRubyObject read (IRubyObject[] args)
IRubyObject read_nonblock (ThreadContext context, IRubyObject[] args)
IRubyObject readchar ()
IRubyObject readline (ThreadContext context)
IRubyObject readline (ThreadContext context, IRubyObject separator)
IRubyObject readline (ThreadContext context, IRubyObject[] args)
RubyArray readlines (ThreadContext context, IRubyObject[] args)
IRubyObject readpartial (ThreadContext context, IRubyObject[] args)
void registerDescriptor (ChannelDescriptor descriptor, boolean isRetained)
void registerDescriptor (ChannelDescriptor descriptor)
IRubyObject remove_instance_variable (ThreadContext context, IRubyObject name, Block block)
synchronized void removeBlockingThread (RubyThread thread)
void removeFinalizers ()
IRubyObject removeInstanceVariable (String name)
Object removeInternalVariable (String name)
IRubyObject reopen (ThreadContext context, IRubyObject[] args)
RubyBoolean respond_to_p (IRubyObject mname)
RubyBoolean respond_to_p (IRubyObject mname, IRubyObject includePrivate)
final boolean respondsTo (String name)
RubyFixnum rewind (ThreadContext context)
 RubyTempfile (Ruby runtime, RubyClass type)
RubyFixnum seek (ThreadContext context, IRubyObject arg0, IRubyObject arg1)
RubyFixnum seek (ThreadContext context, IRubyObject arg0)
RubyFixnum seek (ThreadContext context, IRubyObject[] args)
IRubyObject send (ThreadContext context, IRubyObject arg0, IRubyObject arg1, Block block)
IRubyObject send (ThreadContext context, Block block)
IRubyObject send (ThreadContext context, IRubyObject arg0, Block block)
IRubyObject send (ThreadContext context, IRubyObject[] args, Block block)
IRubyObject send (ThreadContext context, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block)
IRubyObject set_encoding (ThreadContext context, IRubyObject encodingString, IRubyObject internalEncoding)
IRubyObject set_encoding (ThreadContext context, IRubyObject encodingString)
IRubyObject set_encoding (ThreadContext context, IRubyObject encodingString, IRubyObject internalEncoding, IRubyObject options)
final void setFlag (int flag, boolean set)
void setFrozen (boolean frozen)
IRubyObject setInstanceVariable (String name, IRubyObject value)
void setInternalVariable (String name, Object value)
void setMetaClass (RubyClass metaClass)
void setTaint (boolean taint)
void setUntrusted (boolean untrusted)
synchronized void setVariable (int index, Object value)
RubyArray singleton_methods (ThreadContext context, IRubyObject[] args)
RubyArray singleton_methods19 (ThreadContext context, IRubyObject[] args)
RubyArray singletonMethods (ThreadContext context, IRubyObject[] args, boolean asSymbols)
IRubyObject size (ThreadContext context)
IRubyObject specificEval (ThreadContext context, RubyModule mod, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block)
IRubyObject specificEval (ThreadContext context, RubyModule mod, Block block)
IRubyObject specificEval (ThreadContext context, RubyModule mod, IRubyObject arg0, IRubyObject arg1, Block block)
IRubyObject specificEval (ThreadContext context, RubyModule mod, IRubyObject arg, Block block)
IRubyObject specificEval (ThreadContext context, RubyModule mod, IRubyObject[] args, Block block)
IRubyObject stat (ThreadContext context)
RubyBoolean sync (ThreadContext context)
IRubyObject sync_set (IRubyObject newSync)
void syncVariables (List< Variable< Object >> variables)
IRubyObject sysread (ThreadContext context, IRubyObject[] args)
RubyFixnum sysseek (ThreadContext context, IRubyObject[] args)
IRubyObject syswrite (ThreadContext context, IRubyObject obj)
IRubyObject taint (ThreadContext context)
RubyBoolean tainted_p (ThreadContext context)
RubyArray to_a ()
RubyIO to_io ()
IRubyObject to_s ()
Object toJava (Class target)
String toString ()
IRubyObject truncate (ThreadContext context, IRubyObject arg)
IRubyObject trust (ThreadContext context)
RubyBoolean tty_p (ThreadContext context)
RubyClass type ()
RubyClass type_deprecated ()
IRubyObject ungetc (IRubyObject number)
IRubyObject unlink (ThreadContext context)
void unregisterDescriptor (int aFileno)
IRubyObject untaint (ThreadContext context)
IRubyObject untrust (ThreadContext context)
RubyBoolean untrusted_p (ThreadContext context)
IRubyObject write (ThreadContext context, IRubyObject obj)
IRubyObject write_nonblock (ThreadContext context, IRubyObject obj)
boolean writeDataBuffered ()

Static Public Member Functions

static IRubyObject absolute_path (ThreadContext context, IRubyObject recv, IRubyObject[] args)
static IRubyObject atime (ThreadContext context, IRubyObject recv, IRubyObject filename)
static IRubyObject basename (ThreadContext context, IRubyObject recv, IRubyObject[] args)
static IRubyObject chmod (ThreadContext context, IRubyObject recv, IRubyObject[] args)
static IRubyObject chown (ThreadContext context, IRubyObject recv, IRubyObject[] args)
static IRubyObject copy_stream (ThreadContext context, IRubyObject recv, IRubyObject arg1, IRubyObject arg2)
static RubyClass createBasicObjectClass (Ruby runtime, RubyClass objectClass)
static RubyClass createFileClass (Ruby runtime)
static RubyClass createIOClass (Ruby runtime)
static RubyClass createObjectClass (Ruby runtime, RubyClass objectClass)
static RubyClass createTempfileClass (Ruby runtime)
static IRubyObject ctime (ThreadContext context, IRubyObject recv, IRubyObject filename)
static IRubyObject dirname (ThreadContext context, IRubyObject recv, IRubyObject arg)
static IRubyObject expand_path (ThreadContext context, IRubyObject recv, IRubyObject[] args)
static String expandUserPath (ThreadContext context, String path)
static IRubyObject extname (ThreadContext context, IRubyObject recv, IRubyObject arg)
static IRubyObject fnmatch (ThreadContext context, IRubyObject recv, IRubyObject[] args)
static IRubyObject foreach (ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
static IRubyObject foreach19 (final ThreadContext context, IRubyObject recv, IRubyObject[] args, final Block block)
static IRubyObject ftype (ThreadContext context, IRubyObject recv, IRubyObject filename)
static RubyString get_path (ThreadContext context, IRubyObject obj)
static ZipEntry getDirOrFileEntry (ZipFile zf, String path) throws IOException
static ZipEntry getFileEntry (ZipFile zf, String path) throws IOException
static ModeFlags getIOModes (Ruby runtime, String modesString) throws InvalidValueException
static int getIOModesIntFromString (Ruby runtime, String modesString)
static int getNewFileno ()
static RubyString join (ThreadContext context, IRubyObject recv, IRubyObject[] args)
static IRubyObject lchmod (ThreadContext context, IRubyObject recv, IRubyObject[] args)
static IRubyObject lchown (ThreadContext context, IRubyObject recv, IRubyObject[] args)
static IRubyObject link (ThreadContext context, IRubyObject recv, IRubyObject from, IRubyObject to)
static IRubyObject lstat (ThreadContext context, IRubyObject recv, IRubyObject filename)
static IRubyObject mtime (ThreadContext context, IRubyObject recv, IRubyObject filename)
static IRubyObject newInstance (ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
static RubyIO newIO (Ruby runtime, Channel channel)
static void obliterateProcess (Process process)
static IRubyObject open (ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
static IRubyObject path (ThreadContext context, IRubyObject self, IRubyObject str)
static IRubyObject pipe (ThreadContext context, IRubyObject recv)
static IRubyObject popen (ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
static IRubyObject popen3 (ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
static IRubyObject popen4 (ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
static POpenTuple popenSpecial (ThreadContext context, IRubyObject[] args)
static IRubyObject print (ThreadContext context, IRubyObject maybeIO, IRubyObject[] args)
static IRubyObject putc (ThreadContext context, IRubyObject maybeIO, IRubyObject object)
static IRubyObject puts (ThreadContext context, IRubyObject maybeIO, IRubyObject[] args)
static void puts (Object obj)
static IRubyObject read (ThreadContext context, IRubyObject recv, IRubyObject path, IRubyObject length, IRubyObject offset)
static IRubyObject read (ThreadContext context, IRubyObject recv, IRubyObject path, IRubyObject length)
static IRubyObject read (ThreadContext context, IRubyObject recv, IRubyObject[] args)
static IRubyObject read (ThreadContext context, IRubyObject recv, IRubyObject path, Block unusedBlock)
static IRubyObject read19 (ThreadContext context, IRubyObject recv, IRubyObject[] args, Block unusedBlock)
static RubyArray readlines (ThreadContext context, IRubyObject recv, IRubyObject[] args, Block unusedBlock)
static IRubyObject readlink (ThreadContext context, IRubyObject recv, IRubyObject path)
static IRubyObject rename (ThreadContext context, IRubyObject recv, IRubyObject oldName, IRubyObject newName)
static boolean restartSystemCall (Exception e)
static IRubyObject select (ThreadContext context, IRubyObject recv, IRubyObject[] args)
static IRubyObject select_static (ThreadContext context, Ruby runtime, IRubyObject[] args)
static RubyArray split (ThreadContext context, IRubyObject recv, IRubyObject arg)
static IRubyObject stat (ThreadContext context, IRubyObject recv, IRubyObject filename)
static IRubyObject symlink (ThreadContext context, IRubyObject recv, IRubyObject from, IRubyObject to)
static IRubyObject sysopen (IRubyObject recv, IRubyObject[] args, Block block)
static IRubyObject truncate (ThreadContext context, IRubyObject recv, IRubyObject arg1, IRubyObject arg2)
static IRubyObject tryConvert (ThreadContext context, IRubyObject recv, IRubyObject arg)
static IRubyObject umask (ThreadContext context, IRubyObject recv, IRubyObject[] args)
static IRubyObject unlink (ThreadContext context, IRubyObject recv, IRubyObject[] args)
static IRubyObject utime (ThreadContext context, IRubyObject recv, IRubyObject[] args)

Static Public Attributes

static final int ALL_F = -1
static final int COMPARE_BY_IDENTITY_F = (1<<(FL_USHIFT+8))
static final int FALSE_F = 1 << 0
static final int FL_USHIFT = 5
static final int FROZEN_F = 1 << 2
static final int LOCK_EX = 2
static final int LOCK_NB = 4
static final int LOCK_SH = 1
static final int LOCK_UN = 8
static final IRubyObject NEVER = new RubyBasicObject()
static final int NIL_F = 1 << 1
static final IRubyObject[] NULL_ARRAY = new IRubyObject[0]
static final ObjectAllocator OBJECT_ALLOCATOR
static final int TAINTED_F = 1 << 3
static final IRubyObject UNDEF = new RubyBasicObject()
static final int UNTRUSTED_F = 1 << 4
static final int USER0_F = (1<<(FL_USHIFT+0))
static final int USER1_F = (1<<(FL_USHIFT+1))
static final int USER2_F = (1<<(FL_USHIFT+2))
static final int USER3_F = (1<<(FL_USHIFT+3))
static final int USER4_F = (1<<(FL_USHIFT+4))
static final int USER5_F = (1<<(FL_USHIFT+5))
static final int USER6_F = (1<<(FL_USHIFT+6))
static final int USER7_F = (1<<(FL_USHIFT+7))

Protected Member Functions

void checkClosed ()
void checkFrozen ()
void checkInitialized ()
IRubyObject close2 (Ruby runtime)
final void ensureInstanceVariablesSettable ()
Stream fdopen (ChannelDescriptor existingDescriptor, ModeFlags modes) throws InvalidValueException
int fwrite (ByteList buffer)
synchronized long getObjectId ()
OpenFile getOpenFileChecked ()
RubyClass getSingletonClassClone ()
synchronized long initObjectId (RubyClass.VariableAccessor objectIdAccessor)
int inspectHashCode ()
synchronized void interruptBlockingThreads ()
void openInternal (String path, String modeString, ModeFlags modes) throws InvalidValueException
void openInternal (String path, String modeString) throws InvalidValueException
ModeFlags parseModes (IRubyObject arg)
ModeFlags parseModes19 (ThreadContext context, IRubyObject arg)
ModeFlags parseOptions (ThreadContext context, IRubyObject options, ModeFlags modes)
IRubyObject readAll (IRubyObject buffer) throws BadDescriptorException, EOFException, IOException
boolean swallow (int term) throws IOException, BadDescriptorException
void sysopenInternal (String path, ModeFlags modes, int perm) throws InvalidValueException
void taint (Ruby runtime)
final void testFrozen (String message)
final void testFrozen ()
String validateInstanceVariable (String name)
boolean variableTableContains (String name)
boolean variableTableFastContains (String internedName)
Object variableTableFastFetch (String internedName)
Object variableTableFastStore (String internedName, Object value)
Object variableTableFetch (String name)
Object variableTableRemove (String name)
Object variableTableStore (String name, Object value)
void variableTableSync (List< Variable< Object >> vars)
boolean waitReadable (ChannelDescriptor descriptor) throws IOException
boolean waitWritable (ChannelDescriptor descriptor) throws IOException
void write (ThreadContext context, ByteList byteList)

Static Protected Member Functions

static boolean eqlInternal (final ThreadContext context, final IRubyObject that, final IRubyObject other)
static boolean equalInternal (final ThreadContext context, final IRubyObject that, final IRubyObject other)
static void write (ThreadContext context, IRubyObject maybeIO, ByteList byteList)

Protected Attributes

List< RubyThreadblockingThreads
IRubyObject externalEncoding
int flags
IRubyObject internalEncoding
transient RubyClass metaClass
OpenFile openFile
String path

Static Protected Attributes

static final String ERR_INSECURE_SET_INST_VAR = "Insecure: can't modify instance variable"
static AtomicInteger filenoIndex = new AtomicInteger(2)

Package Functions

IRubyObject checkIntegerType (Ruby runtime, IRubyObject obj, String method)
final RubyBasicObject infectBy (RubyBasicObject obj)
final RubyBasicObject infectBy (int tuFlags)

Static Package Functions

 [static initializer]
static String adjustRootPathOnWindows (Ruby runtime, String path, String dir)
static RubyString inspect (ThreadContext context, IRubyObject object)

Private Member Functions

IRubyObject defaultTmpDir (Ruby runtime, IRubyObject[] args)
void initializeOpen ()

Private Attributes

transient volatile Reaper reaper
File tmpFile = null

Static Private Attributes

static int counter = -1
static final String DEFAULT_TMP_DIR
static final ConcurrentMap
< Reaper, Boolean > 
referenceSet = new ConcurrentHashMap<Reaper, Boolean>()
static final java.util.Random RND = new java.util.Random()
static ObjectAllocator TEMPFILE_ALLOCATOR
static final Object tmpFileLock = new Object()

Detailed Description

An implementation of tempfile.rb in Java.

Definition at line 54 of file RubyTempfile.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index