Package io.scanbot.sdk.image
Class ImageSource
- java.lang.Object
-
- io.scanbot.sdk.image.ImageSource
-
public class ImageSource extends java.lang.ObjectDescription of source from which the ImageRef was created.
-
-
Constructor Summary
Constructors Constructor Description ImageSource(ImageSourceType type, java.lang.String filePath)Constructs ImageSource with the given params.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFilePath()Getter for filePath field.ImageSourceTypegetType()Getter for type field.voidsetFilePath(java.lang.String filePath)Setter for filePath field.voidsetType(ImageSourceType type)Setter for type field.
-
-
-
Constructor Detail
-
ImageSource
public ImageSource(ImageSourceType type, java.lang.String filePath)
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 Detail
-
getType
public ImageSourceType getType()
Getter for type field. See constructor documentation for more information about the field.- Returns:
- type
-
setType
public void setType(ImageSourceType type)
Setter for type field. See constructor documentation for more information about the field.- Parameters:
type- Value to set.
-
getFilePath
public java.lang.String getFilePath()
Getter for filePath field. See constructor documentation for more information about the field.- Returns:
- filePath
-
setFilePath
public void setFilePath(java.lang.String filePath)
Setter for filePath field. See constructor documentation for more information about the field.- Parameters:
filePath- Value to set.
-
-