de.tuberlin.cs.cis.ocl.util
Class StringUtil

java.lang.Object
  |
  +--de.tuberlin.cs.cis.ocl.util.StringUtil

public class StringUtil
extends java.lang.Object

A Utility to process Strings.

Author:
fchabar

Constructor Summary
StringUtil()
           
 
Method Summary
static java.lang.String removeSpaces(java.lang.String s)
          Removes all spaces from the specified string.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringUtil

public StringUtil()
Method Detail

removeSpaces

public static java.lang.String removeSpaces(java.lang.String s)
Removes all spaces from the specified string. The order of the characters of the string is maintained.

Parameters:
s - a string, not equal null
Returns:
a new string containing no spaces.