Package org.jnbis.api.handler
Class WsqHandler
- java.lang.Object
-
- org.jnbis.api.handler.WsqHandler
-
public final class WsqHandler extends Object
A handler for WSQ images.
-
-
Constructor Summary
Constructors Constructor Description WsqHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitmapHandlerdecode(byte[] data)decodes the given WSQ file with given data as byte array and returns aBitmapHandlercontaining the decoded info.BitmapHandlerdecode(File file)decodes the given WSQ file and returns aBitmapHandlercontaining the decoded info.BitmapHandlerdecode(InputStream inputStream)decodes the given WSQ image with givenInputStreamand returns aBitmapHandlercontaining the decoded info.BitmapHandlerdecode(String fileName)decodes the WSQ image with given file name and returns aBitmapHandlercontaining the decoded info.
-
-
-
Method Detail
-
decode
public BitmapHandler decode(String fileName)
decodes the WSQ image with given file name and returns aBitmapHandlercontaining the decoded info.- Parameters:
fileName- the WSQ image file name, not null- Returns:
- a BitmapHandler containing the decoded info, not null
- See Also:
BitmapHandler
-
decode
public BitmapHandler decode(File file)
decodes the given WSQ file and returns aBitmapHandlercontaining the decoded info.- Parameters:
file- the WSQ image file , not null- Returns:
- a BitmapHandler containing the decoded info, not null
- See Also:
BitmapHandler
-
decode
public BitmapHandler decode(InputStream inputStream)
decodes the given WSQ image with givenInputStreamand returns aBitmapHandlercontaining the decoded info.- Parameters:
inputStream- the WSQ image input stream, not null- Returns:
- a BitmapHandler containing the decoded info, not null
- See Also:
BitmapHandler
-
decode
public BitmapHandler decode(byte[] data)
decodes the given WSQ file with given data as byte array and returns aBitmapHandlercontaining the decoded info.- Parameters:
data- the WSQ image as byte array, not null- Returns:
- a BitmapHandler containing the decoded info, not null
- See Also:
BitmapHandler
-
-