jmce - 1_02

jmce.util
Class StringUtil

java.lang.Object
  extended by jmce.util.StringUtil

public class StringUtil
extends java.lang.Object

String utility class.

Since:
1.02
Version:
1.00
Author:
Mario Viara

Constructor Summary
StringUtil()
           
 
Method Summary
static java.lang.String expandTab(java.lang.String s)
          Espand tab in one string using default tab size of 8.
static java.lang.String expandTab(java.lang.String s, int size)
          Expand tab in one string
 
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

expandTab

public static java.lang.String expandTab(java.lang.String s)
Espand tab in one string using default tab size of 8.

Parameters:
s - - String to be converted.
Returns:
The string with tab expanded with space.

expandTab

public static java.lang.String expandTab(java.lang.String s,
                                         int size)
Expand tab in one string

Parameters:
s - - String to be converted.
size - - Size of each tab.
Returns:
The string with tab expanded with space.

jmce - 1_02