|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.bio.symbol.SoftMaskedAlphabet.MaskingDetector.DefaultMaskingDetector
public static class SoftMaskedAlphabet.MaskingDetector.DefaultMaskingDetector
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.biojava.bio.symbol.SoftMaskedAlphabet.MaskingDetector |
|---|
SoftMaskedAlphabet.MaskingDetector.DefaultMaskingDetector |
| Field Summary |
|---|
| Fields inherited from interface org.biojava.bio.symbol.SoftMaskedAlphabet.MaskingDetector |
|---|
DEFAULT |
| Constructor Summary | |
|---|---|
SoftMaskedAlphabet.MaskingDetector.DefaultMaskingDetector()
|
|
| Method Summary | |
|---|---|
boolean |
isMasked(java.lang.String token)
Default Behaivour is that if the whole token is lower case it is masked. |
java.lang.String |
mask(java.lang.String token)
Masks a token by making it lowercase |
java.lang.String |
unmask(java.lang.String token)
Un-masks the token by making it upper case. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SoftMaskedAlphabet.MaskingDetector.DefaultMaskingDetector()
| Method Detail |
|---|
public boolean isMasked(java.lang.String token)
isMasked in interface SoftMaskedAlphabet.MaskingDetectortoken - the String to check for masking
public java.lang.String mask(java.lang.String token)
mask in interface SoftMaskedAlphabet.MaskingDetectortoken - the String to mask
Stringpublic java.lang.String unmask(java.lang.String token)
unmask in interface SoftMaskedAlphabet.MaskingDetectortoken - the String to unmask
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||