public class LinkRewriteConfig
extends java.lang.Object
LinkRewriteConfig
holds the prefix and suffix strings for
links that are invalid, expired or predated.Constructor and Description |
---|
LinkRewriteConfig(boolean remove,
java.lang.String prefix,
java.lang.String suffix)
Creates a new config.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPrefix()
Returns the prefix string
|
java.lang.String |
getSuffix()
Returns the suffix string
|
boolean |
remove()
Controls if the link should be removed
|
public LinkRewriteConfig(boolean remove, java.lang.String prefix, java.lang.String suffix)
remove
- indicates if the link should be removedprefix
- prefix stringsuffix
- suffix stringpublic boolean remove()
true
if the link should be removedpublic java.lang.String getPrefix()
public java.lang.String getSuffix()
Copyright © 2010 - 2020 Adobe. All Rights Reserved