Class WindowsArgumentQuoter


  • public class WindowsArgumentQuoter
    extends Object
    Implementation of proper Windows quoting based on blog post: https://docs.microsoft.com/en-ca/archive/blogs/twistylittlepassagesallalike/everyone-quotes-command-line-arguments-the-wrong-way
    Restriction:
    This class is not intended to be referenced by clients.
    • Constructor Detail

      • WindowsArgumentQuoter

        public WindowsArgumentQuoter()
    • Method Detail

      • quoteArgv

        public static String quoteArgv​(String[] cmdarray,
                                       boolean force)