public static final class ClasspathResourceFinder.Null extends Object implements ClasspathResourceFinder
ClasspathResourceFinder.Null| Constructor and Description |
|---|
Null() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
findResource(Class<?> baseClass,
String name,
Locale locale)
Returns the contents of the resource with the specified name.
|
public Null()
public InputStream findResource(Class<?> baseClass, String name, Locale locale) throws IOException
ClasspathResourceFinderfindResource in interface ClasspathResourceFinderbaseClass - The class to use to retrieve the resource.name - The resource name.
See Class.getResource(String) for format.locale - The locale of the resource to retrieve.
IOException - Thrown by underlying stream.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.