Package com.sshtools.client.shell
Class ShellDefaultMatcher
java.lang.Object
com.sshtools.client.shell.ShellDefaultMatcher
- All Implemented Interfaces:
ShellMatcher
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sshtools.client.shell.ShellMatcher
ShellMatcher.Continue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMatch a command output line against a defined pattern.
-
Constructor Details
-
ShellDefaultMatcher
public ShellDefaultMatcher()
-
-
Method Details
-
matches
Description copied from interface:ShellMatcher
Match a command output line against a defined pattern.- Specified by:
matches
in interfaceShellMatcher
- Parameters:
line
- the line of output to searchpattern
- the pattern required- Returns:
- boolean
-