psdi.common.emailstner

Class LSNRHTMLTagRemover

  • java.lang.Object
    • psdi.common.emailstner.LSNRHTMLTagRemover


  • public class LSNRHTMLTagRemover
    extends java.lang.Object
    A class to remove HTML tags from an incoming email message body.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String removeTag(java.lang.String msgBody)
      Removes HTML tags from the message body.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LSNRHTMLTagRemover

        public LSNRHTMLTagRemover()
    • Method Detail

      • removeTag

        public java.lang.String removeTag(java.lang.String msgBody)
                                   throws java.lang.Exception
        Removes HTML tags from the message body.
        Parameters:
        msgBody -
        Returns:
        String without any HTML tags.
        Throws:
        java.lang.Exception