org.sadun.util
Class TelnetInputStreamConsumer.ContainsStringCriterium

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

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

A criterium which holds if a certain string is found in the input.

Version:
1.0
Author:
Cristiano Sadun

Constructor Summary
TelnetInputStreamConsumer.ContainsStringCriterium(java.lang.String s)
           
 
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
 

Constructor Detail

TelnetInputStreamConsumer.ContainsStringCriterium

public TelnetInputStreamConsumer.ContainsStringCriterium(java.lang.String s)
Method Detail

holds

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

toString

public java.lang.String toString()