com.maverick.ssh
Interface ShellProcess.Matcher

Enclosing interface:
ShellProcess

public static interface ShellProcess.Matcher

This interface defines the contract for a matching operation.

Author:
Lee David Painter

Method Summary
 boolean matches(java.lang.String line, java.lang.String pattern)
          Match a command output line against a defined pattern.
 

Method Detail

matches

public boolean matches(java.lang.String line,
                       java.lang.String pattern)
Match a command output line against a defined pattern.

Parameters:
line - the line of output to search
pattern - the pattern required
Returns:
boolean


Copyright © 2003 3SP LTD. All Rights Reserved.