org.sadun.util
Class TelnetInputStreamConsumer.PatternBasedCriterium

java.lang.Object
  extended byorg.sadun.util.TelnetInputStreamConsumer.PatternBasedCriterium
All Implemented Interfaces:
TelnetInputStreamConsumer.Criterium
Enclosing class:
TelnetInputStreamConsumer

public static class TelnetInputStreamConsumer.PatternBasedCriterium
extends java.lang.Object
implements TelnetInputStreamConsumer.Criterium

A criterium based on regular expression matching.

Version:
1.0
Author:
Cristiano Sadun

Method Summary
 boolean holds(java.lang.String input)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

holds

public boolean holds(java.lang.String input)
Specified by:
holds in interface TelnetInputStreamConsumer.Criterium

toString

public java.lang.String toString()