net.morbz.minecraft.utils
Class StringUtils

java.lang.Object
  extended by net.morbz.minecraft.utils.StringUtils

public class StringUtils
extends java.lang.Object

A class for common string methods.

Author:
MorbZ

Constructor Summary
StringUtils()
           
 
Method Summary
static java.lang.String join(java.lang.String[] parts, java.lang.String glue)
          Joins an array of strings to a single String where the parts are seperated by the glue string.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringUtils

public StringUtils()
Method Detail

join

public static java.lang.String join(java.lang.String[] parts,
                                    java.lang.String glue)
Joins an array of strings to a single String where the parts are seperated by the glue string.

Parameters:
parts - The string parts to be joined
glue - The seperator between the parts
Returns:
The joined string