| 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,
      String path,
      boolean mustExist)Returns a Java  Fileobject for the specified path. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected static List<String> | RubyDir. getContents(FileResource directory)Returns the contents of the specified  directoryas anArrayListcontaining the names of the files as Java Strings. | 
| protected static List<RubyString> | RubyDir. getContents(FileResource directory,
           Ruby runtime)Returns the contents of the specified  directoryas anArrayListcontaining the names of the files as Ruby Strings. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | EmptyFileResource | 
| class  | URLResource | 
| Modifier and Type | Method and Description | 
|---|---|
| static FileResource | URLResource. create(Ruby runtime,
      String pathname,
      boolean asFile) | 
| static FileResource | URLResource. createClassloaderURI(Ruby runtime,
                    String pathname,
                    boolean asFile) | 
| static FileResource | JRubyFile. createResource(Ruby runtime,
              String pathname) | 
| static FileResource | JRubyFile. createResource(Ruby runtime,
              String cwd,
              String pathname) | 
| static FileResource | JRubyFile. createResource(ThreadContext context,
              String pathname) | 
| static FileResource | JRubyFile. createResourceAsFile(Ruby runtime,
                    String pathname) | 
| static FileResource | JRubyFile. createRestrictedResource(String cwd,
                        String pathname) | 
Copyright © 2001-2015 JRuby. All Rights Reserved.