org.acm.seguin.pretty
Class DescriptionPadder

java.lang.Object
  extended by org.acm.seguin.pretty.DescriptionPadder

public class DescriptionPadder
extends java.lang.Object

Description of the Class

Author:
Chris Seguin

Constructor Summary
DescriptionPadder()
           
 
Method Summary
static java.lang.String find(FileSettings bundle, java.lang.String key)
          Description of the Method
static java.lang.String find(FileSettings bundle, java.lang.String key, java.lang.String defaultValue)
          Description of the Method
static java.lang.String padBuffer(java.lang.String message, FileSettings bundle)
          Pads the buffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescriptionPadder

public DescriptionPadder()
Method Detail

find

public static java.lang.String find(FileSettings bundle,
                                    java.lang.String key,
                                    java.lang.String defaultValue)
Description of the Method

Parameters:
bundle - Description of Parameter
key - Description of Parameter
defaultValue - Value to use if the key cannot be found.
Returns:
Value for the key (or defaultValue if the key cannot be found).

find

public static java.lang.String find(FileSettings bundle,
                                    java.lang.String key)
Description of the Method

Parameters:
bundle - Description of Parameter
key - Description of Parameter
Returns:
alue for the key (or "" if the key cannot be found).

padBuffer

public static java.lang.String padBuffer(java.lang.String message,
                                         FileSettings bundle)
Pads the buffer

Parameters:
message - Description of Parameter
bundle - Description of Parameter
Returns:
Description of the Returned Value