org.jscience.io
Interface InterceptInputStream.Handler

All Known Implementing Classes:
ReplaceInputStream
Enclosing class:
InterceptInputStream

public static interface InterceptInputStream.Handler

used to handle pattern occurences for an InterceptInputStream


Method Summary
 void patternFound(InterceptInputStream stream, byte[] pattern)
          at the time this method is called, the given stream is at the beginning of the given pattern that is to be read next
 

Method Detail

patternFound

void patternFound(InterceptInputStream stream,
                  byte[] pattern)
at the time this method is called, the given stream is at the beginning of the given pattern that is to be read next

Parameters:
stream - DOCUMENT ME!
pattern - DOCUMENT ME!