org.finetracker
Class Util

java.lang.Object
  extended by org.finetracker.Util

public class Util
extends java.lang.Object

A utility class. It contains methods that may be useful to all classes and don't fit in any other class.

Author:
Frank Kusters

Constructor Summary
Util()
           
 
Method Summary
static java.lang.String getTimeSinceStart()
          Formats and returns the time since the first usage of the Util class.
static java.lang.String stringOfChar(char ch, int count)
          Creates a string of repeating characters.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

getTimeSinceStart

public static java.lang.String getTimeSinceStart()
Formats and returns the time since the first usage of the Util class.

Returns:
the time since the first usage of the Util class

stringOfChar

public static java.lang.String stringOfChar(char ch,
                                            int count)
Creates a string of repeating characters.

Parameters:
ch - the character to repeat
count - the number of times to repeat the character
Returns:
the string of characters