Package biz.onixs.util.url
Class ClassPathResourceLoader
- java.lang.Object
-
- biz.onixs.util.url.AbstractResourceLoader
-
- biz.onixs.util.url.ClassPathResourceLoader
-
- All Implemented Interfaces:
ResourceLoader
public class ClassPathResourceLoader extends AbstractResourceLoader
-
-
Constructor Summary
Constructors Constructor Description ClassPathResourceLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamgetResource(String name)Returns input stream for the resource specified by the name.StringtoString()-
Methods inherited from class biz.onixs.util.url.AbstractResourceLoader
isAvailable
-
-
-
-
Method Detail
-
getResource
public InputStream getResource(String name)
Description copied from interface:ResourceLoaderReturns input stream for the resource specified by the name. The user is responsible for closing the returned stream.- Parameters:
name- resource name- Returns:
- resource input stream
-
-