com.sigh.utils.strings
Class ThreeDigitSeparator

java.lang.Object
  extended by com.sigh.utils.SIGH_license
      extended by com.sigh.utils.strings.OutputSeparatorsForDigitStrings
          extended by com.sigh.utils.strings.ThreeDigitSeparator
Direct Known Subclasses:
Csprintf

public abstract class ThreeDigitSeparator
extends OutputSeparatorsForDigitStrings


Constructor Summary
ThreeDigitSeparator()
          author Software Industry & General Hardware Constructor for this class.
ThreeDigitSeparator(java.lang.String aFinalAnswer)
          author Software Industry & General Hardware
 
Method Summary
 java.lang.String addCommas(java.lang.String aValue)
          author Software Industry & General Hardware
 void usage()
          Gives examples of use.
 
Methods inherited from class com.sigh.utils.strings.OutputSeparatorsForDigitStrings
get3DigitSeparatorString, getFractionalSeparatorString, getNumberOfDigitsToSeparate, set3DigitSeparatorChar, set3DigitSeparatorChar, setFractionalSeparatorChar, setFractionalSeparatorChar, setLocalLocaleFor3DigitSeparator, setLocalLocaleForBothSeparators, setLocalLocaleForFractionalSeparator, setLocalLocaleForGroupingCount, setNumberOfDigitsToSeparate
 
Methods inherited from class com.sigh.utils.SIGH_license
license
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreeDigitSeparator

public ThreeDigitSeparator()
author Software Industry & General Hardware Constructor for this class. This constructor forces the initialization of the characters to the local Locale values.


ThreeDigitSeparator

public ThreeDigitSeparator(java.lang.String aFinalAnswer)
author Software Industry & General Hardware

Parameters:
aFinalAnswer - This constructor allows the programmer to supply the string on the constructor line.
Method Detail

addCommas

public java.lang.String addCommas(java.lang.String aValue)
author Software Industry & General Hardware

Parameters:
aValue - String to which to add separators at grouping count positions.
Returns:
String A formated string.

usage

public void usage()
Gives examples of use.