Class Detainter

java.lang.Object
skyview.request.Detainter
Direct Known Subclasses:
SkyViewDetainter

public abstract class Detainter
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    Detainter()  
  • Method Summary

    Modifier and Type Method Description
    void addPattern​(java.lang.String name, java.util.regex.Pattern pattern)  
    java.util.regex.Pattern getPattern​(java.lang.String name)  
    abstract boolean validate​(java.lang.String name, java.lang.String input)  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getPattern

      public java.util.regex.Pattern getPattern​(java.lang.String name) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • addPattern

      public void addPattern​(java.lang.String name, java.util.regex.Pattern pattern)
    • validate

      public abstract boolean validate​(java.lang.String name, java.lang.String input) throws java.lang.Exception
      Throws:
      java.lang.Exception