net.thucydides.core.util
Class Inflection

Package class diagram package Inflection
java.lang.Object
  extended by net.thucydides.core.util.Inflection

public class Inflection
extends Object


Constructor Summary
protected Inflection(String word)
           
protected Inflection(String word, int pluralCount)
           
 
Method Summary
 Inflection asATitle()
           
 Inflection inHumanReadableForm()
           
 Inflection inPluralForm()
           
 Inflection inSingularForm()
           
 Inflection startingWithACapital()
           
 String toString()
           
 Inflection withUnderscores()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Inflection

protected Inflection(String word)

Inflection

protected Inflection(String word,
                     int pluralCount)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

inPluralForm

public Inflection inPluralForm()

inSingularForm

public Inflection inSingularForm()

startingWithACapital

public Inflection startingWithACapital()

inHumanReadableForm

public Inflection inHumanReadableForm()

withUnderscores

public Inflection withUnderscores()

asATitle

public Inflection asATitle()


Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.