public class DocxReader extends Object implements DocumentReader
DocxReader class reads MS Word 2007 format.| Constructor and Description |
|---|
DocxReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
addImage(Image image)
Adds external image to document.
|
Collection<Image> |
getImages()
Provides images from document.
|
Document |
read(InputStream input)
Reads document from input stream.
|
public Document read(InputStream input) throws DocumentException
read in interface DocumentReaderinput - input streamDocumentException - if cannot read filepublic Collection<Image> getImages()
DocumentReader.read(InputStream).getImages in interface DocumentReaderpublic void addImage(Image image)
addImage in interface DocumentReaderimage - imageCopyright © 2013 TFI branch of Engels Instutute of Technology. All Rights Reserved.