|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mmm.util.component.base.AbstractComponent
net.sf.mmm.util.component.base.AbstractLoggableComponent
net.sf.mmm.util.resource.base.spi.AbstractDataResourceProvider<FileResource>
net.sf.mmm.util.resource.impl.spi.FileResourceProvider
@Singleton @Named public class FileResourceProvider
This is the implementation of
DataResourceProvider for
FileResource.
| Field Summary | |
|---|---|
private FileUtil |
fileUtil
|
| Constructor Summary | |
|---|---|
FileResourceProvider()
The constructor. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class net.sf.mmm.util.component.base.AbstractLoggableComponent |
|---|
getLogger, setLogger |
| Methods inherited from class net.sf.mmm.util.component.base.AbstractComponent |
|---|
doInitialized, getInitializationState, initialize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private FileUtil fileUtil
createResource(ResourceUri)| Constructor Detail |
|---|
public FileResourceProvider()
| Method Detail |
|---|
protected void doInitialize()
initialization. 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()
resources
managed by this provider.
ResourceUri.getSchemePrefix()public Class<FileResource> getResourceType()
BrowsableResource.
public FileResource createResource(ResourceUri resourceUri)
resource for the given
resourceUri.
resourceUri - is the ResourceUri.
resource for the given
resourceUri.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||