Package org.apache.tika.utils
Class ProcessUtils
java.lang.Object
org.apache.tika.utils.ProcessUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringescapeCommandLine(String arg) 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)static String
-
Constructor Details
-
ProcessUtils
public ProcessUtils()
-
-
Method Details
-
escapeCommandLine
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
-