Class CharacterReceiver
- java.lang.Object
-
- org.apache.manifoldcf.connectorcommon.fuzzyml.CharacterReceiver
-
- Direct Known Subclasses:
SingleCharacterReceiver
public abstract class CharacterReceiver extends java.lang.Object
This 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 boolean
dealWithCharacters(java.io.Reader reader)
Receive a stream of characters.void
finishUp()
Finish up all processing.
-
-
-
Method Detail
-
dealWithCharacters
public abstract boolean dealWithCharacters(java.io.Reader reader) throws java.io.IOException, ManifoldCFException
Receive a stream of characters.- Returns:
- true if abort signalled, false if end of stream.
- Throws:
java.io.IOException
ManifoldCFException
-
finishUp
public void finishUp() throws ManifoldCFException
Finish up all processing. Called ONLY if we haven't already aborted.- Throws:
ManifoldCFException
-
-