Logo Search packages:      
Sourcecode: jruby0.9 version File versions  Download package

org::jruby::RubyDir Class Reference

Inheritance diagram for org::jruby::RubyDir:

org::jruby::RubyObject org::jruby::runtime::builtin::IRubyObject

List of all members.


Detailed Description

.The Ruby built-in class Dir.

Author:
jvoegele

Definition at line 56 of file RubyDir.java.


Public Member Functions

void addFinalizer (RubyProc finalizer)
IRubyObject anyToString ()
RubyString asString ()
String asSymbol ()
void attachToObjectSpace ()
void callInit (IRubyObject[] args, Block block)
IRubyObject callMethod (ThreadContext context, String name, IRubyObject arg)
IRubyObject callMethod (ThreadContext context, String name, Block block)
IRubyObject callMethod (ThreadContext context, int methodIndex, String name)
IRubyObject callMethod (ThreadContext context, String name)
IRubyObject callMethod (ThreadContext context, RubyModule rubyclass, String name, IRubyObject[] args, CallType callType, Block block)
IRubyObject callMethod (ThreadContext context, RubyModule rubyclass, int methodIndex, String name, IRubyObject[] args, CallType callType, Block block)
IRubyObject callMethod (ThreadContext context, RubyModule rubyclass, int methodIndex, String name, IRubyObject[] args, CallType callType)
IRubyObject callMethod (ThreadContext context, int methodIndex, String name, IRubyObject[] args, CallType callType)
IRubyObject callMethod (ThreadContext context, int methodIndex, String name, IRubyObject[] args)
IRubyObject callMethod (ThreadContext context, int methodIndex, String name, IRubyObject arg)
IRubyObject callMethod (ThreadContext context, String name, IRubyObject[] args, CallType callType, Block block)
IRubyObject callMethod (ThreadContext context, String name, IRubyObject[] args, CallType callType)
IRubyObject callMethod (ThreadContext context, String name, IRubyObject[] args, Block block)
IRubyObject callMethod (ThreadContext context, String name, IRubyObject[] args)
IRubyObject callSuper (ThreadContext context, IRubyObject[] args, Block block)
IRubyObject checkArrayType ()
IRubyObject checkStringType ()
IRubyObject close ()
IRubyObject compilerCallMethod (ThreadContext context, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)
IRubyObject compilerCallMethodWithIndex (ThreadContext context, int methodIndex, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)
RubyArray convertToArray ()
RubyFloat convertToFloat ()
RubyHash convertToHash ()
RubyInteger convertToInteger ()
RubyString convertToString ()
IRubyObject convertToType (RubyClass targetType, int convertMethodIndex, String convertMethod, boolean raiseOnMissingMethod, boolean raiseOnWrongTypeResult, boolean allowNilThrough)
IRubyObject convertToType (RubyClass targetType, int convertMethodIndex, boolean raise)
IRubyObject convertToType (RubyClass targetType, int convertMethodIndex, String convertMethod, boolean raise)
IRubyObject convertToTypeWithCheck (RubyClass targetType, int convertMethodIndex, String convertMethod)
synchronized Object dataGetStruct ()
synchronized void dataWrapStruct (Object obj)
IRubyObject display (IRubyObject[] args)
IRubyObject dup ()
IRubyObject each (Block block)
RubyArray entries ()
boolean eql (IRubyObject other)
final boolean eqlInternal (final ThreadContext context, final IRubyObject other)
IRubyObject equal (IRubyObject other)
final IRubyObject equalInternal (final ThreadContext context, final IRubyObject other)
boolean equals (Object other)
IRubyObject evalSimple (ThreadContext context, IRubyObject src, String file)
IRubyObject evalUnder (RubyModule under, IRubyObject src, IRubyObject file, IRubyObject line)
IRubyObject evalWithBinding (ThreadContext context, IRubyObject src, IRubyObject scope, String file)
IRubyObject extend (IRubyObject[] args)
IRubyObject freeze ()
RubyBoolean frozen ()
IRubyObject getInstanceVariable (String name)
Map getInstanceVariables ()
Map getInstanceVariablesSnapshot ()
Class getJavaClass ()
final RubyClass getMetaClass ()
int getNativeTypeIndex ()
Ruby getRuntime ()
RubyClass getSingletonClass ()
RubyClass getSingletonClassClone ()
RubyClass getType ()
RubyFixnum hash ()
int hashCode ()
synchronized RubyFixnum id ()
synchronized RubyFixnum id_deprecated ()
IRubyObject infectBy (IRubyObject obj)
IRubyObject inherited (IRubyObject arg, Block block)
IRubyObject initialize (IRubyObject[] args, Block block)
IRubyObject initialize (IRubyObject _newPath, Block unusedBlock)
IRubyObject initialize_copy (IRubyObject original)
IRubyObject inspect ()
IRubyObject instance_eval (IRubyObject[] args, Block block)
RubyBoolean instance_of (IRubyObject type)
IRubyObject instance_variable_get (IRubyObject var)
IRubyObject instance_variable_set (IRubyObject var, IRubyObject value)
RubyArray instance_variables ()
Iterator instanceVariableNames ()
final boolean isFalse ()
boolean isFrozen ()
boolean isImmediate ()
boolean isKindOf (RubyModule type)
boolean isNil ()
boolean isSingleton ()
boolean isTaint ()
final boolean isTrue ()
RubyBoolean kind_of (IRubyObject type)
RubyClass makeMetaClass (RubyClass superClass, SinglyLinkedList parentCRef)
IRubyObject match (IRubyObject arg)
IRubyObject method (IRubyObject symbol)
IRubyObject method_missing (IRubyObject[] args, Block block)
IRubyObject methods (IRubyObject[] args)
IRubyObject nil_p ()
IRubyObject obj_equal (IRubyObject obj)
IRubyObject path ()
IRubyObject private_methods ()
IRubyObject protected_methods ()
IRubyObject public_methods (IRubyObject[] args)
IRubyObject rbClone ()
IRubyObject read ()
IRubyObject remove_instance_variable (IRubyObject name, Block block)
void removeFinalizers ()
IRubyObject removeInstanceVariable (String name)
RubyBoolean respond_to (IRubyObject[] args)
boolean respondsTo (String name)
IRubyObject rewind ()
 RubyDir (Ruby runtime, RubyClass type)
