Constructor and Description |
---|
TextRecorder() |
Modifier and Type | Method and Description |
---|---|
EventSequence |
process(File file)
Runs the recorder on the specified file.
|
EventSequence |
process(String text)
Runs this recorder on the specified string.
|
public EventSequence process(File file) throws LoadingException, IOException
This method will count on the InputSource
to guess the correct encoding.
process
in interface Recorder
file
- The file to process.LoadingException
- If thrown whilst parsing.IOException
- Should I/O error occur.public EventSequence process(String text) throws LoadingException, IOException
process
in interface Recorder
text
- The text string to process.LoadingException
- If thrown whilst parsing.IOException
- Should I/O error occur.Copyright © 2007-2018. All Rights Reserved.