org.inria.myriads.snoozecommon.util
Class StringUtils

java.lang.Object
  extended by org.inria.myriads.snoozecommon.util.StringUtils

public final class StringUtils
extends Object

String utils.

Author:
Eugen Feller

Method Summary
static List<Double> convertStringToDoubleArray(String line, String separator)
          Can be used to convert a string to inger array.
static List<Integer> convertStringToIntegerArray(String line, String separator)
          Can be used to convert a string to inger array.
static List<String> convertStringToStringArray(String line, String separator)
          Can be used to convert a string to inger array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

convertStringToIntegerArray

public static List<Integer> convertStringToIntegerArray(String line,
                                                        String separator)
Can be used to convert a string to inger array.

Parameters:
line - The content to convert
separator - The separator
Returns:
The integer list

convertStringToDoubleArray

public static List<Double> convertStringToDoubleArray(String line,
                                                      String separator)
Can be used to convert a string to inger array.

Parameters:
line - The content to convert
separator - The separator
Returns:
The integer list

convertStringToStringArray

public static List<String> convertStringToStringArray(String line,
                                                      String separator)
Can be used to convert a string to inger array.

Parameters:
line - The content to convert
separator - The separator
Returns:
The integer list


Copyright © 2012. All Rights Reserved.