public class MaskFormatterSubString extends Object implements MaskFormatter
| Modifier and Type | Field and Description |
|---|---|
protected String |
maskCharacter |
protected int |
maskLength |
| Constructor and Description |
|---|
MaskFormatterSubString() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMaskCharacter()
Gets the maskCharacter attribute.
|
int |
getMaskLength()
Gets the maskLength attribute.
|
String |
maskValue(Object value)
Takes in the real data value and returns a masked string.
|
void |
setMaskCharacter(String maskCharacter)
Specify the character with which to mask the original value.
|
void |
setMaskLength(int maskLength)
Set the number of characters to mask at the beginning of the string.
|
protected String maskCharacter
protected int maskLength
public MaskFormatterSubString()
public String maskValue(Object value)
MaskFormattermaskValue in interface MaskFormattervalue - - data valuepublic String getMaskCharacter()
public void setMaskCharacter(String maskCharacter)
maskCharacter - for masking valuespublic int getMaskLength()
public void setMaskLength(int maskLength)
maskLength - The maskLength to set.Copyright © 2005–2014 The Kuali Foundation. All rights reserved.