Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.keybindingchooser
Class StringTools

java.lang.Object
  extended by net.java.sip.communicator.plugin.keybindingchooser.StringTools

public class StringTools
extends Object

Common methods for string manipulations.

Version:
August 8, 2007
Author:
Damian Johnson (atagar1@gmail.com)

Constructor Summary
StringTools()
           
 
Method Summary
static String getReadableConstant(String input)
          Provides a more readable version of constant names.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringTools

public StringTools()
Method Detail

getReadableConstant

public static String getReadableConstant(String input)
Provides a more readable version of constant names. Spaces replace underscores and this changes the input to lowercase except the first letter of each word. For instance, "RARE_CARDS" would become "Rare Cards".

Parameters:
input - string to be converted
Returns:
reader friendly variant of constant name

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.