it.avutils.jmapper.config
Class ResourceLoader
java.lang.Object
it.avutils.jmapper.config.ResourceLoader
public class ResourceLoader
- extends Object
The purpose, of ResourceLoader, is to load from classPath the resource requested.
- Author:
- Alessandro Vurro
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceLoader
public ResourceLoader()
loadResource
public static InputStream loadResource(String resource)
throws MalformedURLException,
IOException
- Returns an instance of inputStream if resource exists, null otherwise.
- Parameters:
resource - resource to load
- Returns:
- an inputStream of resource if exists, null otherwise
- Throws:
MalformedURLException
IOException
Copyright © 2013. All Rights Reserved.