public class FileResourceProvider extends AbstractDataResourceProvider<FileResource>
DataResourceProvider for
FileResource.| Constructor and Description |
|---|
FileResourceProvider()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
FileResource |
createResource(ResourceUri resourceUri)
This method creates a new
resource for the given resourceUri. |
protected void |
doInitialize()
This method performs the actual
initialization. |
Class<FileResource> |
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. |
void |
setFileUtil(FileUtil fileUtil) |
createLogger, getLoggerdoInitialized, getInitializationState, initializeprivate FileUtil fileUtil
protected void doInitialize()
AbstractComponentinitialization. It is called when AbstractComponent.initialize() is
invoked for the first time. super.AbstractComponent.doInitialize().doInitialize in class AbstractLoggableComponent@Inject public void setFileUtil(FileUtil fileUtil)
fileUtil - is the fileUtil to setpublic String[] getSchemePrefixes()
DataResourceProviderresources managed by this provider.ResourceUri.getSchemePrefix()public Class<FileResource> getResourceType()
DataResourceProviderBrowsableResource.public FileResource createResource(ResourceUri resourceUri)
DataResourceProviderresource for the given resourceUri.resourceUri - is the ResourceUri.resource for the given resourceUri.Copyright © 2001–2016 mmm-Team. All rights reserved.