net.sf.jour.util
Class StringUtil

java.lang.Object
  extended by net.sf.jour.util.StringUtil

public class StringUtil
extends java.lang.Object

Created on 04.12.2004 Contributing Author(s): Misha Lifschitz (Inital implementation) Vlad Skarzhevskyy (Inital implementation)

Version:
$Revision: 46 $ ($Author: vlads $) $Date: 2007-08-28 14:30:40 -0400 (Tue, 28 Aug 2007) $
Author:
vlads

Constructor Summary
StringUtil()
           
 
Method Summary
static java.lang.String percent(double duration, double durationTotal)
           
static java.lang.String replaceAll(java.lang.String str, java.lang.String replace, java.lang.String replacement)
          jre 1.3 compatible replaceAll.
 java.lang.String[] stringToArray(java.lang.String str, java.lang.String delim)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringUtil

public StringUtil()
Method Detail

replaceAll

public static java.lang.String replaceAll(java.lang.String str,
                                          java.lang.String replace,
                                          java.lang.String replacement)
jre 1.3 compatible replaceAll.

Parameters:
str - text to search and replace in
replace - the String to search for
replacement - the String to replace with
Returns:
the text with any replacements processed

stringToArray

public java.lang.String[] stringToArray(java.lang.String str,
                                        java.lang.String delim)

percent

public static java.lang.String percent(double duration,
                                       double durationTotal)


Copyright © 2004-2008 pyx4j.com. All Rights Reserved.