Class KnownHostMatchers.NegateHostMatcher
- java.lang.Object
-
- com.hierynomus.sshj.transport.verification.KnownHostMatchers.NegateHostMatcher
-
- All Implemented Interfaces:
KnownHostMatchers.HostMatcher
- Enclosing class:
- KnownHostMatchers
private static class KnownHostMatchers.NegateHostMatcher extends java.lang.Object implements KnownHostMatchers.HostMatcher
-
-
Field Summary
Fields Modifier and Type Field Description private KnownHostMatchers.HostMatcher
matcher
-
Constructor Summary
Constructors Constructor Description NegateHostMatcher(java.lang.String hostEntry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
match(java.lang.String hostname)
-
-
-
Field Detail
-
matcher
private final KnownHostMatchers.HostMatcher matcher
-
-
Constructor Detail
-
NegateHostMatcher
NegateHostMatcher(java.lang.String hostEntry) throws SSHException
- Throws:
SSHException
-
-
Method Detail
-
match
public boolean match(java.lang.String hostname) throws java.io.IOException
- Specified by:
match
in interfaceKnownHostMatchers.HostMatcher
- Throws:
java.io.IOException
-
-