org.wicketopia.util
Class Pluralizer

java.lang.Object
  extended by org.wicketopia.util.Pluralizer

public abstract class Pluralizer
extends Object

Borrowed from the spring framework.

Since:
1.0

Nested Class Summary
static interface Pluralizer.PluralizationRule
           
 
Constructor Summary
Pluralizer()
           
 
Method Summary
static String pluralize(String term)
           
static void registerPluralizationRule(Pluralizer.PluralizationRule rule)
           
static String splitIntoWords(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pluralizer

public Pluralizer()
Method Detail

pluralize

public static String pluralize(String term)

registerPluralizationRule

public static void registerPluralizationRule(Pluralizer.PluralizationRule rule)

splitIntoWords

public static String splitIntoWords(String name)


Copyright © 2010-2013. All Rights Reserved.