Package com.itextpdf.io.util
Class CliCommandUtil
- java.lang.Object
-
- com.itextpdf.io.util.CliCommandUtil
-
public final class CliCommandUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description private
CliCommandUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isVersionCommandExecutable(java.lang.String command, java.lang.String versionText)
Checks if the command, passed as parameter, is executable and the output version text contains expected text
-
-
-
Method Detail
-
isVersionCommandExecutable
public static boolean isVersionCommandExecutable(java.lang.String command, java.lang.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 executeversionText
- an expected version text line- Returns:
- boolean result of checking: true - the required command is executable and the output version text is correct
-
-