| Modifier and Type | Class and Description |
|---|---|
| pack-priv static interface | |
| public static class | |
| pack-priv static interface |
| Modifier and Type | Field and Description |
|---|---|
| private static final RubyPathname. | |
| private static final RubyPathname. | |
| private static final RubyPathname. | |
| private static final RubyPathname. | |
| private static final RubyPathname. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| pack-priv static void | |
| private static void | defineDelegateMethods(ThreadContext context, RubyClass cPathname, final RubyModule klass, String... methods)
|
| private static void | defineDelegateMethodsAppendPath(ThreadContext context, RubyClass cPathname, final RubyModule klass, String... methods)
|
| private static void | defineDelegateMethodsArrayOfPaths(ThreadContext context, RubyClass cPathname, final RubyModule klass, String... methods)
|
| private static void | defineDelegateMethodsGeneric(ThreadContext context, RubyClass cPathname, final RubyModule klass, final RubyPathname.
|
| private static void | defineDelegateMethodsSinglePath(ThreadContext context, RubyClass cPathname, final RubyModule klass, String... methods)
|
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| private RubyString | |
| public static IRubyObject | |
| public static IRubyObject | |
| public IRubyObject | |
| public RubyFixnum | hash(ThreadContext
the current thread context context)Overrides org. Will return the hash code of this object. |
| public int | hashCode()
Overrides org. This override does not do "checked" dispatch since Object usually has #hash defined. |
| public IRubyObject | |
| public IRubyObject | initialize_copy(ThreadContext
the thread context context, IRubyObject the original pathname)Overrides org. Initializes this object as a copy of the original, that is the parameter to this object. |
| private static IRubyObject[] | |
| private IRubyObject[] | |
| public IRubyObject | inspect(ThreadContext context)
Overrides org. Overrides default org. Returns a string containing a human-readable representation of obj. |
| public IRubyObject | |
| public IRubyObject | |
| private static RubyArray | |
| public static RubyPathname | |
| public static RubyPathname | |
| public IRubyObject | |
| public IRubyObject | op_equal(ThreadContext context, IRubyObject other)
Overrides org. Implements org. rb_obj_equal Will by default use identity equality to compare objects. |
| public IRubyObject | |
| private void | |
| private static JavaSites. | sites(ThreadContext context)
Hides org. Retrieve the call sites for this class. |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| private IRubyObject[] | |
| public IRubyObject |
| APPEND_PATH | back to summary |
|---|---|
| private static final RubyPathname. | |
| ARRAY_OF_PATHS_MAPPER | back to summary |
|---|---|
| private static final RubyPathname. | |
| IDENTITY_MAPPER | back to summary |
|---|---|
| private static final RubyPathname. | |
| SINGLE_PATH_MAPPER | back to summary |
|---|---|
| private static final RubyPathname. | |
| UNSHIFT_PATH | back to summary |
|---|---|
| private static final RubyPathname. | |
| RubyPathname | back to summary |
|---|---|
| public RubyPathname(Ruby runtime, RubyClass metaClass) | |
| cmp | back to summary |
|---|---|
| private int cmp(RubyPathname other) | |
| createPathnameClass | back to summary |
|---|---|
| pack-priv static void createPathnameClass(ThreadContext context) | |
| defineDelegateMethods | back to summary |
|---|---|
| private static void defineDelegateMethods(ThreadContext context, RubyClass cPathname, final RubyModule klass, String... methods) | |
| defineDelegateMethodsAppendPath | back to summary |
|---|---|
| private static void defineDelegateMethodsAppendPath(ThreadContext context, RubyClass cPathname, final RubyModule klass, String... methods) | |
| defineDelegateMethodsArrayOfPaths | back to summary |
|---|---|
| private static void defineDelegateMethodsArrayOfPaths(ThreadContext context, RubyClass cPathname, final RubyModule klass, String... methods) | |
| defineDelegateMethodsGeneric | back to summary |
|---|---|
| private static void defineDelegateMethodsGeneric(ThreadContext context, RubyClass cPathname, final RubyModule klass, final RubyPathname. | |
| defineDelegateMethodsSinglePath | back to summary |
|---|---|
| private static void defineDelegateMethodsSinglePath(ThreadContext context, RubyClass cPathname, final RubyModule klass, String... methods) | |
| each_entry | back to summary |
|---|---|
public IRubyObject each_entry(ThreadContext context, Block block)
| |
| each_line | back to summary |
|---|---|
public IRubyObject each_line(ThreadContext context, IRubyObject[] args, Block block)
| |
| empty_p | back to summary |
|---|---|
public IRubyObject empty_p(ThreadContext context)
| |
| fnmatch | back to summary |
|---|---|
| public IRubyObject fnmatch(ThreadContext context, IRubyObject[] args)
Deprecated
| |
| fnmatch_p | back to summary |
|---|---|
public IRubyObject fnmatch_p(ThreadContext context, IRubyObject arg0)
| |
| fnmatch_p | back to summary |
|---|---|
public IRubyObject fnmatch_p(ThreadContext context, IRubyObject arg0, IRubyObject arg1)
| |
| freeze | back to summary |
|---|---|
| public IRubyObject freeze(ThreadContext context) Overrides org.
| |
| getPath | back to summary |
|---|---|
| private RubyString getPath() | |
| getwd | back to summary |
|---|---|
public static IRubyObject getwd(ThreadContext context, IRubyObject recv)
| |
| glob | back to summary |
|---|---|
public static IRubyObject glob(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
| |
| glob | back to summary |
|---|---|
public IRubyObject glob(ThreadContext context, IRubyObject[] _args, Block block)
| |
| hash | back to summary |
|---|---|
| public RubyFixnum hash(ThreadContext context) Overrides org. Doc from org. Will return the hash code of this object. In comparison to MRI, this method will use the Java identity hash code instead of using rb_obj_id, since the usage of id in JRuby will incur the cost of some. ObjectSpace maintenance.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. Doc from org. This override does not do "checked" dispatch since Object usually has #hash defined.
| |
| initialize | back to summary |
|---|---|
public IRubyObject initialize(ThreadContext context, IRubyObject path)
| |
| initialize_copy | back to summary |
|---|---|
| public IRubyObject initialize_copy(ThreadContext context, IRubyObject pathname) Overrides org. Doc from org. Initializes this object as a copy of the original, that is the parameter to this object. Will make sure that the argument actually has the same real class as this object. It shouldn't be possible to initialize an object with something totally different.
| |
| insert | back to summary |
|---|---|
| private static IRubyObject[] insert(IRubyObject[] old, int i, IRubyObject obj) | |
| insertPath | back to summary |
|---|---|
| private IRubyObject[] insertPath(IRubyObject[] args, int i) | |
| inspect | back to summary |
|---|---|
| public IRubyObject inspect(ThreadContext context) Overrides org. Overrides default org. Doc from org. Returns a string containing a human-readable representation of
obj. If not overridden, uses the
| |
| make_link | back to summary |
|---|---|
public IRubyObject make_link(ThreadContext context, IRubyObject old)
| |
| make_symlink | back to summary |
|---|---|
public IRubyObject make_symlink(ThreadContext context, IRubyObject old)
| |
| mapToPathnames | back to summary |
|---|---|
| private static RubyArray | |
| newInstance | back to summary |
|---|---|
| public static RubyPathname newInstance(ThreadContext context, RubyClass klass, IRubyObject path) | |
| newInstance | back to summary |
|---|---|
| public static RubyPathname newInstance(ThreadContext context, IRubyObject path) | |
| op_cmp | back to summary |
|---|---|
| public IRubyObject op_cmp(ThreadContext context, IRubyObject other) Overrides org.
| |
| op_equal | back to summary |
|---|---|
| public IRubyObject op_equal(ThreadContext context, IRubyObject other) Overrides org. Implements org. Doc from org. rb_obj_equal Will by default use identity equality to compare objects. This follows the Ruby semantics. The name of this method doesn't follow the convention because hierarchy problems
| |
| opendir | back to summary |
|---|---|
public IRubyObject opendir(ThreadContext context, Block block)
| |
| setPath | back to summary |
|---|---|
| private void setPath(RubyString path) | |
| sites | back to summary |
|---|---|
| private static JavaSites. Hides org. Doc from org. Retrieve the call sites for this class. It is expected that all Java-based core classes that do call site caching will have a similar method. | |
| sub | back to summary |
|---|---|
public IRubyObject sub(ThreadContext context, IRubyObject[] args, Block block)
| |
| sub_ext | back to summary |
|---|---|
public IRubyObject sub_ext(ThreadContext context, IRubyObject newExt)
| |
| taint | back to summary |
|---|---|
| public IRubyObject taint(ThreadContext context) Overrides org. Deprecated
| |
| to_path | back to summary |
|---|---|
public IRubyObject to_path(ThreadContext context)
| |
| to_s | back to summary |
|---|---|
| public IRubyObject to_s(ThreadContext context) Overrides org.
| |
| unlink | back to summary |
|---|---|
public IRubyObject unlink(ThreadContext context)
| |
| unshiftPath | back to summary |
|---|---|
| private IRubyObject[] unshiftPath(IRubyObject[] args) | |
| untaint | back to summary |
|---|---|
| public IRubyObject untaint(ThreadContext context) Overrides org. Deprecated
| |
| Modifier and Type | Method and Description |
|---|---|
| public IRubyObject[] |
| addArg | back to summary |
|---|---|
| public IRubyObject[] addArg(IRubyObject[] args, RubyString path) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static IRubyObject |
| PathnameKernelMethods | back to summary |
|---|---|
| public PathnameKernelMethods() | |
| newPathname | back to summary |
|---|---|
public static IRubyObject newPathname(ThreadContext context, IRubyObject recv, IRubyObject path)
| |
| Modifier and Type | Method and Description |
|---|---|
| public IRubyObject |
| map | back to summary |
|---|---|
| public IRubyObject map(ThreadContext context, RubyClass klazz, IRubyObject value) | |