public class ClasspathResourceProvider extends AbstractDataResourceProvider<ClasspathResource>
DataResourceProvider
for
ClasspathResource
.Constructor and Description |
---|
ClasspathResourceProvider()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
ClasspathResource |
createResource(ResourceUri resourceUri)
This method creates a new
resource for the given resourceUri . |
Class<ClasspathResource> |
getResourceType()
This method gets the type of the resource managed by this provider.
|
String[] |
getSchemePrefixes()
This method gets the scheme-prefix of the
resources managed by this provider. |
createLogger, doInitialize, getLogger
doInitialized, getInitializationState, initialize
public String[] getSchemePrefixes()
DataResourceProvider
resources
managed by this provider.ResourceUri.getSchemePrefix()
public Class<ClasspathResource> getResourceType()
DataResourceProvider
BrowsableResource
.public ClasspathResource createResource(ResourceUri resourceUri)
DataResourceProvider
resource
for the given resourceUri
.resourceUri
- is the ResourceUri
.resource
for the given resourceUri
.Copyright © 2001–2016 mmm-Team. All rights reserved.