### Question:
XlsxUtils { public static XSSFWorkbook format(InputStream is, Map<String, Object> markerValues) { XSSFWorkbook document = loadDocument(is); return format(document, markerValues); } private  XlsxUtils(); static String loadText(InputStream is); static String loadText(XSSFWorkbook workbook); static List<String> findMarkers(InputStream is); static XSSFWorkbook format(InputStream is,
                                    Map<String, Object> markerValues); static XSSFWorkbook format(XSSFWorkbook workbook,
                                    Map<String, Object> markerValues); static XSSFWorkbook loadDocument(InputStream is); static void formatSheet(XSSFSheet sheet,
                                 Map<String, Object> markerValues, Pattern pattern);  }### Answer:
@Test public void testFormat() throws Exception { Map<String, Object> markerValues = new HashMap<String, Object>(); markerValues.put("title", "标题"); XSSFWorkbook workbook = XlsxUtils.format(getDocumentInputStream(), markerValues); Assert.assertNotNull(workbook); workbook.write(new FileOutputStream(new File("/t/xlsxTpl.xlsx"))); }