What OS are you running on?
-----Original Message-----
From: xjtuzxh [mailto:[email protected]]
Sent: Wednesday, May 17, 2017 4:49 AM
To: [email protected]
Subject: new XWPFDocument(fis) is blocked
hi all,
This is my first topic on POI, I am from china so my English is a little
poor.
I am trying extract text from *.docx file which can be opened using the
following code, but it is blocked when executing this statement:
document = new XWPFDocument(is);
no exception or error is reported. so how to debug.
CODE:
InputStream is = new FileInputStream(file); System.out.println(is.available());
document = new XWPFDocument(is);
extractor = new XWPFWordExtractor(document); writer.write(extractor.getText());
writer.flush();
version of poi jars: 3.16
--
View this message in context:
http://apache-poi.1045710.n5.nabble.com/new-XWPFDocument-fis-is-blocked-tp5727565.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional
commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]