|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RuleGroup
This interface defines the mandatory method for all RuleGroup implementations.
A rule group is a set of regular expression rules to translate text.
| Method Summary | |
|---|---|
String |
applyRules(String text)
Implementations of this interface must implement this method to translate text based on rules. |
String |
reverseRules(String text)
This method can be used to reverse the rules which have been applied in applyRules(String). |
| Method Detail |
|---|
String applyRules(String text)
text - The text to be translated.
String reverseRules(String text)
applyRules(String).
text - The text to be translated.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||