Package | Description |
---|---|
org.jruby | |
org.jruby.util |
Modifier and Type | Field and Description |
---|---|
protected FileResource |
RubyDir.dir |
Modifier and Type | Method and Description |
---|---|
static FileResource |
RubyFile.fileResource(IRubyObject pathOrFile)
Get the fully-qualified JRubyFile object for the path, taking into
account the runtime's current directory.
|
static FileResource |
RubyFile.fileResource(ThreadContext context,
IRubyObject pathOrFile) |
Modifier and Type | Method and Description |
---|---|
protected static List<String> |
RubyDir.getContents(FileResource directory)
Returns the contents of the specified
directory as an
ArrayList containing the names of the files as Java Strings. |
protected static List<RubyString> |
RubyDir.getContents(FileResource directory,
Ruby runtime)
Returns the contents of the specified
directory as an
ArrayList containing the names of the files as Ruby Strings. |
Modifier and Type | Class and Description |
---|---|
class |
ClasspathResource |
class |
EmptyFileResource |
class |
URLResource |
Modifier and Type | Method and Description |
---|---|
static FileResource |
URLResource.create(Ruby runtime,
String pathname) |
static FileResource |
ClasspathResource.create(String pathname) |
static FileResource |
URLResource.createClassloaderURI(Ruby runtime,
String pathname) |
static FileResource |
JRubyFile.createResource(jnr.posix.POSIX posix,
Ruby runtime,
String cwd,
String pathname) |
static FileResource |
JRubyFile.createResource(jnr.posix.POSIX posix,
String cwd,
String pathname) |
static FileResource |
JRubyFile.createResource(Ruby runtime,
String pathname) |
static FileResource |
JRubyFile.createResource(ThreadContext context,
String pathname) |
Copyright © 2001-2015 JRuby. All Rights Reserved.