Map safeGetInstanceVariables ()
boolean safeHasInstanceVariables ()
IRubyObject seek (IRubyObject newPos)
IRubyObject send (IRubyObject[] args, Block block)
void setFrozen (boolean frozen)
IRubyObject setInstanceVariable (String name, IRubyObject value)
IRubyObject setInstanceVariable (String name, IRubyObject value, String taintError, String freezeError)
void setInstanceVariables (Map instanceVariables)
void setMetaClass (RubyClass metaClass)
IRubyObject setPos (IRubyObject newPos)
void setTaint (boolean taint)
RubyArray singleton_methods (IRubyObject[] args)
IRubyObject specificEval (RubyModule mod, IRubyObject[] args, Block block)
IRubyObject taint ()
RubyBoolean tainted ()
RubyInteger tell ()
IRubyObject to_s ()
String toString ()
RubyClass type ()
RubyClass type_deprecated ()
IRubyObject untaint ()

Static Public Member Functions

static IRubyObject callMethodMissingIfNecessary (ThreadContext context, IRubyObject receiver, DynamicMethod method, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)
static IRubyObject chdir (IRubyObject recv, IRubyObject[] args, Block block)
static IRubyObject chroot (IRubyObject recv, IRubyObject path)
static RubyClass createDirClass (Ruby runtime)
static RubyClass createObjectClass (Ruby runtime, RubyClass objectClass)
static RubyArray entries (IRubyObject recv, IRubyObject path)
static IRubyObject foreach (IRubyObject recv, IRubyObject _path, Block block)
static RubyString getHomeDirectoryPath (IRubyObject recv)
static IRubyObject getHomeDirectoryPath (IRubyObject recv, String user)
static RubyString getwd (IRubyObject recv)
static IRubyObject glob (IRubyObject recv, IRubyObject[] args, Block block)
static void initCopy (IRubyObject clone, IRubyObject original)
static IRubyObject mkdir (IRubyObject recv, IRubyObject[] args)
static IRubyObject open (IRubyObject recv, IRubyObject path, Block block)
static void puts (Object obj)
static IRubyObject rmdir (IRubyObject recv, IRubyObject path)
static String trueFalseNil (String v)
static String trueFalseNil (IRubyObject v)

Static Public Attributes

static final IRubyObject NEVER = new RubyObject()
static final IRubyObject[] NULL_ARRAY = new IRubyObject[0]
static ObjectAllocator OBJECT_ALLOCATOR

Protected Member Functions

void checkFrozen ()
IRubyObject doClone ()
void testFrozen (String message)

Static Protected Member Functions

static List getContents (File directory, Ruby runtime)
static List getContents (File directory)
static JRubyFile getDir (final Ruby runtime, final String path, final boolean mustExist)

Protected Attributes

JRubyFile dir
Map instanceVariables
boolean isTrue = true
RubyClass metaClass

Private Attributes

boolean isOpen = true
RubyString path
int pos
String[] snapshot

Static Private Attributes

static ObjectAllocator DIR_ALLOCATOR

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

Generated by  Doxygen 1.6.0   Back to index