Package com.itextpdf.io.util
Class CliCommandUtil
java.lang.Object
com.itextpdf.io.util.CliCommandUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisVersionCommandExecutable(String command, String versionText) Checks if the command, passed as parameter, is executable and the output version text contains expected text
-
Method Details
-
isVersionCommandExecutable
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
-