Package org.jruby.runtime.load
Class LoadServiceResource
java.lang.Object
org.jruby.runtime.load.LoadServiceResource
Simple struct to capture name separate from URL. URL and File have internal
logic which does unexpected things when presenting the resource as a string.
-
Constructor Summary
ConstructorsConstructorDescriptionLoadServiceResource
(File path, String name) LoadServiceResource
(File path, String name, boolean absolute) LoadServiceResource
(URL resource, String name) LoadServiceResource
(URL resource, String name, boolean absolute) -
Method Summary
-
Constructor Details
-
LoadServiceResource
-
LoadServiceResource
-
LoadServiceResource
-
LoadServiceResource
-
-
Method Details
-
getInputStream
- Throws:
IOException
-
getName
-
getPath
-
getURL
- Throws:
IOException
-
getAbsolutePath
-
isAbsolute
public boolean isAbsolute()
-