org.jruby.ext.posix.util
Class WindowsHelpers

java.lang.Object
  extended by org.jruby.ext.posix.util.WindowsHelpers

public class WindowsHelpers
extends Object

Author:
enebo

Constructor Summary
WindowsHelpers()
           
 
Method Summary
static com.kenai.jaffl.Pointer createWideEnv(String[] envp)
           
static boolean isBatch(String value)
           
static String joinArgv(String command, String[] argv, boolean escape)
           
static String[] processCommandArgs(POSIX posix, String program, String[] argv, String path)
           
static String[] processCommandLine(POSIX posix, String command, String program, String path)
           
static boolean quotable(String value)
           
static byte[] toWPath(String path)
           
static byte[] toWString(String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsHelpers

public WindowsHelpers()
Method Detail

toWPath

public static byte[] toWPath(String path)

toWString

public static byte[] toWString(String string)

createWideEnv

public static com.kenai.jaffl.Pointer createWideEnv(String[] envp)

joinArgv

public static String joinArgv(String command,
                              String[] argv,
                              boolean escape)

quotable

public static boolean quotable(String value)

isBatch

public static boolean isBatch(String value)

processCommandLine

public static String[] processCommandLine(POSIX posix,
                                          String command,
                                          String program,
                                          String path)

processCommandArgs

public static String[] processCommandArgs(POSIX posix,
                                          String program,
                                          String[] argv,
                                          String path)


Copyright © 2012. All Rights Reserved.