Package org.craftercms.core.url.impl
Class RemovePrefixAndSuffixUrlTransformer
- java.lang.Object
-
- org.craftercms.core.url.impl.RemovePrefixAndSuffixUrlTransformer
-
- All Implemented Interfaces:
UrlTransformer
public class RemovePrefixAndSuffixUrlTransformer extends Object implements UrlTransformer
Class description goes HERE- Author:
- Alfonso Vásquez
-
-
Constructor Summary
Constructors Constructor Description RemovePrefixAndSuffixUrlTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setPrefix(String prefix)
void
setSuffix(String suffix)
String
transformUrl(Context context, CachingOptions cachingOptions, String url)
-
-
-
Method Detail
-
setPrefix
public void setPrefix(String prefix)
-
setSuffix
public void setSuffix(String suffix)
-
transformUrl
public String transformUrl(Context context, CachingOptions cachingOptions, String url) throws UrlTransformationException
- Specified by:
transformUrl
in interfaceUrlTransformer
- Throws:
UrlTransformationException
-
-