org.jruby.runtime.load
Class LoadServiceResource

java.lang.Object
  extended by org.jruby.runtime.load.LoadServiceResource

public class LoadServiceResource
extends java.lang.Object

Simple struct to capture name seperate from URL. URL and File have internal logic which does unexpected things when presenting the resource as a string.


Constructor Summary
LoadServiceResource(java.net.URL resource, java.lang.String name)
           
 
Method Summary
 java.lang.String getName()
           
 java.net.URL getURL()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadServiceResource

public LoadServiceResource(java.net.URL resource,
                           java.lang.String name)
Method Detail

getName

public java.lang.String getName()

getURL

public java.net.URL getURL()


Copyright © 2002-2007 JRuby Team. All Rights Reserved.