Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java thread: Out put in Java


Message #1 by Rao Arshad <rao@s...> on Tue, 19 Dec 2000 11:46:40 +0500
1)For converting an integer into a string 
       Construct an Integer object by user the constructor 
             int i = 4560;
             Integer I = new Integer(i);
             // Then we call the Integer's tostring method to get the
             // form of the int
             String strI = I.toString();
2) For reading out the string 
      I have not done this before but I can give you a clue
       For this we can use the java speech api that you can get from 
       http://java.sun.com/products/java-media/speech/
         The implementation packages are available from third party 
         vendors which are also shown here .
          You can use the SpeakableAdapter and SyntehsizerAdapter classes
          to generate the speech

---
You are currently subscribed to pro_java as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-pro_java-$subst('Recip.MemberIDChar')@p2p.wrox.com

  Return to Index