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