public final class ContentFileResource
extends org.apache.sling.api.resource.AbstractResource
Modifier and Type | Method and Description |
---|---|
<AdapterType> |
adaptTo(@Nullable Class<AdapterType> type) |
@NotNull String |
getPath() |
@NotNull org.apache.sling.api.resource.ResourceMetadata |
getResourceMetadata() |
@NotNull org.apache.sling.api.resource.ResourceResolver |
getResourceResolver() |
String |
getResourceSuperType() |
@NotNull String |
getResourceType() |
String |
toString() |
getChild, getChildren, getName, getParent, getValueMap, hasChildren, isResourceType, listChildren
@NotNull public @NotNull String getPath()
@NotNull public @NotNull org.apache.sling.api.resource.ResourceMetadata getResourceMetadata()
@NotNull public @NotNull org.apache.sling.api.resource.ResourceResolver getResourceResolver()
public String getResourceSuperType()
@NotNull public @NotNull String getResourceType()
public <AdapterType> AdapterType adaptTo(@Nullable @Nullable Class<AdapterType> type)
adaptTo
in interface org.apache.sling.api.adapter.Adaptable
adaptTo
in class org.apache.sling.api.adapter.SlingAdaptable
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.