Class FileVaultResourceMapper
java.lang.Object
org.apache.sling.fsprovider.internal.mapper.FileResourceMapper
org.apache.sling.fsprovider.internal.mapper.FileVaultResourceMapper
-
Field Summary
Fields inherited from class org.apache.sling.fsprovider.internal.mapper.FileResourceMapper
contentFileCache, fileStatCache, overlayParentResourceProvider, providerFile -
Constructor Summary
ConstructorsConstructorDescriptionFileVaultResourceMapper(String providerRoot, File providerFile, org.apache.sling.fsprovider.internal.ContentFileExtensions contentFileExtensions, ContentFileCache contentFileCache, org.apache.sling.fsprovider.internal.FileStatCache fileStatCache, boolean overlayParentResourceProvider, File filterXmlFile) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddChildren(List<Iterator<? extends org.apache.sling.api.resource.Resource>> allChildren, Iterator<org.apache.sling.api.resource.Resource> children) protected booleanresolveChildren(org.apache.sling.api.resource.ResourceResolver resolver, org.apache.sling.api.resource.Resource parent, List<Iterator<? extends org.apache.sling.api.resource.Resource>> allChildren) resolveResource(org.apache.sling.api.resource.ResourceResolver resolver, String path) transformPath(String path) Transforms the path based on the mode.Methods inherited from class org.apache.sling.fsprovider.internal.mapper.FileResourceMapper
getResource, listChildren
-
Constructor Details
-
FileVaultResourceMapper
public FileVaultResourceMapper(String providerRoot, File providerFile, org.apache.sling.fsprovider.internal.ContentFileExtensions contentFileExtensions, ContentFileCache contentFileCache, org.apache.sling.fsprovider.internal.FileStatCache fileStatCache, boolean overlayParentResourceProvider, File filterXmlFile)
-
-
Method Details
-
transformPath
Description copied from class:FileResourceMapperTransforms the path based on the mode. By default this method does nothing- Overrides:
transformPathin classFileResourceMapper- Returns:
- The transformed path
-
resolveResource
protected Map.Entry<org.apache.sling.api.resource.Resource,Boolean> resolveResource(org.apache.sling.api.resource.ResourceResolver resolver, String path) - Overrides:
resolveResourcein classFileResourceMapper
-
resolveChildren
protected boolean resolveChildren(org.apache.sling.api.resource.ResourceResolver resolver, org.apache.sling.api.resource.Resource parent, List<Iterator<? extends org.apache.sling.api.resource.Resource>> allChildren) - Overrides:
resolveChildrenin classFileResourceMapper
-
addChildren
protected void addChildren(List<Iterator<? extends org.apache.sling.api.resource.Resource>> allChildren, Iterator<org.apache.sling.api.resource.Resource> children) - Overrides:
addChildrenin classFileResourceMapper
-