Package org.daisy.braille.pef
Class TextInputDetector
java.lang.Object
org.daisy.braille.pef.TextInputDetector
Provides a method for detecting a table based on text input.
- Author:
- Joel HÃ¥kansson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondetect
(InputStream is) Detects tables matching the supplied text input.
-
Constructor Details
-
TextInputDetector
public TextInputDetector()Creates a new TextInputDetector
-
-
Method Details
-
detect
Detects tables matching the supplied text input. Only tables that create non-identical output are included. Therefore, more than one match indicates that the output would look different depending on the table chosen.- Parameters:
is
- text input stream- Returns:
- returns a list of matching tables
- Throws:
IOException
- if input cannot be read
-