### Question:
WordUtil { public static void extractor(String filename) throws IOException { XWPFDocument docx = new XWPFDocument(new FileInputStream(filename)); XWPFWordExtractor we = new XWPFWordExtractor(docx); System.out.println(we.getText()); }  static void create(String filename); static void create(String filename, String content); static void createWithBorders(String filename, String content); static void createWithTable(String filename); static void createWithFontStyle(String filename); static void createWithAlign(String filename); static void extractor(String filename); static void setDocxProperties(String filename); static void setDocProperties(String filename);  }### Answer:
@Test public void testExtractor() { try { WordUtil.extractor("d: } catch (IOException e) { e.printStackTrace(); } }