Package org.biojava.bio.symbol
Interface SoftMaskedAlphabet.MaskingDetector
- All Known Implementing Classes:
SoftMaskedAlphabet.MaskingDetector.DefaultMaskingDetector
- Enclosing class:
SoftMaskedAlphabet
public static interface SoftMaskedAlphabet.MaskingDetector
Implementations will define how soft masking looks. The
DEFAULT
implementation considers softmasking to be represented
by lower case characters.
Copyright (c) 2004 Novartis Institute for Tropical Diseases
- Version:
- 1.0
- Author:
- Mark Schreiber
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
-
Field Summary
Fields -
Method Summary
-
Field Details
-
DEFAULT
-
-
Method Details
-
isMasked
-
mask
Present the token for aSymbol
as it would appear if masked- Parameters:
token
- theString
to mask.- Returns:
- the masked token
-
unmask
Present the token for aSymbol
as it would appear if it wasn't softmasked- Parameters:
token
- theString
to un-mask.- Returns:
- the un-masked token
-