org.ow2.clif.util
Class StringHelper

java.lang.Object
  extended by org.ow2.clif.util.StringHelper

public abstract class StringHelper
extends java.lang.Object

Miscellaneous String utilities

Author:
Fabrice Rivart, Bruno Dillenseger

Constructor Summary
StringHelper()
           
 
Method Summary
static java.lang.String convertJavaIdentifier(java.lang.String string)
          Returns a valid Java identifier by removing non valid character.
static java.lang.String getCurrentDate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringHelper

public StringHelper()
Method Detail

convertJavaIdentifier

public static java.lang.String convertJavaIdentifier(java.lang.String string)
Returns a valid Java identifier by removing non valid character.

Parameters:
string - string to convert into a valid Java identifier
Returns:
a valid Java identifier

getCurrentDate

public static java.lang.String getCurrentDate()
Returns:
a string representing current date in a format that makes chronological order and alphabetic order be the same