uk.ydubey.formatter.numtoword
Class NumberInWordsFormatter

java.lang.Object
  extended by uk.ydubey.formatter.numtoword.NumberFormatter
      extended by uk.ydubey.formatter.numtoword.TwoDigitNumberInWordsFormatter
          extended by uk.ydubey.formatter.numtoword.ThreeDigitNumberInWordsFormatter
              extended by uk.ydubey.formatter.numtoword.NumberInWordsFormatter

public class NumberInWordsFormatter
extends ThreeDigitNumberInWordsFormatter


Constructor Summary
protected NumberInWordsFormatter()
           
 
Method Summary
static NumberInWordsFormatter getInstance()
           
 int getLimit()
           
protected  String parseAndFormat(int number)
           
 
Methods inherited from class uk.ydubey.formatter.numtoword.NumberFormatter
format, join
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberInWordsFormatter

protected NumberInWordsFormatter()
Method Detail

getInstance

public static NumberInWordsFormatter getInstance()

getLimit

public int getLimit()
Overrides:
getLimit in class ThreeDigitNumberInWordsFormatter

parseAndFormat

protected String parseAndFormat(int number)
Overrides:
parseAndFormat in class ThreeDigitNumberInWordsFormatter


Copyright © 2012. All Rights Reserved.