org.rhq.enterprise.gui.util
Class CustomEnglishPluralizer

java.lang.Object
  extended by org.jvnet.inflector.RuleBasedPluralizer
      extended by org.rhq.enterprise.gui.util.CustomEnglishPluralizer
All Implemented Interfaces:
org.jvnet.inflector.Pluralizer

public class CustomEnglishPluralizer
extends org.jvnet.inflector.RuleBasedPluralizer

A tweaked copy of org.jvnet.inflector.lang.en.NounPluralizer. Comments labeled with "[RHQ]" describe the tweaks.

Author:
Ian Springer

Constructor Summary
CustomEnglishPluralizer()
           
 
Method Summary
protected  String postProcess(String trimmedWord, String pluralizedWord)
           
 
Methods inherited from class org.jvnet.inflector.RuleBasedPluralizer
getFallbackPluralizer, getLocale, getRules, pluralize, pluralize, pluralizeInternal, setFallbackPluralizer, setLocale, setRules
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomEnglishPluralizer

public CustomEnglishPluralizer()
Method Detail

postProcess

protected String postProcess(String trimmedWord,
                             String pluralizedWord)
Overrides:
postProcess in class org.jvnet.inflector.RuleBasedPluralizer


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.