@Test public void testFindMarkers() throws Exception { String content = XlsUtils.loadText(this.getDocumentInputStream()); Assert.assertNotNull(content); Assert.assertTrue(content.length() > 0); List<String> markers = XlsUtils.findMarkers(this .getDocumentInputStream()); Assert.assertNotNull(markers); Assert.assertTrue(markers.size() > 0); Collections.sort(markers); Assert.assertEquals( "[cellValue, columnName, columnNames, exportTime, rowData, rowDatas, title]", markers.toString()); }
public static List<String> findMarkers(InputStream is) { if (is == null) return null; return TemplateUtils.findMarkers(loadText(is)); }
XlsUtils { public static List<String> findMarkers(InputStream is) { if (is == null) return null; return TemplateUtils.findMarkers(loadText(is)); } }
XlsUtils { public static List<String> findMarkers(InputStream is) { if (is == null) return null; return TemplateUtils.findMarkers(loadText(is)); } private  XlsUtils(); }
XlsUtils { public static List<String> findMarkers(InputStream is) { if (is == null) return null; return TemplateUtils.findMarkers(loadText(is)); } private  XlsUtils(); static String loadText(InputStream is); static String loadText(HSSFWorkbook workbook); static List<String> findMarkers(InputStream is); static HSSFWorkbook format(InputStream is,
                                    Map<String, Object> markerValues); static HSSFWorkbook format(HSSFWorkbook workbook,
                                    Map<String, Object> markerValues); static HSSFWorkbook loadDocument(InputStream is); }
XlsUtils { public static List<String> findMarkers(InputStream is) { if (is == null) return null; return TemplateUtils.findMarkers(loadText(is)); } private  XlsUtils(); static String loadText(InputStream is); static String loadText(HSSFWorkbook workbook); static List<String> findMarkers(InputStream is); static HSSFWorkbook format(InputStream is,
                                    Map<String, Object> markerValues); static HSSFWorkbook format(HSSFWorkbook workbook,
                                    Map<String, Object> markerValues); static HSSFWorkbook loadDocument(InputStream is);  }