Top Description Constructors Methods
org.jruby.runtime.load

public Class CompiledScriptLoader

extends Object
Class Inheritance
Imports
org.jruby.Ruby, org.jruby.ir.IRScope, org.jruby.util.JRubyClassLoader, .OneShotClassLoader, org.objectweb.asm.ClassReader, java.io.ByteArrayOutputStream, .File, .IOException, .InputStream, java.lang.reflect.Method

Load serialized IR from the .class file requested.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static String
getFilenameFromPathAndName(File resourcePath, String resourceName, boolean isAbsolute)

private static Class<T>
public static IRScope
loadScriptFromFile(Ruby runtime, InputStream inStream, File resourcePath, String resourceName, boolean isAbsolute)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CompiledScriptLoaderback to summary
public CompiledScriptLoader()

Method Detail

getFilenameFromPathAndNameback to summary
public static String getFilenameFromPathAndName(File resourcePath, String resourceName, boolean isAbsolute)
loadCompiledScriptFromClassback to summary
private static Class<T> loadCompiledScriptFromClass(Ruby runtime, InputStream in) throws IOException
loadScriptFromFileback to summary
public static IRScope loadScriptFromFile(Ruby runtime, InputStream inStream, File resourcePath, String resourceName, boolean isAbsolute)