please any one can help me to convert the ascciiText to binary such as 49 have binary 00110001 and 48 is 00110010 and so on this is my code
import java.lang.String;
import java.util.Scanner;
import java.lang.*;
import java.io.*;
import java.util.*;
public class encrption {
public static void main(String[] args){
     // INPUT: KeyText   (StrKey).
    // OUTPUT: Ciphertext (ConcatenatedData).
   //String ConcatenatedData; 
    // Read data from user.
    Scanner in = new Scanner(System.in);
    System.out.println("Enter Your PlainText");
    String StrValue = in.nextLine();
    System.out.println("Enter Your KeyText ");
    String StrKey = in.nextLine();
  // Print the Concatenated Data.
 String ConcatenatedData = StrKey.concat(StrValue);
       System.out.println("the Concatenated Data is :"+ConcatenatedData);
  // Convering the Concatenated data to Ascii data.
 try { 
  byte[] asciiText = ConcatenatedData.getBytes("US-ASCII");
    System.out.println(Arrays.toString(asciiText)); 
}
 catch (java.io.UnsupportedEncodingException e)
     { e.printStackTrace(); }
Please any one can help me to convert the series of ascciiText to binary such as 49 have binary 00110001 and 48 is 00110010 and so on
Configuration: encrption - JDK version 1.8.0_40
Enter Your PlainText welcome Enter Your KeyText 123 the Concatenated Data is :123welcome [49, 50, 51, 119, 101, 108, 99, 111, 109, 101]
Process completed.
Integer.toBinaryString()?