Class ProcessUtils

java.lang.Object
org.apache.tika.utils.ProcessUtils

@Deprecated(since="2026-04-30") public class ProcessUtils extends Object
Deprecated.
  • Constructor Details

    • ProcessUtils

      public ProcessUtils()
      Deprecated.
  • Method Details

    • escapeCommandLine

      public static String escapeCommandLine(String arg)
      Deprecated.
      This should correctly put double-quotes around an argument if ProcessBuilder doesn't seem to work (as it doesn't on paths with spaces on Windows)
      Parameters:
      arg -
      Returns:
    • unescapeCommandLine

      public static String unescapeCommandLine(String arg)
      Deprecated.