Class ShellDefaultMatcher

java.lang.Object
com.sshtools.client.shell.ShellDefaultMatcher
All Implemented Interfaces:
ShellMatcher

public class ShellDefaultMatcher extends Object implements ShellMatcher
  • Constructor Details

    • ShellDefaultMatcher

      public ShellDefaultMatcher()
  • Method Details

    • matches

      public ShellMatcher.Continue matches(String line, String pattern)
      Description copied from interface: ShellMatcher
      Match a command output line against a defined pattern.
      Specified by:
      matches in interface ShellMatcher
      Parameters:
      line - the line of output to search
      pattern - the pattern required
      Returns:
      boolean