Class KnownHostMatchers.WildcardHostMatcher
- java.lang.Object
-
- com.hierynomus.sshj.transport.verification.KnownHostMatchers.WildcardHostMatcher
-
- All Implemented Interfaces:
KnownHostMatchers.HostMatcher
- Enclosing class:
- KnownHostMatchers
private static class KnownHostMatchers.WildcardHostMatcher extends java.lang.Object implements KnownHostMatchers.HostMatcher
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.regex.Patternpattern
-
Constructor Summary
Constructors Constructor Description WildcardHostMatcher(java.lang.String hostEntry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatch(java.lang.String hostname)java.lang.StringtoString()
-
-
-
Method Detail
-
match
public boolean match(java.lang.String hostname) throws java.io.IOException- Specified by:
matchin interfaceKnownHostMatchers.HostMatcher- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-