public static interface SoftMaskedAlphabet.MaskingDetector
DEFAULT
implementation considers softmasking to be represented
by lower case characters.
Copyright (c) 2004 Novartis Institute for Tropical Diseases
Modifier and Type | Interface and Description |
---|---|
static class |
SoftMaskedAlphabet.MaskingDetector.DefaultMaskingDetector |
Modifier and Type | Field and Description |
---|---|
static SoftMaskedAlphabet.MaskingDetector |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
boolean |
isMasked(java.lang.String token) |
java.lang.String |
mask(java.lang.String token)
Present the token for a
Symbol as it would appear if masked |
java.lang.String |
unmask(java.lang.String token)
Present the token for a
Symbol as it would appear if
it wasn't softmasked |
static final SoftMaskedAlphabet.MaskingDetector DEFAULT
boolean isMasked(java.lang.String token)
java.lang.String mask(java.lang.String token)
Symbol
as it would appear if maskedtoken
- the String
to mask.java.lang.String unmask(java.lang.String token)
Symbol
as it would appear if
it wasn't softmaskedtoken
- the String
to un-mask.