@Test public void testLoadText() throws Exception { String content = DocxUtils.loadText(this.getDocumentInputStream()); Assert.assertNotNull(content); Assert.assertTrue(content.length() > 0); }
public static String loadText(InputStream is) { if (is == null) return null; return loadText(loadDocument(is)); }
DocxUtils { public static String loadText(InputStream is) { if (is == null) return null; return loadText(loadDocument(is)); } }
DocxUtils { public static String loadText(InputStream is) { if (is == null) return null; return loadText(loadDocument(is)); } private  DocxUtils(); }
DocxUtils { public static String loadText(InputStream is) { if (is == null) return null; return loadText(loadDocument(is)); } private  DocxUtils(); static String loadText(InputStream is); static String loadText(XWPFDocument document); static List<String> findMarkers(InputStream is); static XWPFDocument format(InputStream is,
                                    Map<String, Object> markerValues); static XWPFDocument format(XWPFDocument document,
                                    Map<String, Object> markerValues); static XWPFDocument loadDocument(InputStream is); static void formatParagraph(XWPFParagraph paragraph,
                                     Map<String, Object> markerValues, Pattern p); }
DocxUtils { public static String loadText(InputStream is) { if (is == null) return null; return loadText(loadDocument(is)); } private  DocxUtils(); static String loadText(InputStream is); static String loadText(XWPFDocument document); static List<String> findMarkers(InputStream is); static XWPFDocument format(InputStream is,
                                    Map<String, Object> markerValues); static XWPFDocument format(XWPFDocument document,
                                    Map<String, Object> markerValues); static XWPFDocument loadDocument(InputStream is); static void formatParagraph(XWPFParagraph paragraph,
                                     Map<String, Object> markerValues, Pattern p);  }