Package org.atteo.evo.inflector
Class TwoFormInflector.RegExpRule
- java.lang.Object
-
- org.atteo.evo.inflector.TwoFormInflector.RegExpRule
-
- All Implemented Interfaces:
TwoFormInflector.Rule
- Enclosing class:
- TwoFormInflector
private static class TwoFormInflector.RegExpRule extends java.lang.Object implements TwoFormInflector.Rule
-
-
Constructor Summary
Constructors Modifier Constructor Description private
RegExpRule(java.util.regex.Pattern singular, java.lang.String plural)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPlural(java.lang.String word)
-
-
-
Method Detail
-
getPlural
public java.lang.String getPlural(java.lang.String word)
- Specified by:
getPlural
in interfaceTwoFormInflector.Rule
-
-