public class PathLocationResolver extends Object implements ContentLocationResolver<String,URI>
ContentLocationResolver locates published files from the local File System| Constructor and Description |
|---|
PathLocationResolver() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFolderLocation() |
URI |
getLocation(String webPath,
String facetNameId)
Get the location of content
|
void |
setFolderLocation(String folderLocation) |
public URI getLocation(String webPath, String facetNameId) throws Exception
getLocation in interface ContentLocationResolver<String,URI>webPath - as String. The is API will
take the literal implementation of the webPath.
For this reasons it is recommended the webPath be cleaned of protocol, host, port before it is passed if we wish a more generic Page level match.facetNameId - as StringURIExceptionpublic String getFolderLocation()
public void setFolderLocation(String folderLocation)
Copyright © 2018. All rights reserved.