Class ContentFileResource
java.lang.Object
org.apache.sling.api.adapter.SlingAdaptable
org.apache.sling.api.resource.AbstractResource
org.apache.sling.fsprovider.internal.mapper.ContentFileResource
- All Implemented Interfaces:
org.apache.sling.api.adapter.Adaptable
,org.apache.sling.api.resource.Resource
public final class ContentFileResource
extends org.apache.sling.api.resource.AbstractResource
Represents a JSON File with resource content.
-
Field Summary
Fields inherited from interface org.apache.sling.api.resource.Resource
RESOURCE_TYPE_NON_EXISTING
-
Method Summary
Methods inherited from class org.apache.sling.api.resource.AbstractResource
getChild, getChildren, getName, getParent, getValueMap, hasChildren, isResourceType, listChildren
Methods inherited from class org.apache.sling.api.adapter.SlingAdaptable
setAdapterManager, unsetAdapterManager
-
Method Details
-
getPath
-
getResourceMetadata
@NotNull public @NotNull org.apache.sling.api.resource.ResourceMetadata getResourceMetadata() -
getResourceResolver
@NotNull public @NotNull org.apache.sling.api.resource.ResourceResolver getResourceResolver() -
getResourceSuperType
-
getResourceType
-
adaptTo
- Specified by:
adaptTo
in interfaceorg.apache.sling.api.adapter.Adaptable
- Overrides:
adaptTo
in classorg.apache.sling.api.adapter.SlingAdaptable
-
toString
-