Package io.scanbot.sdk.image
Class ImageSource
java.lang.Object
io.scanbot.sdk.image.ImageSource
Description of source from which the ImageRef was created.
-
Constructor Summary
ConstructorsConstructorDescriptionImageSource(ImageSourceType type, String filePath) Constructs ImageSource with the given params. -
Method Summary
Modifier and TypeMethodDescriptionGetter for filePath field.getType()Getter for type field.voidsetFilePath(String filePath) Setter for filePath field.voidsetType(ImageSourceType type) Setter for type field.
-
Constructor Details
-
ImageSource
Constructs ImageSource with the given params.- Parameters:
type- Source type from which the ImageRef was created.filePath- File from which the ImageRef was created. Non-null only if the image ref was created from file.
-
-
Method Details
-
getType
Getter for type field. See constructor documentation for more information about the field.- Returns:
- type
-
setType
Setter for type field. See constructor documentation for more information about the field.- Parameters:
type- Value to set.
-
getFilePath
Getter for filePath field. See constructor documentation for more information about the field.- Returns:
- filePath
-
setFilePath
Setter for filePath field. See constructor documentation for more information about the field.- Parameters:
filePath- Value to set.
-