Package com.topologi.diffx.load
Class TextRecorder
java.lang.Object
com.topologi.diffx.load.TextRecorder
- All Implemented Interfaces:
Recorder
Records the line events in a text.
- Version:
- 17 October 2006
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRuns the recorder on the specified file.Runs this recorder on the specified string.
-
Constructor Details
-
TextRecorder
public TextRecorder()
-
-
Method Details
-
process
Runs the recorder on the specified file.This method will count on the
InputSourceto guess the correct encoding.- Specified by:
processin interfaceRecorder- Parameters:
file- The file to process.- Returns:
- The recorded sequence of events.
- Throws:
LoadingException- If thrown whilst parsing.IOException- Should I/O error occur.
-
process
Runs this recorder on the specified string.- Specified by:
processin interfaceRecorder- Parameters:
text- The text string to process.- Returns:
- The recorded sequence of events.
- Throws:
LoadingException- If thrown whilst parsing.IOException- Should I/O error occur.
-