Class WindowsHelpers

java.lang.Object
jnr.posix.util.WindowsHelpers

public class WindowsHelpers extends Object
Author:
enebo
  • Constructor Details

    • WindowsHelpers

      public WindowsHelpers()
  • Method Details

    • toWPath

      public static byte[] toWPath(String path)
    • toWString

      public static byte[] toWString(String string)
    • createWideEnv

      public static jnr.ffi.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)
    • escapePath

      public static String escapePath(String path)
    • isDriveLetterPath

      public static boolean isDriveLetterPath(String path)