public class WebAppFileLoader extends Object
| Constructor and Description |
|---|
WebAppFileLoader(String filename)
Create a file loader,
BUT THIS CAN'T USE THE CONTEXT!!!
|
WebAppFileLoader(String filename,
javax.servlet.ServletContext context)
Create a file loader with a context
|
public WebAppFileLoader(String filename, javax.servlet.ServletContext context)
filename - - the URI to the filecontext - - the servlet context needed for context:/public WebAppFileLoader(String filename)
filename - - the URI to the filepublic InputStream load() throws URISyntaxException, FileNotFoundException
URISyntaxException - - if the URI is not validFileNotFoundException - - if was not foundCopyright © 2014–2015 Premium Minds. All rights reserved.