jrunx.connectorinstaller
Class CIUtil

java.lang.Object
  |
  +--jrunx.connectorinstaller.CIUtil

public final class CIUtil
extends java.lang.Object


Constructor Summary
CIUtil()
           
 
Method Summary
static void deleteDir(java.io.File f)
           
static int exec(java.lang.String command)
           
static int exec(java.lang.String command, boolean wait)
           
static void exit(int code)
          logs done message, stops logging and exits
static java.lang.String getCurrentDir()
           
static java.lang.String getJarDir()
           
static java.lang.String getJRunDir()
           
static java.lang.String getLogFilename()
           
static java.lang.String getPath(java.io.File f)
          Returns the canonical file path or the absolute path if the canonical path cannot be resolved.
static boolean isDebugEnabled()
          is debug output enabled
static void makeExecutable(java.lang.String file)
           
static void makeExecutableAndWritable(java.lang.String file)
           
static java.lang.String quotePath(java.lang.String path)
           
static java.lang.String unquotePath(java.lang.String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CIUtil

public CIUtil()
Method Detail

exit

public static void exit(int code)
logs done message, stops logging and exits
Parameters:
exit - code

getLogFilename

public static java.lang.String getLogFilename()

getCurrentDir

public static java.lang.String getCurrentDir()

getJarDir

public static java.lang.String getJarDir()

getJRunDir

public static java.lang.String getJRunDir()

deleteDir

public static void deleteDir(java.io.File f)

quotePath

public static java.lang.String quotePath(java.lang.String path)

unquotePath

public static java.lang.String unquotePath(java.lang.String path)

getPath

public static java.lang.String getPath(java.io.File f)
Returns the canonical file path or the absolute path if the canonical path cannot be resolved.

isDebugEnabled

public static boolean isDebugEnabled()
is debug output enabled

makeExecutable

public static void makeExecutable(java.lang.String file)

makeExecutableAndWritable

public static void makeExecutableAndWritable(java.lang.String file)

exec

public static int exec(java.lang.String command,
                       boolean wait)

exec

public static int exec(java.lang.String command)


Copyright � 2002 Macromedia Corporation. All Rights Reserved.