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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply 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

sameera liyanage
Ranch Hand

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

Joined: Sep 28, 2004
Posts: 16692
    
  19

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
Saloon Keeper

Joined: Aug 03, 2008
Posts: 9189
    
    2

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 array into short??
byte array to string
how to convert byte [] to String?
How to convert binary octet string into byte array for writing into socket
Convert byte to its hex format?