Class KnownHostMatchers.AnyHostMatcher
- java.lang.Object
-
- com.hierynomus.sshj.transport.verification.KnownHostMatchers.AnyHostMatcher
-
- All Implemented Interfaces:
KnownHostMatchers.HostMatcher
- Enclosing class:
- KnownHostMatchers
private static class KnownHostMatchers.AnyHostMatcher extends java.lang.Object implements KnownHostMatchers.HostMatcher
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<KnownHostMatchers.HostMatcher>
matchers
-
Constructor Summary
Constructors Constructor Description AnyHostMatcher(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
-
matchers
private final java.util.List<KnownHostMatchers.HostMatcher> matchers
-
-
Constructor Detail
-
AnyHostMatcher
AnyHostMatcher(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
-
-