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