Class KnownHostMatchers.WildcardHostMatcher

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.regex.Pattern pattern  
    • Constructor Summary

      Constructors 
      Constructor Description
      WildcardHostMatcher​(java.lang.String hostEntry)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean match​(java.lang.String hostname)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • pattern

        private final java.util.regex.Pattern pattern
    • Constructor Detail

      • WildcardHostMatcher

        public WildcardHostMatcher​(java.lang.String hostEntry)
    • Method Detail

      • match

        public boolean match​(java.lang.String hostname)
                      throws java.io.IOException
        Specified by:
        match in interface KnownHostMatchers.HostMatcher
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object