public class URLConverterFilterPlugin extends BaseXMLFilterPlugin
| Constructor and Description |
|---|
URLConverterFilterPlugin(org.exoplatform.container.xml.InitParams params)
Constructor with InitParams from container, if url.length > UrlMaxLength then the url display will be shorten.
|
URLConverterFilterPlugin(int urlMaxLength)
Constructor with max length of URL, if url.length > UrlMaxLength then the url display will be shorten.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
doFilter(Object input)
Filters the input data.
|
int |
getUrlMaxLength()
Gets max length of URL, if url.length > urlMaxLength and urlMaxLength >= 3 then the url display will be shorten
|
void |
setUrlMaxLength(int urlMaxLength)
Sets max length of URL, if url.length > urlMaxLength and urlMaxLength >= 3 then the url display will be shorten.
|
public URLConverterFilterPlugin(int urlMaxLength)
urlMaxLength - public URLConverterFilterPlugin(org.exoplatform.container.xml.InitParams params)
params - public Object doFilter(Object input)
input - the input datapublic int getUrlMaxLength()
public void setUrlMaxLength(int urlMaxLength)
urlMaxLength - Copyright © 2003–2018 eXo Platform SAS. All rights reserved.