org.webdocwf.util.loader.generator
Class Utils

java.lang.Object
  extended by org.webdocwf.util.loader.generator.Utils

public class Utils
extends java.lang.Object

Utility methods for csv jdbc.

Author:
Zoran Milakovic

Constructor Summary
Utils()
           
 
Method Summary
static java.lang.String handleQuotedString(java.lang.String quotedString)
           
static java.lang.String replaceAll(java.lang.String input, java.lang.String forReplace, java.lang.String replaceWith)
          Replace all occurence of forReplace with replaceWith in input string.
static java.lang.String[] replaceLineBrakesAndCarrReturn(java.lang.String[] toReplace, java.lang.String lineBreakEscape, java.lang.String carriageReturnEscape)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

replaceAll

public static java.lang.String replaceAll(java.lang.String input,
                                          java.lang.String forReplace,
                                          java.lang.String replaceWith)
Replace all occurence of forReplace with replaceWith in input string.

Parameters:
input -
forReplace -
replaceWith -
Returns:
new string with replaced values

handleQuotedString

public static java.lang.String handleQuotedString(java.lang.String quotedString)

replaceLineBrakesAndCarrReturn

public static java.lang.String[] replaceLineBrakesAndCarrReturn(java.lang.String[] toReplace,
                                                                java.lang.String lineBreakEscape,
                                                                java.lang.String carriageReturnEscape)


Copyright © 2002-2007 Together - the Workgroup. All Rights Reserved.