Class WsqHandler


  • public final class WsqHandler
    extends Object
    A handler for WSQ images.
    • Constructor Detail

      • WsqHandler

        public WsqHandler()
    • Method Detail

      • decode

        public BitmapHandler decode​(String fileName)
        decodes the WSQ image with given file name and returns a BitmapHandler containing 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 a BitmapHandler containing 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 given InputStream and returns a BitmapHandler containing 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 a BitmapHandler containing 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