public interface DocumentReader
DocumentReader interface represents abstract document reader.| 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.
|
Document read(InputStream input) throws DocumentException
input - input streamDocumentException - if cannot read fileCollection<Image> getImages()
read(InputStream).void addImage(Image image)
image - imageCopyright © 2013 TFI branch of Engels Instutute of Technology. All Rights Reserved.