Class CleanPhoneText


  • public class CleanPhoneText
    extends java.lang.Object
    Class to help de-obfuscate phone numbers in text.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String[][][] cleanSubstitutions  
    • Constructor Summary

      Constructors 
      Constructor Description
      CleanPhoneText()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String clean​(java.lang.String text)  
      static java.util.ArrayList<java.lang.String> extractPhoneNumbers​(java.lang.String text)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • cleanSubstitutions

        public static final java.lang.String[][][] cleanSubstitutions
    • Constructor Detail

      • CleanPhoneText

        public CleanPhoneText()
    • Method Detail

      • extractPhoneNumbers

        public static java.util.ArrayList<java.lang.String> extractPhoneNumbers​(java.lang.String text)
      • clean

        public static java.lang.String clean​(java.lang.String text)