Class AntiSamyPattern


  • public class AntiSamyPattern
    extends java.lang.Object
    An extension of the Pattern with helper methods.
    Author:
    Arshan Dabirsiaghi
    • Constructor Summary

      Constructors 
      Constructor Description
      AntiSamyPattern​(java.util.regex.Pattern pattern)
      Constructor for AntiSamyPattern.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.regex.Pattern getPattern()  
      java.util.regex.Matcher matcher​(java.lang.CharSequence input)  
      boolean matches​(java.lang.String other)  
      • Methods inherited from class java.lang.Object

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

      • AntiSamyPattern

        public AntiSamyPattern​(java.util.regex.Pattern pattern)
        Constructor for AntiSamyPattern.
        Parameters:
        pattern - The Pattern to lookup based on the "name".
    • Method Detail

      • getPattern

        public java.util.regex.Pattern getPattern()
        Returns:
        Return the Pattern of the AntiSamyPattern.
      • matcher

        public java.util.regex.Matcher matcher​(java.lang.CharSequence input)
      • matches

        public boolean matches​(java.lang.String other)