C
- public class ContentNameConsumer<C extends AbstractContent> extends Object implements Consumer<C>
replacePattern
,
replaceWith
Constructor and Description |
---|
ContentNameConsumer() |
Modifier and Type | Method and Description |
---|---|
void |
accept(C c) |
String |
getReplacePattern()
|
String |
getReplaceWith()
|
boolean |
isToLower()
If true will ensure all names are in lower case for consistency
|
void |
setReplacePattern(String replacePattern)
|
void |
setReplaceWith(String replaceWith)
|
void |
setToLower(boolean toLower)
If true will ensure all names are in lower case for consistency
|
public void accept(C c)
accept
in interface Consumer<C extends AbstractContent>
public String getReplacePattern()
public void setReplacePattern(String replacePattern)
public String getReplaceWith()
public void setReplaceWith(String replaceWith)
public boolean isToLower()
public void setToLower(boolean toLower)
Copyright © 2018. All rights reserved.