org.omnaest.utils.strings
Class StringUtil

java.lang.Object
  extended by org.omnaest.utils.strings.StringUtil

public class StringUtil
extends Object


Constructor Summary
StringUtil()
           
 
Method Summary
static String insertString(String baseString, String insertString, int insertPosition, boolean overwrite)
           
static String repeatString(int count, String repeatString)
          Repeats the given string count times.
static String setFixedWitdth(String value, int width)
           
static String stringJoin(String[] strings, String delimiter)
           
 
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

stringJoin

public static String stringJoin(String[] strings,
                                String delimiter)

insertString

public static String insertString(String baseString,
                                  String insertString,
                                  int insertPosition,
                                  boolean overwrite)

repeatString

public static String repeatString(int count,
                                  String repeatString)
Repeats the given string count times.

Parameters:
count -
repeatString -
Returns:

setFixedWitdth

public static String setFixedWitdth(String value,
                                    int width)


Copyright © 2011. All Rights Reserved.