Class CliCommandUtil

java.lang.Object
com.itextpdf.io.util.CliCommandUtil

public final class CliCommandUtil extends Object
  • Method Details

    • isVersionCommandExecutable

      public static boolean isVersionCommandExecutable (String command, String versionText)
      Checks if the command, passed as parameter, is executable and the output version text contains expected text
      Parameters:
      command - a string command to execute
      versionText - an expected version text line
      Returns:
      boolean result of checking: true - the required command is executable and the output version text is correct