public class RamlUrlResourceLoader extends Object implements ResourceLoaderExtended
| Modifier and Type | Field and Description |
|---|---|
static String |
APPLICATION_RAML |
| Constructor and Description |
|---|
RamlUrlResourceLoader() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
fetchResource(String resourceName)
Returns an input stream for reading the specified resource.
|
InputStream |
fetchResource(String resourceName,
ResourceUriCallback callback)
Returns an input stream for reading the specified resource.
|
public static final String APPLICATION_RAML
public InputStream fetchResource(String resourceName, ResourceUriCallback callback)
ResourceLoaderExtendedfetchResource in interface ResourceLoaderExtendedresourceName - the resource to try to fetch@Nullable public InputStream fetchResource(String resourceName)
ResourceLoaderfetchResource in interface ResourceLoaderresourceName - the resource to try to fetchCopyright © 2017. All rights reserved.