public static Scan convertStringToScan ( String base64 ) throws IOException { ByteArrayInputStream bis = new ByteArrayInputStream ( Base64 . decode ( base64 ) ) ; DataInputStream dis = new DataInputStream ( bis ) ; Scan scan = new Scan ( ) ; scan . readFields ( dis ) ; return scan ; }
Converts the given Base64 string back into a Scan instance .