Class CommandLineUtil


  • public final class CommandLineUtil
    extends Object
    This class contains code coming from org.apache.maven.shared.utils.cli.CommandLineUtils.

    We don't want to directly use code coming from Maven as this artifact should be Maven-agnostic.

    Author:
    Trygve Laugstøl
    • Method Detail

      • translateCommandline

        public static String[] translateCommandline​(String toProcess)
        Parameters:
        toProcess - The command line to translate.
        Returns:
        The array of translated parts.
        Throws:
        IllegalStateException - in case of unbalanced quotes.