de.danielnaber.languagetool.rules
Class IncorrectExample
Object
IncorrectExample
public class IncorrectExample
- extends Object
A text, typically a sentence that contains an error.
- Since:
- 0.9.2
- Author:
- Daniel Naber
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IncorrectExample
public IncorrectExample(String example)
IncorrectExample
public IncorrectExample(String example,
String[] corrections)
getExample
public String getExample()
- Return the example that contains the error.
- Returns:
getCorrections
public List<String> getCorrections()
- Return the possible corrections. May be null.
- Returns:
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2005-2007 Daniel Naber