public final class FileVaultResourceMapper extends Object implements FsResourceMapper
| Constructor and Description |
|---|
FileVaultResourceMapper(File providerFile,
File filterXmlFile,
ContentFileCache contentFileCache,
FileStatCache fileStatCache) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<org.apache.sling.api.resource.Resource> |
getChildren(org.apache.sling.api.resource.ResourceResolver resolver,
org.apache.sling.api.resource.Resource parent)
Get children of resource.
|
org.apache.sling.api.resource.Resource |
getResource(org.apache.sling.api.resource.ResourceResolver resolver,
String resourcePath)
Get single resource.
|
boolean |
pathMatches(String path)
Checks if the given path matches the workspace filter.
|
public FileVaultResourceMapper(File providerFile, File filterXmlFile, ContentFileCache contentFileCache, FileStatCache fileStatCache)
public org.apache.sling.api.resource.Resource getResource(org.apache.sling.api.resource.ResourceResolver resolver,
String resourcePath)
FsResourceMappergetResource in interface FsResourceMapperresolver - Resource resolverresourcePath - Resource pathpublic Iterator<org.apache.sling.api.resource.Resource> getChildren(org.apache.sling.api.resource.ResourceResolver resolver, org.apache.sling.api.resource.Resource parent)
FsResourceMappergetChildren in interface FsResourceMapperresolver - Resource resolver.parent - Parent resource.public boolean pathMatches(String path)
path - PathCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.