Lines Matching refs:utility
45 public static boolean commandVerify(Utility utility) { in commandVerify() argument
46 if (utility == null) { in commandVerify()
51 if (utility.getInput().isEmpty()) { in commandVerify()
56 if (!(utility.getInput().endsWith(HAP) || utility.getInput().endsWith(HSP) in commandVerify()
57 || utility.getInput().endsWith(APP))) { in commandVerify()
62 if (utility.getOutPath().isEmpty()) { in commandVerify()
67 if (!utility.getStatFileSize().isEmpty()) { in commandVerify()
68 if (!PATTERN.matcher(utility.getStatFileSize()).matches()) { in commandVerify()
72 if (new BigDecimal(utility.getStatFileSize()).compareTo(BigDecimal.ZERO) < 0 in commandVerify()
73 … || new BigDecimal(utility.getStatFileSize()).compareTo(new BigDecimal(MAX_VALUE)) > 0) { in commandVerify()
79 if (!utility.getStatSuffix() && !utility.getStatDuplicate() in commandVerify()
80 && EMPTY_STRING.equals(utility.getStatFileSize())) { in commandVerify()