Class: Java::java::lang::ClassLoader

Inherits:
Object
  • Object
show all
Defined in:
core/src/main/ruby/jruby/java/java_ext/java.lang.rb

Overview

java.lang.ClassLoader

See Also:

Instance Method Summary (collapse)

Instance Method Details

- (Java::java::io::InputStream) resource_as_stream(name)



276
277
278
# File 'core/src/main/ruby/jruby/java/java_ext/java.lang.rb', line 276

def resource_as_stream(name)
  # stub implemented in org.jruby.javasupport.ext.JavaLang.java
end

- (String) resource_as_string(name)

Returns:

  • (String)


281
282
283
284
# File 'core/src/main/ruby/jruby/java/java_ext/java.lang.rb', line 281

def resource_as_string(name)
  # stub implemented in org.jruby.javasupport.ext.JavaLang.java
  # resource_as_stream(name).to_io.read
end

- (Object) resource_as_url(name)



286
287
288
# File 'core/src/main/ruby/jruby/java/java_ext/java.lang.rb', line 286

def resource_as_url(name)
  # stub implemented in org.jruby.javasupport.ext.JavaLang.java
end