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) |
protected static FileResource |
RubyDir.getDir(Ruby runtime,
java.lang.String path,
boolean mustExist)
Returns a Java
File object for the specified path. |
Modifier and Type | Method and Description |
---|---|
protected static java.util.List<java.lang.String> |
RubyDir.getContents(FileResource directory)
Deprecated.
no longer used
|
protected static java.util.List<RubyString> |
RubyDir.getContents(FileResource directory,
Ruby runtime)
Deprecated.
no longer used
|
Modifier and Type | Class and Description |
---|---|
class |
URLResource |
Modifier and Type | Method and Description |
---|---|
static FileResource |
URLResource.create(Ruby runtime,
java.lang.String pathname,
boolean asFile) |
static FileResource |
URLResource.createClassloaderURI(Ruby runtime,
java.lang.String pathname,
boolean asFile) |
static FileResource |
JRubyFile.createResource(Ruby runtime,
java.lang.String pathname) |
static FileResource |
JRubyFile.createResource(Ruby runtime,
java.lang.String cwd,
java.lang.String pathname) |
static FileResource |
JRubyFile.createResource(ThreadContext context,
java.lang.String pathname) |
static FileResource |
JRubyFile.createResourceAsFile(Ruby runtime,
java.lang.String pathname) |
static FileResource |
JRubyFile.createRestrictedResource(java.lang.String cwd,
java.lang.String pathname) |
static FileResource |
FileResource.wrap(jnr.posix.POSIX posix,
JRubyFile file) |
Copyright © 2001-2020 JRuby. All Rights Reserved.