aspose file tools*
The moose likes Beginning Java and the fly likes how to convert Byte to the String Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to convert Byte to the String" Watch "how to convert Byte to the String" New topic
Author

how to convert Byte to the String

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1031
how to convert Byte to the String
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18108
    
  39

aruna sameera wrote:how to convert Byte to the String


The Byte class has a toString() method.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9280
    
  17

The String class also has a static valueOf method which takes a byte as parameter and converts it into a String


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to convert Byte to the String
 
Similar Threads
how to convert byte [] to String?
how to convert byte array into short??
byte array to string
How to convert binary octet string into byte array for writing into socket
Convert byte to its hex format?