Class CharacterReceiver
- java.lang.Object
-
- org.apache.manifoldcf.connectorcommon.fuzzyml.CharacterReceiver
-
- Direct Known Subclasses:
SingleCharacterReceiver
public abstract class CharacterReceiver extends java.lang.ObjectThis interface represents a receiver for characters.
-
-
Constructor Summary
Constructors Constructor Description CharacterReceiver()Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleandealWithCharacters(java.io.Reader reader)Receive a stream of characters.voidfinishUp()Finish up all processing.
-
-
-
Method Detail
-
dealWithCharacters
public abstract boolean dealWithCharacters(java.io.Reader reader) throws java.io.IOException, ManifoldCFExceptionReceive a stream of characters.- Returns:
- true if abort signalled, false if end of stream.
- Throws:
java.io.IOExceptionManifoldCFException
-
finishUp
public void finishUp() throws ManifoldCFExceptionFinish up all processing. Called ONLY if we haven't already aborted.- Throws:
ManifoldCFException
-
-