private String getAttributeNameOfEnvisionFile(File inputFile) { String fileName2 = inputFile.getName(); String[] splitName = fileName2.split("__"); if (splitName.length != 2) { return "Envision Readout"; } return ExcelUtils.removeExcelSuffix(splitName[splitName.length - 1]); }
private String getBardoceOfInvisionFile(File inputFile) { String inputFileName = inputFile.getName(); inputFileName = ExcelUtils.removeExcelSuffix(inputFileName); return inputFileName.replace(getAttributeNameOfEnvisionFile(inputFile), ""); }