eu.livotov.tpt.gui.vdv.formats
Class ImageFolderDocument
java.lang.Object
eu.livotov.tpt.gui.vdv.formats.ImageFolderDocument
- All Implemented Interfaces:
- DocumentRasterProvider
public class ImageFolderDocument
- extends java.lang.Object
- implements DocumentRasterProvider
- Author:
- dlivotov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
imagesFolder
private java.io.File imagesFolder
pagesCount
private int pagesCount
hasFacingPage
private boolean hasFacingPage
documentId
private java.lang.String documentId
pages
private java.util.List<java.io.File> pages
pageProperties
private java.util.Map<java.lang.String,RasterizedPageProperties> pageProperties
ImageFolderDocument
public ImageFolderDocument(java.io.File folder)
getDocumentId
public java.lang.String getDocumentId()
- Specified by:
getDocumentId
in interface DocumentRasterProvider
getPagesCount
public int getPagesCount()
- Specified by:
getPagesCount
in interface DocumentRasterProvider
getPageData
public java.io.InputStream getPageData(int pageNumber,
float zoomLevel,
int rotationLevel)
- Specified by:
getPageData
in interface DocumentRasterProvider
loadData
private void loadData()
getPageProperties
public RasterizedPageProperties getPageProperties(int pageNumber,
float zoomLevel,
int rotationLevel)
- Specified by:
getPageProperties
in interface DocumentRasterProvider
hasFacingPage
public boolean hasFacingPage()
closeDocument
public void closeDocument()
- Specified by:
closeDocument
in interface DocumentRasterProvider