org.webdocwf.util.loader
Class Utils
java.lang.Object
org.webdocwf.util.loader.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 |
getAbsolutePathFromDatabaseURL(java.lang.String urlPrefix,
java.lang.String loaderJobFile,
java.lang.String urlToDatabase,
boolean fileSystemDatabase)
|
static java.lang.String |
handleQuotedString(java.lang.String quotedString)
|
static void |
log(java.lang.String msg)
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
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
- represents input stringforReplace
- represents substring for replacereplaceWith
- represents replaced string value
- Returns:
- new string with replaced values
handleQuotedString
public static java.lang.String handleQuotedString(java.lang.String quotedString)
getAbsolutePathFromDatabaseURL
public static java.lang.String getAbsolutePathFromDatabaseURL(java.lang.String urlPrefix,
java.lang.String loaderJobFile,
java.lang.String urlToDatabase,
boolean fileSystemDatabase)
log
public static void log(java.lang.String msg)
Copyright © 2002-2007 Together - the Workgroup. All Rights Reserved.