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