SearchImage

Inheritance: java.lang.Object

public abstract class SearchImage

Represents an image to search.

Constructors

Constructor Description
SearchImage()

Methods

Method Description
create(String filePath) Creates an image from a file to search.
create(String filePath, int imageIndex) Creates an image from a file to search.
create(InputStream stream) Creates an image from a stream to search.
create(InputStream stream, int imageIndex) Creates an image from a stream to search.

SearchImage()

public SearchImage()

create(String filePath)

public static SearchImage create(String filePath)

Creates an image from a file to search.

Parameters:

Parameter Type Description
filePath java.lang.String The image file path.

Returns: SearchImage - An image to search.

create(String filePath, int imageIndex)

public static SearchImage create(String filePath, int imageIndex)

Creates an image from a file to search.

Parameters:

Parameter Type Description
filePath java.lang.String The image file path.
imageIndex int The image index in multipage images.

Returns: SearchImage - An image to search.

create(InputStream stream)

public static SearchImage create(InputStream stream)

Creates an image from a stream to search.

Parameters:

Parameter Type Description
stream java.io.InputStream The image stream.

Returns: SearchImage - An image to search.

create(InputStream stream, int imageIndex)

public static SearchImage create(InputStream stream, int imageIndex)

Creates an image from a stream to search.

Parameters:

Parameter Type Description
stream java.io.InputStream The image stream.
imageIndex int The image index in multipage images.

Returns: SearchImage - An image to search.