adams.data.spreadsheet
Class SpreadSheetUtils

java.lang.Object
  extended by adams.data.spreadsheet.SpreadSheetUtils

public class SpreadSheetUtils
extends Object

Helper class for spreadsheet related functionality.

Version:
$Revision: 6867 $
Author:
fracpete (fracpete at waikato dot ac dot nz)

Constructor Summary
SpreadSheetUtils()
           
 
Method Summary
static String[] split(String s, char delimiter)
          Attempts to split a string, using the specified delimiter character.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpreadSheetUtils

public SpreadSheetUtils()
Method Detail

split

public static String[] split(String s,
                             char delimiter)
Attempts to split a string, using the specified delimiter character. A delimiter gets ignored if inside double quotes.

Parameters:
s - the string to split
delimiter - the delimiting character
Returns:
the parts (single array element if no range)


Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.