public class FileSystemLocation extends Object implements ResourceLocation
| Constructor and Description |
|---|
FileSystemLocation(File root) |
FileSystemLocation(String root) |
| 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 FileSystemLocation(String root)
public FileSystemLocation(File root)
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.