Interface LegacyPageStorage
-
- All Implemented Interfaces:
-
io.scanbot.sdk.persistence.page.PageStorage
@Deprecated(message = "Use new Document API instead.") public interface LegacyPageStorage implements PageStorage
Interface providing easy methods to work with Page image objects
-
-
Method Summary
Modifier and Type Method Description abstract File
getPagesDirectory()
Provides directory which store all pages abstract File
getPageDir(String pageId)
Provides directory to save image files for current Page abstract File
getOriginalImage(String pageId)
Provides File of the original image. abstract File
getOriginalImagePreview(String pageId)
Provides File of the original preview image. abstract File
getDocumentImage(String pageId)
Provides File of the document image. abstract File
getUnfilteredDocumentImage(String pageId)
Provides File of the unfiltered document image. abstract File
getDocumentImagePreview(String pageId)
Provides File of the document preview image. abstract File
getUnfilteredDocumentImagePreview(String pageId)
Provides File of the unfiltered document preview image. abstract List<String>
getStoredPages()
Provides List with all pageIds abstract File
getFilteredImagePreview(String pageId, ParametricFilter parametricFilter)
Provides File containing page preview with applied ParametricFilter abstract List<File>
getFilteredImagePreviews(String pageId)
Provides full list of Files containing page preview with applied filters -
-
Method Detail
-
getPagesDirectory
abstract File getPagesDirectory()
Provides directory which store all pages
-
getPageDir
abstract File getPageDir(String pageId)
Provides directory to save image files for current Page
- Parameters:
pageId
-id of a page
-
getOriginalImage
abstract File getOriginalImage(String pageId)
Provides File of the original image.
- Parameters:
pageId
-id of a page
-
getOriginalImagePreview
abstract File getOriginalImagePreview(String pageId)
Provides File of the original preview image.
- Parameters:
pageId
-id of a page
-
getDocumentImage
abstract File getDocumentImage(String pageId)
Provides File of the document image.
- Parameters:
pageId
-id of a page
-
getUnfilteredDocumentImage
abstract File getUnfilteredDocumentImage(String pageId)
Provides File of the unfiltered document image.
- Parameters:
pageId
-id of a page
-
getDocumentImagePreview
abstract File getDocumentImagePreview(String pageId)
Provides File of the document preview image.
- Parameters:
pageId
-id of a page
-
getUnfilteredDocumentImagePreview
abstract File getUnfilteredDocumentImagePreview(String pageId)
Provides File of the unfiltered document preview image.
- Parameters:
pageId
-id of a page
-
getStoredPages
abstract List<String> getStoredPages()
Provides List with all pageIds
-
getFilteredImagePreview
abstract File getFilteredImagePreview(String pageId, ParametricFilter parametricFilter)
Provides File containing page preview with applied ParametricFilter
- Parameters:
pageId
-id of a page
parametricFilter
-filter type
-
getFilteredImagePreviews
abstract List<File> getFilteredImagePreviews(String pageId)
Provides full list of Files containing page preview with applied filters
- Parameters:
pageId
-id of a page
-
-
-
-