Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/media/mn8/protocol/jabber/xmlparser/ReadEndChecker.java


1   /* 
2    * $COPYRIGHT$
3    * $Id: ReadEndChecker.java,v 1.2 2002/04/11 12:03:38 neuro Exp $
4    *
5    * Date        Author            Changes 
6    * APR 08 2002 Szabo Csaba       Created
7    */
8   package org.media.mn8.protocol.jabber.xmlparser;
9   
10  /**
11   * Interface for classes wishing to be able to stop the reading of the incomming data stream.
12   */
13  public interface ReadEndChecker {
14   
15      /**
16       * Method to say whether a read should stop on this character.
17       *
18       * @param char The character to test.
19       * @return true if the reading should end, false otherwise.
20       */
21      boolean shouldStop( int c );
22  }