public class ClasspathLocation extends Object implements ResourceLocation
| Constructor and Description |
|---|
ClasspathLocation() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getStream(String name)
Returns the Resource as a InputStream
|
URL |
getURL(String name)
Returns the Resource's URL
|
public InputStream getStream(String name)
ResourceLocationgetStream in interface ResourceLocationname - The path relative to the location (usally the filename)ResourceLocation.getStream(String)public URL getURL(String name)
ResourceLocationgetURL in interface ResourceLocationname - The path relative to the location (usally the filename)ResourceLocation.getURL(String)Copyright © 2015. All rights reserved.