org.repoweb.pom
Class StringUtil

java.lang.Object
  extended byorg.repoweb.pom.StringUtil

final class StringUtil
extends java.lang.Object

Set of String utilities methods.

Version:
$Revision: 1.3 $

Method Summary
static java.lang.String flatten(java.lang.String str)
          Flatten a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

flatten

public static java.lang.String flatten(java.lang.String str)
Flatten a string. It removes duplicate whitespace and LF.

Parameters:
str - a string
Returns:
Flattened string


Copyright © 2003-2005 Repoweb. All Rights Reserved.