Extension SDK 10.1.2

oracle.ide.util
Class ExecUtil

java.lang.Object
  extended byoracle.ide.util.ExecUtil

public final class ExecUtil
extends java.lang.Object

Utilities used when spawning a process


Field Summary
static char argQuoteChar
          Default OS character for quoting arguments to commands
static java.lang.String argQuoteString
          Default OS character for quoting arguments to commands
static boolean quoteArgs
          Should we quote arguments at all
static boolean quoteExec
          Should we quote the name of the command to execute with Runtime.exec
 
Method Summary
static java.lang.String adjustArgument(java.lang.String arg)
           
static java.lang.String[] cleanUpCommand(java.lang.String[] command)
           
static java.lang.String[] getExecCommandArray(java.lang.String[] cmd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

quoteExec

public static final boolean quoteExec
Should we quote the name of the command to execute with Runtime.exec


quoteArgs

public static final boolean quoteArgs
Should we quote arguments at all


argQuoteChar

public static final char argQuoteChar
Default OS character for quoting arguments to commands


argQuoteString

public static final java.lang.String argQuoteString
Default OS character for quoting arguments to commands

Method Detail

getExecCommandArray

public static java.lang.String[] getExecCommandArray(java.lang.String[] cmd)

cleanUpCommand

public static java.lang.String[] cleanUpCommand(java.lang.String[] command)

adjustArgument

public static java.lang.String adjustArgument(java.lang.String arg)

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.