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.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()
-
-
-
Method Detail
-
match
public boolean match(java.lang.String hostname) throws java.io.IOException
- Specified by:
match
in interfaceKnownHostMatchers.HostMatcher
- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-