| 限定符和类型 | 字段和说明 |
|---|---|
private int |
features |
| 构造器和说明 |
|---|
FormatOption() |
FormatOption(boolean ucase) |
FormatOption(boolean ucase,
boolean prettyFormat) |
FormatOption(boolean ucase,
boolean prettyFormat,
boolean parameterized) |
FormatOption(VisitorFeature... features) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
config(VisitorFeature feature,
boolean state) |
boolean |
isDesensitize() |
boolean |
isEnabled(VisitorFeature feature) |
boolean |
isParameterized() |
boolean |
isPrettyFormat() |
boolean |
isUppCase() |
void |
setDesensitize(boolean val) |
void |
setParameterized(boolean parameterized) |
void |
setPrettyFormat(boolean prettyFormat) |
void |
setUppCase(boolean val) |
public FormatOption()
public FormatOption(VisitorFeature... features)
public FormatOption(boolean ucase)
public FormatOption(boolean ucase,
boolean prettyFormat)
public FormatOption(boolean ucase,
boolean prettyFormat,
boolean parameterized)
public boolean isDesensitize()
public void setDesensitize(boolean val)
public boolean isUppCase()
public void setUppCase(boolean val)
public boolean isPrettyFormat()
public void setPrettyFormat(boolean prettyFormat)
public boolean isParameterized()
public void setParameterized(boolean parameterized)
public void config(VisitorFeature feature, boolean state)
public final boolean isEnabled(VisitorFeature feature)
Copyright © 2013–2019 Alibaba Group. All rights reserved.